-
Notifications
You must be signed in to change notification settings - Fork 83
Problems with Python 2.7 #7
Comments
Ok I found out that if you click on
Says the chrome developer tools. So I changed:
To
And I deployed again. (with deploy.sh script). |
Thanks @awesomebytes for giving it a try. Good to hear you've made it work with Python 2.X and thanks for noting the hardcoded URL. To encourage more to use ROSimple we probably should change it. I'd be happy to accept a PR with this small change. |
Then I got:
So I went to: And commented all references to crab_msgs.msg... Then I executed build.py, re-deployed... Re-ran |
Here you have a PR of just the un-hardcoding: #8 |
I tried on a ubuntu 12.04 (32bits) ROS hydro environment.
Where you do pip3 install I just do pip install.
I needed to install:
I also compiled the workspace just doing catkin_make.
I needed to get rid of the unicode strings that did like
u'SOME STRING'
and change the default interpreter to:Instead of python3
I had something installed using apache previously (robot web tools RMS (Robot Management System)), so I needed to remove the access to it, and give access to rosimple.
First I created
/var/www/html
folder (which didn't exist so thedeploy.sh
didn't work).then I went to
/etc/apache2/sites-enabled
and created
rosimple.conf
containing:And in
/etc/apache2/sites-enabled
I made a softlink to that fileThen I restarted apache2:
From this point, after running:
rosrun rosimple rosimple_backend.py
I could access with my browser to
localhost
url. Which redirected me tohttp://localhost/pages/blockly.html
And I could see the website, hooray!
I tried to add a block and spy the topics it's supposed to publish (mainly /joy, and I also saw the /rosimple) but... I have no idea how to execute it!
The text was updated successfully, but these errors were encountered: