-
Notifications
You must be signed in to change notification settings - Fork 416
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
It's not working on Ubuntu 14.04 #53
Comments
I'll spin up a VM and give it a try. |
What version of GDB? |
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7 |
Seems that 14.04 comes with Python 2.7 and Python 3.4, GDB is linked with 3.4 but I got voltron installed into the 3.4 site-packages by:
There was a small Python 3 incompatibility in GDB should then load New version with a full core rewrite and new API coming very soon :) |
I'm hitting this on exit as well:
I'll look into it later but I won't spend too much time on it since the rewrite is almost ready. |
Thanks, ya no rush on my end. I think this is a great project and am excited to try the rewrite. When I installed it and tried to import it to test it I got this error: user@ubuntu:~$ python3
Python 3.4.0 (default, Apr 11 2014, 13:05:11)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import voltron
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/voltron-0.1-py3.4.egg/voltron/__init__.py", line 4, in <module>
from .cmd import *
File "/usr/local/lib/python3.4/dist-packages/voltron-0.1-py3.4.egg/voltron/cmd.py", line 7, in <module>
from .comms import *
File "/usr/local/lib/python3.4/dist-packages/voltron-0.1-py3.4.egg/voltron/comms.py", line 16, in <module>
from .env import *
File "/usr/local/lib/python3.4/dist-packages/voltron-0.1-py3.4.egg/voltron/env.py", line 34, in <module>
'basename': 'voltron'
File "/usr/local/lib/python3.4/dist-packages/scruffy-0.1-py3.4.egg/scruffy/env.py", line 34, in __init__
File "/usr/local/lib/python3.4/dist-packages/scruffy-0.1-py3.4.egg/scruffy/env.py", line 52, in init_files
TypeError: unsupported operand type(s) for +: 'filter' and 'filter' |
Ahh seems I didn't push it to github. If you grab scruffy from here: https://github.com/snarez/scruffy and install it the same way, that should fix that problem. |
Glad you like it :) |
Ubuntu 14.04 (or some abomination thereof, this box went through quite some quirky dist-upgrades :-/) File "/usr/local/lib/python3.4/dist-packages/scruffy-0.1-py3.4.egg/scruffy/env.py", line 7, in from plugin import PluginManager ImportError: No module named 'plugin' $ ls -la /usr/local/lib/python3.4/dist-packages/scruffy-0.1-py3.4.egg/scruffy/plugin.py -rw-r--r-- 1 root staff 2190 Sep 26 19:39 /usr/local/lib/python3.4/dist-packages/scruffy-0.1-py3.4.egg/scruffy/plugin.py PYTHON IMPORT PATHS, HOW DO THEY WORK ??? |
(╯°□°)╯︵ ┻━┻ |
Maybe drop into Or try changing that to a relative import?
|
Hah, that totally helped/worked. (the relative import thing) Voltron works now. Not sure who's to blame here. |
Also hitting the "Python Exception <class 'TypeError'> 'str' does not support the buffer interface:" thing on exit here. How's that rewrite coming along, snare? ;) |
Haha rewrite is actually almost done. I got the GDB support working on a plane today. Will push it out tonight and merge it into master soon. On 28 Sep 2014, at 10:58 pm, blasty notifications@github.com wrote:
|
Yeah GDB seems to do weird shit with module paths, I’ve had that problem before and using a relative import “fixed” it so I left it alone. I’ll add that in scruffy because it might as well be relative. On 28 Sep 2014, at 10:39 pm, blasty notifications@github.com wrote:
|
user@ubuntu:~$ which voltron /usr/local/bin/voltron
The text was updated successfully, but these errors were encountered: