GithubHelp home page GithubHelp logo

olin / maraudersmap-client Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 4.0 1.37 MB

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/

C# 57.38% Shell 0.06% JavaScript 2.84% Python 39.72%

maraudersmap-client's People

Contributors

cypressf avatar jceipek avatar jkirschner avatar paulbooth avatar tcr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maraudersmap-client's Issues

PySide Issues

There are some very bothersome things about the Qt GUI that I haven't been able to fix:

  1. Tooltips on every menu item
  2. Menus don't refresh while the menu is open
  3. When the system tray menu closes, it doesn't fire a detectable event.

JSON decoding error on Windows

Upon attempting to launch the client on Windows, I receive the following output:

User not found on server. Posting.
Making User
300000.0Getting location

Traceback (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

The Ubuntu Version has no SysTray Icon

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?

"Refresh My Location" gives error

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

Advanced Preferences Slider is Broken

  • mapclient.update_freq_slider_changed is broken
  • mapclient.update_freq_changed doesn't convert the slider value into a usable value
  • The value Settings.REFRESH_FREQ is never used to modify refresh frequency
  • Labels aren't aligned with slider dividers

wxPython?

I 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.

Windows MAC Addresses Missing Element

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.