Serial Woes

22 views
Skip to first unread message

Shane Morris

unread,
Jul 30, 2014, 2:38:29 AM7/30/14
to botq...@googlegroups.com
Hello all,

Sorry if this is an old and battered topic, but my serial on Bumblebee doesn't work. To my credit, I've Googled this list, and not found any reference using the search strings "serial" or "self."

My error:

Traceback (most recent call last):
  File "bumblebee.py", line 321, in <module>
    bee.main()
  File "bumblebee.py", line 156, in main
    curses.wrapper(self.mainMenu)
  File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "bumblebee.py", line 185, in mainMenu
    self.getBots()
  File "bumblebee.py", line 86, in getBots
    self.scanDevices()
  File "bumblebee.py", line 62, in scanDevices
    data['bots'] = hive.scanBots()
  File "/home/pi/BotQueue/bumblebee/hive.py", line 243, in scanBots
    found = getattr(drivers, name).scanPorts()
  File "/home/pi/BotQueue/bumblebee/drivers/printcoredriver.py", line 12, in scanPorts
    self.log = logging.getLogger('botqueue')
NameError: global name 'self' is not defined

Using both the https://github.com/Jnesselr/BotQueue repo, as well as the Hoeken repo.

My system is a RaspberryPi, Model B, MkII (512MB), latest Raspbian, interfacing to an Arduino Mega 2560/ RAMPS combination, flashed correctly with the Marlin firmware. In fact, I downloaded and setup pretty much everything except the Marlin firmware today, using fresh downloads.

I have seen this mentioned, and closed as an issue, on the Jnesselr repo. What was the fix?

Many thanks!

Shane.

graphmastur

unread,
Jul 30, 2014, 2:42:33 AM7/30/14
to botq...@googlegroups.com

I should remove my repo actually. Please use Hoektronics/bumblebee as the client, and that should alleviate some issues. I'm currently upgrading the printrun core it uses so that should work well.

Sorry you're having issues!

Justin Nesselrotte

--
You received this message because you are subscribed to the Google Groups "BotQueue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botqueue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shane Morris

unread,
Jul 30, 2014, 2:44:33 AM7/30/14
to botq...@googlegroups.com
As noted, the Hoektronics repo gave the exact same issue.


--
You received this message because you are subscribed to a topic in the Google Groups "BotQueue" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/botqueue/E1yBC4dfrr4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to botqueue+u...@googlegroups.com.

graphmastur

unread,
Jul 30, 2014, 2:48:24 AM7/30/14
to botq...@googlegroups.com

Hoektronics/BotQueue has the issue. Hoektronics/bumblebee does not.

Shane Morris

unread,
Jul 30, 2014, 2:49:23 AM7/30/14
to botq...@googlegroups.com
Ok, git clone github.../bumblebee rather than github.../BotQueue?

graphmastur

unread,
Jul 30, 2014, 2:50:58 AM7/30/14
to botq...@googlegroups.com

Yep yep, I split the server and client apart.

Shane Morris

unread,
Jul 30, 2014, 2:54:15 AM7/30/14
to botq...@googlegroups.com
Ah, yup...  lets see if I can get it to install - doing ./dev-environment.sh now, its downloading quite a bit of stuff...

graphmastur

unread,
Jul 30, 2014, 2:57:37 AM7/30/14
to botq...@googlegroups.com

Yeah, that's not necessary. It's really to compile slic3r so it probably shouldn't be run. I use it as a reference. Look at bot.jnesselr.org/help for mostly current instructions.

Shane Morris

unread,
Jul 30, 2014, 2:58:17 AM7/30/14
to botq...@googlegroups.com
The reason I run it is because python setup.py bombed out with errors.

graphmastur

unread,
Jul 30, 2014, 3:01:15 AM7/30/14
to botq...@googlegroups.com

Yeah, it's not currently meant to be installed that way. I'm fixing it, but I'm currently a student which makes things difficult. Also, the project is essentially changing hands, so I'm improving a lot of the old code that was there, while trying to make it a lot simpler to use. If you'd like to use google chat or hangouts, I could go over it with you personally.

Shane Morris

unread,
Jul 30, 2014, 3:02:27 AM7/30/14
to botq...@googlegroups.com
Yeah, ok, I wouldn't mind speaking to you about it on Chat - I see what I've done wrong "cd bumblebee/bumblebee" and there is bumblebee.py. Oops.

Shane Morris

unread,
Jul 30, 2014, 3:05:52 AM7/30/14
to botq...@googlegroups.com
Now its complaining about a camera - thats understandable, I have no camera connected. Time to eBay some webcams, I guess...

graphmastur

unread,
Jul 30, 2014, 3:11:45 AM7/30/14
to botq...@googlegroups.com

Hmm. That is weird. Oh, wait, I might know what that is. I need to finish up 0.5 and release it because this is obviously crazy.

I just pushed an update to the bumblebee repo making that distinction clearer. Please submit a bug report about the camera with the info.log file, and check out install.sh in the raspi directory.

Shane Morris

unread,
Jul 30, 2014, 3:12:34 AM7/30/14
to botq...@googlegroups.com
Ok. No problems. I'll paste the log in.

Shane Morris

unread,
Jul 30, 2014, 3:15:28 AM7/30/14
to botq...@googlegroups.com
And done. Should be there.
Reply all
Reply to author
Forward
0 new messages