-
Notifications
You must be signed in to change notification settings - Fork 41
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
Bumblebee crashes on Raspberry Pi / OctoPrint #143
Comments
I'm not sure how Bumblebee runs on octopi, nor am I sure what the effects of installing bumblebee with root is. I'm presuming based on the path you installed bumblebee with root, correct? It's actually advised not to do it that way, but instead install it with a virtualenv. The commands for that are (Putting the virtual env in your current directory, I'm trying to make it so that installing with root automatically does this): $ sudo pip install virtualenv
$ virtualenv .env
$ source .env/bin/activate
$ pip install bqclient As far as I can tell, your issue stems from the fact that Printrun can't actually download because it was installed as root. |
You're right, I did have to install it as root. I had permission errors otherwise. I uninstalled and re-installed in the virtual environment. I was able to register the Pi again, and I got a screen about scanning, then it exited again. When I re-run Bumblebee it flashes that gray screen then back to the command line.
is the new log file. Thanks for your help! |
Can you run pip freeze? I might have to ask you to edit a file to see the actual error. I made a decision a while back that's come to bite me every time something like this happens. |
Is this what you need?
|
I just realized you probably wanted me to run pip freeze inside the virtual environment
|
I've put some logging lines into the code to try to figure out where it is crashing. It seems like it is crashing in the scanDevices function at the I tried the json.dumps command in a python console and didn't get any errors. Could it have something to do with how the ports are formatted when retrieved from hive.scanBots()?
|
I know what the issue is. Install pyserial 2.7 instead of 3.0.1. They "pip install pyserial==2.7" should work inside the virtual environment. On Mon, Feb 8, 2016 at 1:33 PM, Michael Whitley [email protected]
|
That got it to load! I'm able to add a bot via the web interface and it shows the correct port in the dropdown (/dev/ttyACM0). I created a job and uploaded it and assigned it. I can see it is being assigned in the bumblebee interface but it just runs to 100% without controlling the printer at all. I'm uploading GCODE. Any ideas? |
Can you show the last ~100 or so lines of your info.log file? If you don't know where that is, use the command "bumblebee log" inside the virtual environment, and it will print out the path. |
Sure - here you go
|
I tried installing Bumblebee on a raspberry pi that was set up for OctoPrint.
It installed and ran it, going so far as to register with the website, but then it exits to the command line.
I see the computer registered to my account.
I've run the program several times, here is the log file
The text was updated successfully, but these errors were encountered: