-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Issue with plugin_interface.py imports #92
Conversation
FIX: pypi install
Make ssdp.py work in both Python 2 and 3 Switch a urllib call in wifi.py to use requests
…s, fix a few typos
ADD: More cyton and daisy support, function to change channel setting…
ADD: accel_data to the OpenBCISample class definition
FIX: Wifi in Python 3
FIX: user.py
Wifi fixes
Fix travis
Codecov Report
@@ Coverage Diff @@
## 1.0.0 #92 +/- ##
========================================
Coverage ? 37.46%
========================================
Files ? 9
Lines ? 1588
Branches ? 0
========================================
Hits ? 595
Misses ? 993
Partials ? 0
Continue to review full report at Codecov.
|
@tushar-c what's new with this commit? |
Improve Cyton testing
Clean up BluePy import
Primarily shorter line lengths and convert all print statements to print functions. Also enforce print functions by importing from __future__.
Fix plugin directory
Preparing for version 1.0.2 release
Sorry for the very late response, the problem was of improper imports causing issues, and was faced by at least one other user, as described here: #91 ; my attempt was to fix this temporarily at least. |
Fix cross platform issues
Fix style
I think I figure our what the cause is. The This bug only occurs if we run the python programs that do not stay together with openbci folder and plugin_interface.py. For example, test_wifi.py or test_cyton.py are in the folder called tests. In those cases, when we To solve this problem, the installation part has be fix. So |
And so I did make a 'temporary' fix to that you could install from here: https://github.com/tushar-c/openbci-fixed . |
I believe you are having this issue because you need to run:
Then you will be able to run:
From this post:
Closing this pull request, since it is old and the code seems to have been merged. If you are still having trouble, please open a new issue! |
the issue that was supposed to be fixed by this PR, namely #91 , is still present in the 1.0.2 release. Im not really sure why either because it would be easily fixed by moving the file named |
plugin_interface.py
: when imported in other files as 'import plugin_interface as plugintypes', this causes missing modules errors. The commit would have the aforementioned file manually put in theplugins
directory and the imports changed to :from . import plugin_interface as plugintypes