Code Monkey home page Code Monkey logo

pyrasite-gui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyrasite-gui's Issues

[request] please update for python 3

I find this gui will help a lot.
but I really really can't install it successfully because of meliae, which is stopped for long time and have problems with python3.

also it needs to be compiled but I don't have vc installed now.

is there any way to workaround it? or is there any chance that you could update pyrasite-gui?

thanks!

pyrasite-memory-viewer error

Environment: Mac virtualenv python2.6

pyrasite-memory-viewer 78158
Traceback (most recent call last):
File "/Users/eric/softpack/virtualenv/python2/bin/pyrasite-memory-viewer", line 11, in
load_entry_point('pyrasite==2.0', 'console_scripts', 'pyrasite-memory-viewer')()
File "/Users/eric/softpack/virtualenv/python2/lib/python2.7/site-packages/pyrasite/tools/memory_viewer.py", line 150, in main
objects = loader.load(filename)
File "/Users/eric/softpack/virtualenv/python2/lib/python2.7/site-packages/meliae/loader.py", line 529, in load
source, cleanup = files.open_file(source)
File "/Users/eric/softpack/virtualenv/python2/lib/python2.7/site-packages/meliae/files.py", line 32, in open_file
source = open(filename, 'rb')
IOError: [Errno 2] No such file or directory: '/tmp/pyrasite-78158-objects.json'

Thanks for help

Psutil correct version dependency

Correct dependency is install_requires=["psutil<2"]. Otherwise pyrasite-gui breaks. It seems psutil version 2 isn't compatible with version 1 around p.cmdline, p.create_time, p.uids, p.gids, etc. With 1.x it's fine.

Corner-case bugs while trying to dump objects with meliae

I hit these tracebacks while bouncing between a couple of processes over and over.

Traceback (most recent call last):
  File "pyrasite/tools/gui.py", line 573, in selection_cb
    self.dump_objects(proc)
  File "pyrasite/tools/gui.py", line 632, in dump_objects
    map(intify, line.split()[1:]))
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 935, in append
    self.set_row(treeiter, row)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 791, in set_row
    raise ValueError('row sequence has the incorrect number of elements')
ValueError: row sequence has the incorrect number of elements

Traceback (most recent call last):
  File "pyrasite/tools/gui.py", line 301, in obj_selection_cb
    addy = model.get_value(treeiter, 0)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 977, in get_value
    return self._decode_value(treeiter, column, value)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 803, in _decode_value
    value = value.decode('UTF-8')
AttributeError: 'NoneType' object has no attribute 'decode'

TypeError when clicking on a process

Ubuntu 14.04, Python 2.7.

When selected a process in the list of processes:

Traceback (most recent call last):
  File "/home/tin/pg/pyrasite-gui/local/lib/python2.7/site-packages/pyrasite_gui/gui.py", line 599, in selection_cb
    self.generate_description(title)
  File "/home/tin/pg/pyrasite-gui/local/lib/python2.7/site-packages/pyrasite_gui/gui.py", line 469, in generate_description
    """ % (self.proc.title, p.status, p.getcwd(), ' '.join(p.cmdline),
TypeError

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.