Comments (16)
I'm assuming you're on Linux? I came across this when I was testing on Linux the other day. I'll have a look now.
from voltron.
In the mean time, you will probably need to follow the install steps for Ubuntu (now linked from the wiki)
from voltron.
Yes I'm using Debian. Tried the install steps for Ubuntu and get a whole different set of errors! Suppose I'll just follow this thread to see if there is an update later. Thanks :)
from voltron.
Could you do the following for me:
In your shell:
$ python -c "import sys;print sys.version"
In GDB:
gdb$ python import sys;print sys.version
And paste the results?
On 4 Feb 2015, at 3:11 am, draozoth [email protected] wrote:
Yes I'm using Debian. Tried the install steps for Ubuntu and get a whole different set of errors! Suppose I'll just follow this thread to see if there is an update later. Thanks :)
—
Reply to this email directly or view it on GitHub.
from voltron.
Sure can, thanks.
$ python -c "import sys;print sys.version":
2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2]
gdb$ python import sys;print sys.version
2.7.3 (default, Mar 13 2014, 11:26:58)
[GCC 4.7.2]
I have both python 3 and 2.7 installed, however 2.7 is the default. I also tried with the "python3" command as opposed to just the "python" command. Hope that helps.
from voltron.
Ok, so GDB is linked against Python 2. Interesting that the timestamps differ, but that could just be the library version vs the executable itself.
You can ignore the Ubuntu instructions then, since that’s not the problem.
On 4 Feb 2015, at 12:50 pm, draozoth [email protected] wrote:
Sure can, thanks.
$ python -c "import sys;print sys.version":
2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2]gdb$ python import sys;print sys.version
2.7.3 (default, Mar 13 2014, 11:26:58)
[GCC 4.7.2]I have both python 3 and 2.7 installed, however 2.7 is the default. I also tried with the "python3" command as opposed to just the "python" command. Hope that helps.
—
Reply to this email directly or view it on GitHub.
from voltron.
It's acting like there is no package called yaml to install... I think if I could get that figured out everything would be good. When I load up gdb it says Voltron Loaded. It just gives an error now when trying to link up to voltron with my panes.
et0x@mnstr:~$ voltron view register -v
Traceback (most recent call last):
File "/usr/local/bin/voltron", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in
working_set.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: yaml
from voltron.
Try:
$ apt-get install python-yaml
Or:
$ pip install pyyaml
I installed pyyaml on Ubuntu using APT, but there seems to be an issue with setuptools where it still doesn’t recognise the package once it’s installed, so the voltron
command errors.
On 4 Feb 2015, at 1:12 pm, draozoth [email protected] wrote:
It's acting like there is no package called yaml to install... I think if I could get that figured out everything would be good. When I load up gdb it says Voltron Loaded. It just gives an error now when trying to link up to voltron with my panes.
et0x@mnstr:~$ voltron view register -v
Traceback (most recent call last):
File "/usr/local/bin/voltron", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in
working_set.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: yaml—
Reply to this email directly or view it on GitHub.
from voltron.
I had tried both of those before this ... both packages are installed and still get the errors! At a loss :)
from voltron.
OK I think I found it. Stupid mistake. Please download the latest scruffy and install it manually first. That's what actually has the yaml requirement. If that works, remove "scruffy" as a dependency from the Voltron setup.py and try installing it again. I'll push a fix to the repo if that works.
from voltron.
Actually you don't need to remove the scruffy dependency from the setup.py. Just install the latest scruffy first. That should fix it.
from voltron.
Great that fixed the problem -- however, I have a different one now.Sorry for this, I greatly appreciate the time you've put towards getting these resolved. Here is the error I received.
(gdb) b * 0x08048420
Breakpoint 1 at 0x8048420
(gdb) run
Starting program: /home/et0x/Downloads/test
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/voltron-0.1-py2.7.egg/voltron/core.py", line 202, in run
rfds, _, _ = select.select([serv, self.exit_pipe] + self.clients, [], [])
error: (4, 'Interrupted system call')
I seem to get this with every binary I load.
from voltron.
Ah this one is something someone else has run into as well. No fix yet, but I haven’t been able to reproduce it yet. What version of debian are you running? I’ll spin up a VM and see if I can reproduce it.
And no worries, I really want Voltron to work properly on Linux but I’ve been really slack testing it.
On 4 Feb 2015, at 9:51 pm, draozoth [email protected] wrote:
Great that fixed the problem -- however, I have a different one now.Sorry for this, I greatly appreciate the time you've put towards getting these resolved. Here is the error I received.
(gdb) b * 0x08048420
Breakpoint 1 at 0x8048420
(gdb) run
Starting program: /home/et0x/Downloads/test
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/voltron-0.1-py2.7.egg/voltron/core.py", line 202, in run
rfds, _, _ = select.select([serv, self.exit_pipe] + self.clients, [], [])
error: (4, 'Interrupted system call')I seem to get this with every binary I load.
—
Reply to this email directly or view it on GitHub #70 (comment).
from voltron.
See the discussion in #65 for a debug version to run
from voltron.
Kali 1.0.9, thanks for the quick resonses !
from voltron.
Hey, if you're still having this problem can you try the latest commit? I've added a bunch of fixes for Python 3 and Linux stuff, just curious to see if this is still happening on Kali. I don't have it handy and I'm on cellular at the moment so I can't download an ISO.
from voltron.
Related Issues (20)
- Allow Command view output to be keyboard scrollable
- 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
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.