Giter Site home page Giter Site logo

Comments (16)

snare avatar snare commented on May 7, 2024

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.

snare avatar snare commented on May 7, 2024

In the mean time, you will probably need to follow the install steps for Ubuntu (now linked from the wiki)

from voltron.

 avatar commented on May 7, 2024

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.

snare avatar snare commented on May 7, 2024

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.

 avatar commented on May 7, 2024

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.

snare avatar snare commented on May 7, 2024

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.

 avatar commented on May 7, 2024

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.

snare avatar snare commented on May 7, 2024

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.

 avatar commented on May 7, 2024

I had tried both of those before this ... both packages are installed and still get the errors! At a loss :)

from voltron.

snare avatar snare commented on May 7, 2024

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.

snare avatar snare commented on May 7, 2024

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.

 avatar commented on May 7, 2024

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.

snare avatar snare commented on May 7, 2024

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.

snare avatar snare commented on May 7, 2024

See the discussion in #65 for a debug version to run

from voltron.

 avatar commented on May 7, 2024

Kali 1.0.9, thanks for the quick resonses !

from voltron.

snare avatar snare commented on May 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.