Comments (6)
Hmm, I've just tested this on the gentoo box and it works just as it is supposed to. The raspbian device is not available, as it went into the PiGI test. Did you install the packages (bottle/gevent) via apt-get or via pip? Do you know which versions of gevent/bottle are installed? Also, could you test if it works with chromium, so that we can exclude any client induced issues.
from picoreflow.
I installed via pip, I checked and none is installed via apt in parallel.
pip gives this version info for the installed packages:
root@egpi:~# pip freeze
Warning: cannot find svn location for distribute==0.6.24dev-r0
RPi.GPIO==0.5.7
argparse==1.2.1
bottle==0.12.7
# FIXME: could not find svn URL in dependency_links for this package:
distribute==0.6.24dev-r0
ez-setup==0.9
gevent==1.0.1
gevent-socketio==0.3.6
gevent-websocket==0.9.3
greenlet==0.4.5
kr-gevent-websocket==0.4
numpy==1.6.2
pifacecommon==4.0.0
pifacedigitalio==3.0.4
pygame==1.9.1release
pygobject==3.8.2
pywsgi==0.9.0
websocket==0.2.1
wsgiref==0.1.2
from picoreflow.
I've tested on gentoo and on raspbian on the pi, both times I could not reproduce the error. Both times simulation mode only. I don't believe that it will behave differently but I'll have to rig the other pi with the new image to be sure that the results are the same while interfacing real hardware .
This is the pip freeze from raspbian with some older deps (working):
root@raspberrypi:/opt/picoReflow# pip freeze
RPi.GPIO==0.5.3a
argparse==1.2.1
bottle==0.11.6
distribute==0.6.24dev-r0
ez-setup==0.9
gevent==0.13.8
gevent-websocket==0.3.6
greenlet==0.4.1
leveldb==0.191
numpy==1.6.2
pifacecommon==3.1.2
pifacedigitalio==2.1.0
pygame==1.9.1release
wsgiref==0.1.2
After upgrading all required deps to present pip delivery (still working).
RPi.GPIO==0.5.3a
argparse==1.2.1
bottle==0.12.7
distribute==0.6.24dev-r0
ez-setup==0.9
gevent==1.0.1
gevent-websocket==0.3.6
greenlet==0.4.5
leveldb==0.191
numpy==1.6.2
pifacecommon==3.1.2
pifacedigitalio==2.1.0
pygame==1.9.1release
wsgiref==0.1.2
Now, being no python expert and not being able to reproduce locally, I would go with a hunch:
In your pip freeze I find kr-gevent-websocket. This reads awfully close to gevent-websocket (required) and I don't know or have this one on any of my test or production systems. If you can, could you try to temporarily remove it (depending on why you have it there in the first place) and see if it works then? That would at least move us forward to isolating the issue.
from picoreflow.
I've also updated the README to make the installation process a bit more clear (for your reference as well)
from picoreflow.
Thank you for the kr-gevent-websocket tip. I removed it, than gevent-websocket was not found anymore. Than I also removed gevent-websocket and reinstalled it! Now it seems to work.
The only missing things are some hardware parts, which are on there way from china (-:
from picoreflow.
Sweet :)
from picoreflow.
Related Issues (19)
- Profile Marker Bug after leaving edit mode without saving HOT 1
- Simulation mode stops after 5sec in run HOT 2
- Empty Profile list HOT 1
- long run stability issues HOT 3
- Can't Find The Origin For Units HOT 11
- picoreflowd doesn't handle MAX31855 read errors gracefully HOT 1
- error raised by MAX31855.py after a few seconds of temperature increase HOT 2
- All profiles run for 10 sec then flag Run over HOT 3
- Autostart onBoot is not working! HOT 5
- not reading Temp
- Using Max6675 instead of Max31855 HOT 2
- Calibrate the controller temperature measurements.
- Fresh Install Failed - failed with error code 1 in None HOT 13
- Is this for the raspberry pi pico, or the mini computers? HOT 1
- Changing the Time scale HOT 12
- websocket doesn't work/connect. HOT 14
- Graph not performing as expected HOT 2
- Wrong Measurement with Max31855 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picoreflow.