olin / maraudersmap-client Goto Github PK
View Code? Open in Web Editor NEWMarauder's map helps students see where other students are on Olin's campus. This is the Client.
Home Page: http://ohack.github.com/maraudersmap-client/
Marauder's map helps students see where other students are on Olin's campus. This is the Client.
Home Page: http://ohack.github.com/maraudersmap-client/
There are some very bothersome things about the Qt GUI that I haven't been able to fix:
testing tagging for client @JNazare
Upon attempting to launch the client on Windows, I receive the following output:
User not found on server. Posting.
Making User
300000.0Getting locationTraceback (most recent call last):
File "mapclient.py", line 222, in run
signals = signal_strength.get_avg_signals_dict()
File "C:\Users\cgoddard\Downloads\MaraudersMap\maraudersmap-client\marauders-m
ap\signal_strength.py", line 74, in get_avg_signals_dict
d = get_avg_signal_nodes_dict(samples=samples, tsleep=tsleep).itervalues()
File "C:\Users\cgoddard\Downloads\MaraudersMap\maraudersmap-client\marauders-m
ap\signal_strength.py", line 111, in get_avg_signal_nodes_dict
res = get_signal_node_dict()
File "C:\Users\cgoddard\Downloads\MaraudersMap\maraudersmap-client\marauders-m
ap\signal_strength.py", line 138, in get_signal_node_dict
return get_signal_nodes_win()
File "C:\Users\cgoddard\Downloads\MaraudersMap\maraudersmap-client\marauders-m
ap\signal_strength.py", line 165, in __get_signal_nodes_win
data = json.loads(res)
File "C:\Python27\lib\json__init.py", line 326, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
https://groups.google.com/group/pyside/browse_thread/thread/70a4df79086ad9a2?pli=1
Unfortunately, following the whitelisting step suggested in the link does not seem to make the app appear either.
We could theoretically use a different GUI toolkit on Linux than other OSes, but I'm not sure if that's a good idea.
Maybe if we abstract out all of the logic?
Alternatively, given the limited functionality the application actually needs, we might want to just write native, non-python apps?
I'm planning to use http://docs.python.org/library/configparser.html and http://pypi.python.org/pypi/appdirs/1.2.0 for this.
When clicking "Refresh My Location" (Windows, 64-bit python 2.7) I get:
Closed Menu
Thread Finished
300000.0
Getting location
<dictionary-valueiterator object at 0x000000000406A778>
Traceback (most recent call last):
File "mapclient.py", line 239, in run
nearest_binds = client_api.get_binds(nearest=signals, limit=1)
File "C:\Users\cfogel\Documents\ohack-maraudersmap-client-cc96c96\src\client_api.py", line 227, in get_binds
return [Bind(**bind_dict) for bind_dict in json.loads(r.text)['binds']]
File "C:\Python27\lib\json__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
http://code.google.com/p/iphone-wireless/
https://github.com/valexa/VAFieldTest
mapclient.update_freq_slider_changed
is brokenmapclient.update_freq_changed
doesn't convert the slider value into a usable valueSettings.REFRESH_FREQ
is never used to modify refresh frequencyI just found out that the Dropbox GUI is written in wxPython, which implies that it is a lot better supported on the operating systems we want to support than I first thought. I'm going to investigate how it compares to Pyside in terms of how easy it is to do the things I couldn't get to work the way I wanted in PySide. If it is easier, we might want to switch.
When checked out, Get Wireless Strengths.exe has the execute permission disabled.
Once this is fixed, it should be moved into development, because the data structures will be much more useful than the existing ones.
When I'm trying to correct the location, it has me enter a name then click where on the map I am. After I click on the map it loads http://map.fwol.in/ui/undefined/ui/index.html , which doesn't exist.
Not sure if this is an issue or intentional, but when I click into the search bar it shows everyone until I start typing.
Windows MAC addresses are missing an element.
Example: 00:20:D8:2D:65 instead of 00:20:D8:2D:65:02
This means that Windows nearest bind search will never be able to use data generated on Mac OS X or Linux.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.