Comments (15)
I'll spin up a VM and give it a try.
from voltron.
What version of GDB?
from voltron.
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Thanks!
from voltron.
Seems that 14.04 comes with Python 2.7 and Python 3.4, GDB is linked with 3.4 but /usr/bin/python
is 2.7 (and going to stay that way).
I got voltron installed into the 3.4 site-packages by:
$ sudo apt-get install lib64readline6-dev python3-dev python3-setuptools
$ cd voltron
$ sudo python3 setup.py install
There was a small Python 3 incompatibility in scruffy
so you'll need to grab the new version from my github and install it (though that should happen when you install voltron
into python3's site-packages.)
GDB should then load voltron
.
New version with a full core rewrite and new API coming very soon :)
from voltron.
I'm hitting this on exit as well:
Python Exception <class 'TypeError'> 'str' does not support the buffer interface:
I'll look into it later but I won't spend too much time on it since the rewrite is almost ready.
from voltron.
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'
from voltron.
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.
from voltron.
Glad you like it :)
from voltron.
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 ???
from voltron.
(╯°□°)╯︵ ┻━┻
from voltron.
Maybe drop into python-interactive
and poke around in sys.path etc? I have no idea :\
Or try changing that to a relative import?
from .plugin import PluginManager
from voltron.
Hah, that totally helped/worked. (the relative import thing) Voltron works now. Not sure who's to blame here.
from voltron.
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? ;)
from voltron.
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 [email protected] wrote:
Also hitting the "Python Exception 'str' does not support the buffer interface:" thing on exit here. How's that rewrite coming along, snare? ;)
—
Reply to this email directly or view it on GitHub.
from voltron.
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 [email protected] wrote:
Hah, that totally helped/worked. (the relative import thing) Voltron works now. Not sure who's to blame here.
—
Reply to this email directly or view it on GitHub.
from voltron.
Related Issues (20)
- cannot start voltron because of import error in werkzeug HOT 2
- Multiple debugging session with voltron HOT 1
- Sorry the "An error occurred" was caused by proxy setting
- ImportError on "DispatcherMiddleware" with werkzeug 1.0.1 HOT 1
- LLDB Can't Load Python's Module HOT 2
- Install fails on debian bullseye HOT 3
- mac python2.7报错;饿 HOT 2
- How to install on Fedora? HOT 1
- RFI: Voltron and LLDB, source pane - how to suppress source display in the lldb console HOT 1
- gdb hangs when using Voltron
- voltron plugin git repository
- how to view the source code?
- Theming for Voltron
- Mac M1: ImportError: dlopen... symbol not found in flat namespace '_PyInt_FromSsize_t HOT 3
- ImportError – name clash when debugging MacOS Kernel with LLDB HOT 11
- How to uninstall voltron HOT 1
- Architecture 'arm64e' not supported
- Issue with fresh installation
- FPU registers for ARM, ARM64
- Why call os.system('clear') ?
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 voltron.