Comments (11)
Issue fixed on my side : Humanoid 3.0.0 now working, don't know about @Zellerich's orignal issue.
from poppy-humanoid.
Which image are you using? Is your robot a full humanoid or just a torso?
from poppy-humanoid.
The robot is full humanoid and I'm using the 3.0.0 release image.
from poppy-humanoid.
Could you connect through SSH and then get the logs?
To do so, if you run Linux/OSX, open a system terminal and type ssh [email protected]
with password poppy
, or use PuTTY for Windows.
Then run sudo journalctl -u puppet-master
Then, identify where the portion of logs related about the HTTP Error 500 Internal Server Error
and copy/paste it here.
from poppy-humanoid.
I have the same issue , here's the logs :
sudo journalctl -u puppet-master
-- Logs begin at Sat 2020-10-24 05:31:42 BST, end at Wed 2020-12-23 11:09:48 GMT. --
Dec 23 10:56:54 poppy systemd[1]: Started Puppet Master service.
Dec 23 10:57:13 poppy python[597]: * Serving Flask app "bouteillederouge" (lazy loading)
Dec 23 10:57:13 poppy python[597]: * Environment: production
Dec 23 10:57:13 poppy python[597]: WARNING: This is a development server. Do not use it in a production deployment.
Dec 23 10:57:13 poppy python[597]: Use a production WSGI server instead.
Dec 23 10:57:13 poppy python[597]: * Debug mode: off
Dec 23 10:57:13 poppy python[597]: * Running on http://0.0.0.0:2280/ (Press CTRL+C to quit)
Dec 23 11:09:38 poppy python[597]: [2020-12-23 11:09:38,929] ERROR in app: Exception on / [GET]
Dec 23 11:09:38 poppy python[597]: Traceback (most recent call last):
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
Dec 23 11:09:38 poppy python[597]: response = self.full_dispatch_request()
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Dec 23 11:09:38 poppy python[597]: rv = self.handle_user_exception(e)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Dec 23 11:09:38 poppy python[597]: reraise(exc_type, exc_value, tb)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
-- Logs begin at Sat 2020-10-24 05:31:42 BST, end at Wed 2020-12-23 11:09:48 GMT. --
Dec 23 10:56:54 poppy systemd[1]: Started Puppet Master service.
Dec 23 10:57:13 poppy python[597]: * Serving Flask app "bouteillederouge" (lazy loading)
Dec 23 10:57:13 poppy python[597]: * Environment: production
Dec 23 10:57:13 poppy python[597]: WARNING: This is a development server. Do not use it in a production deployment.
Dec 23 10:57:13 poppy python[597]: Use a production WSGI server instead.
Dec 23 10:57:13 poppy python[597]: * Debug mode: off
Dec 23 10:57:13 poppy python[597]: * Running on http://0.0.0.0:2280/ (Press CTRL+C to quit)
Dec 23 11:09:38 poppy python[597]: [2020-12-23 11:09:38,929] ERROR in app: Exception on / [GET]
Dec 23 11:09:38 poppy python[597]: Traceback (most recent call last):
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
Dec 23 11:09:38 poppy python[597]: response = self.full_dispatch_request()
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Dec 23 11:09:38 poppy python[597]: rv = self.handle_user_exception(e)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Dec 23 11:09:38 poppy python[597]: reraise(exc_type, exc_value, tb)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
-- Logs begin at Sat 2020-10-24 05:31:42 BST, end at Wed 2020-12-23 11:09:48 GMT. --
Dec 23 10:56:54 poppy systemd[1]: Started Puppet Master service.
Dec 23 10:57:13 poppy python[597]: * Serving Flask app "bouteillederouge" (lazy loading)
Dec 23 10:57:13 poppy python[597]: * Environment: production
Dec 23 10:57:13 poppy python[597]: WARNING: This is a development server. Do not use it in a production deployment.
Dec 23 10:57:13 poppy python[597]: Use a production WSGI server instead.
Dec 23 10:57:13 poppy python[597]: * Debug mode: off
Dec 23 10:57:13 poppy python[597]: * Running on http://0.0.0.0:2280/ (Press CTRL+C to quit)
Dec 23 11:09:38 poppy python[597]: [2020-12-23 11:09:38,929] ERROR in app: Exception on / [GET]
Dec 23 11:09:38 poppy python[597]: Traceback (most recent call last):
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
Dec 23 11:09:38 poppy python[597]: response = self.full_dispatch_request()
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Dec 23 11:09:38 poppy python[597]: rv = self.handle_user_exception(e)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Dec 23 11:09:38 poppy python[597]: reraise(exc_type, exc_value, tb)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Dec 23 11:09:38 poppy python[597]: raise value
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
Dec 23 11:09:38 poppy python[597]: rv = self.dispatch_request()
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
Dec 23 11:09:38 poppy python[597]: return self.view_functionsrule.endpoint
Dec 23 11:09:38 poppy python[597]: File "bouteillederouge.py", line 111, in index
Dec 23 11:09:38 poppy python[597]: return render_template(pm.config.info.langage+'/opening.html', motors=pm._get_robot_motor_list())
lines 2-24/40 58%
Dec 23 10:56:54 poppy systemd[1]: Started Puppet Master service.
Dec 23 10:57:13 poppy python[597]: * Serving Flask app "bouteillederouge" (lazy loading)
Dec 23 10:57:13 poppy python[597]: * Environment: production
Dec 23 10:57:13 poppy python[597]: WARNING: This is a development server. Do not use it in a production deployment.
Dec 23 10:57:13 poppy python[597]: Use a production WSGI server instead.
Dec 23 10:57:13 poppy python[597]: * Debug mode: off
Dec 23 10:57:13 poppy python[597]: * Running on http://0.0.0.0:2280/ (Press CTRL+C to quit)
Dec 23 11:09:38 poppy python[597]: [2020-12-23 11:09:38,929] ERROR in app: Exception on / [GET]
Dec 23 11:09:38 poppy python[597]: Traceback (most recent call last):
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
Dec 23 11:09:38 poppy python[597]: response = self.full_dispatch_request()
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Dec 23 11:09:38 poppy python[597]: rv = self.handle_user_exception(e)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Dec 23 11:09:38 poppy python[597]: reraise(exc_type, exc_value, tb)
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Dec 23 11:09:38 poppy python[597]: raise value
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
Dec 23 11:09:38 poppy python[597]: rv = self.dispatch_request()
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
Dec 23 11:09:38 poppy python[597]: return self.view_functionsrule.endpoint
Dec 23 11:09:38 poppy python[597]: File "bouteillederouge.py", line 111, in index
Dec 23 11:09:38 poppy python[597]: return render_template(pm.config.info.langage+'/opening.html', motors=pm._get_robot_motor_list())
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/dev/puppet-master/puppet_master.py", line 109, in _get_robot_motor_list
Dec 23 11:09:38 poppy python[597]: return sorted(RobotCls.default_config['motors'].keys())
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/pypot/creatures/abstractcreature.py", line 21, in get
Dec 23 11:09:38 poppy python[597]: return self.fget.get(None, owner)()
Dec 23 11:09:38 poppy python[597]: File "/home/poppy/pyenv/lib/python3.7/site-packages/pypot/creatures/abstractcreature.py", line 201, in default_config
Dec 23 11:09:38 poppy python[597]: return json.load(f)
Dec 23 11:09:38 poppy python[597]: File "/usr/lib/python3.7/json/init.py", line 296, in load
Dec 23 11:09:38 poppy python[597]: parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
Dec 23 11:09:38 poppy python[597]: File "/usr/lib/python3.7/json/init.py", line 348, in loads
Dec 23 11:09:38 poppy python[597]: return _default_decoder.decode(s)
Dec 23 11:09:38 poppy python[597]: File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
Dec 23 11:09:38 poppy python[597]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Dec 23 11:09:38 poppy python[597]: File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
Dec 23 11:09:38 poppy python[597]: raise JSONDecodeError("Expecting value", s, err.value) from None
Dec 23 11:09:38 poppy python[597]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Dec 23 11:09:38 poppy python[597]: 192.168.1.46 - - [23/Dec/2020 11:09:38] "GET / HTTP/1.1" 500 -
I'm also using humanoid and the latest 3.0 rasp image
from poppy-humanoid.
Generic exceptions happened and then the configuration file describing your robot have been corrupted. I suspect your SD card to be faulty. I would:
- Change the SD card for a brand new one
- Check that the downloaded img file has the same MD5 checksum as specified in the download link
- Use a safe card copy problem, such as Etcher
from poppy-humanoid.
Sadly I've already tried all of this. I have tested 4 different sd cards including a brand new one and 2 different raspberry pi. The checksum is matching and i've been using Etcher without issues each time
from poppy-humanoid.
Can you try the Poppy Torso image?
If you manage to start the UI unlike your attempts so far, you may then re-arrange cables this way so that only the upper body of the torso is connected to the USB2AX, if you want to startup motors.
from poppy-humanoid.
The torso image works perfectly with the same rPi 3 and sd card.
from poppy-humanoid.
OK I found a glitch in the Humanoid image, which probably happened in the github publishing pipeline.
I have fixed the 3.0.0 release. Let me know if this image works for you. Don't forget to check the md5 sums.
from poppy-humanoid.
Sorry for answering late. Everything works again on my side 👍
Thanks for your help!
from poppy-humanoid.
Related Issues (19)
- Increase tolerances for the leg/motor assemblies HOT 1
- angle limit for ankle
- Update motor_naming_convention HOT 4
- STL files not scaled for 3d printing HOT 4
- Organisation of the documentation HOT 1
- Create a 2D drawings with the main dimensions
- Release download is veeerryyy slow HOT 3
- Odroid XU4 USB 2.0 port not working with old Linux kernel (3.10.69) HOT 1
- Error while connecting the Poppy Humanoid robot to the PC HOT 1
- Find suitable replacement for actuators HOT 5
- Difference between the URDF and VREP models HOT 1
- Add global robot view with motor IDs placement HOT 2
- How to design custom primitives HOT 2
- Poppy Robot HOT 2
- Poppy
- Is Poppy still alive? HOT 1
- Update STL procedure to include head parts
- doc about timer.lua script in vrep
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 poppy-humanoid.