procexp does not run on Fedora 17

Help
2012-08-29
2012-11-24
  • genodeftest

    genodeftest - 2012-08-29

    Hi
    Thanks for making process explorer for linux!

    I tried to install it on Fedora 17 and it refuses to run. The reason is that the "procexp.sh" file tries to run procexp from /usr/lib/procexp, but it is installed to /opt/process_explorer-1.0-189/procexp/ which is out of specification. Furthermore the rpm package provides some files which should not be installed (process_explorer.spec, make_rpm.py and all those hidden files .project, .pydevproject, .svn

    http://fedoraproject.org/wiki/Packaging:Guidelines does provide how to package for Fedora, but this may differ from e.g. Suse (also rpm-based).

    The file structure of yumex, a python-based frontend for yum on fedora:

    /etc/yumex.conf
    /etc/yumex.profiles.conf
    /usr/bin/yumex
    /usr/lib/python2.7/site-packages/guihelpers/__init__.py
    /usr/lib/python2.7/site-packages/guihelpers/__init__.pyc
    /usr/lib/python2.7/site-packages/guihelpers/__init__.pyo
    /usr/lib/python2.7/site-packages/yumexbackend/__init__.py
    /usr/lib/python2.7/site-packages/yumexbackend/__init__.pyc
    /usr/lib/python2.7/site-packages/yumexbackend/__init__.pyo
    /usr/lib/python2.7/site-packages/yumexbackend/yumMediaManager.py
    /usr/lib/python2.7/site-packages/yumexbackend/yumMediaManager.pyc
    /usr/lib/python2.7/site-packages/yumexbackend/yumMediaManager.pyo
    /usr/lib/python2.7/site-packages/yumexbackend/yumMediaManagerUDisks.py
    /usr/lib/python2.7/site-packages/yumexbackend/yumMediaManagerUDisks.pyc
    /usr/lib/python2.7/site-packages/yumexbackend/yumMediaManagerUDisks.pyo
    /usr/lib/python2.7/site-packages/yumexbackend/yum_backend.py
    /usr/lib/python2.7/site-packages/yumexbackend/yum_backend.pyc
    /usr/lib/python2.7/site-packages/yumexbackend/yum_backend.pyo
    /usr/lib/python2.7/site-packages/yumexbackend/yum_client.py
    /usr/lib/python2.7/site-packages/yumexbackend/yum_client.pyc
    /usr/lib/python2.7/site-packages/yumexbackend/yum_client.pyo
    /usr/lib/python2.7/site-packages/yumexbackend/yum_server.py
    /usr/lib/python2.7/site-packages/yumexbackend/yum_server.pyc
    /usr/lib/python2.7/site-packages/yumexbackend/yum_server.pyo
    /usr/lib/python2.7/site-packages/yumexbase/__init__.py
    /usr/lib/python2.7/site-packages/yumexbase/__init__.pyc
    /usr/lib/python2.7/site-packages/yumexbase/__init__.pyo
    /usr/lib/python2.7/site-packages/yumexbase/conf.py
    /usr/lib/python2.7/site-packages/yumexbase/conf.pyc
    /usr/lib/python2.7/site-packages/yumexbase/conf.pyo
    /usr/lib/python2.7/site-packages/yumexbase/constants.py
    /usr/lib/python2.7/site-packages/yumexbase/constants.pyc
    /usr/lib/python2.7/site-packages/yumexbase/constants.pyo
    /usr/lib/python2.7/site-packages/yumexbase/network.py
    /usr/lib/python2.7/site-packages/yumexbase/network.pyc
    /usr/lib/python2.7/site-packages/yumexbase/network.pyo
    /usr/lib/python2.7/site-packages/yumexgui/__init__.py
    /usr/lib/python2.7/site-packages/yumexgui/__init__.pyc
    /usr/lib/python2.7/site-packages/yumexgui/__init__.pyo
    /usr/lib/python2.7/site-packages/yumexgui/dialogs.py
    /usr/lib/python2.7/site-packages/yumexgui/dialogs.pyc
    /usr/lib/python2.7/site-packages/yumexgui/dialogs.pyo
    /usr/lib/python2.7/site-packages/yumexgui/gui.py
    /usr/lib/python2.7/site-packages/yumexgui/gui.pyc
    /usr/lib/python2.7/site-packages/yumexgui/gui.pyo
    /usr/lib/python2.7/site-packages/yumexgui/views.py
    /usr/lib/python2.7/site-packages/yumexgui/views.pyc
    /usr/lib/python2.7/site-packages/yumexgui/views.pyo
    /usr/share/applications/fedora-yumex.desktop
    /usr/share/doc/yumex-3.0.6/COPYING
    /usr/share/doc/yumex-3.0.6/ChangeLog
    /usr/share/doc/yumex-3.0.6/TODO
    /usr/share/locale/ar/LC_MESSAGES/yumex.mo
    /usr/share/locale/bn_IN/LC_MESSAGES/yumex.mo
    /usr/share/locale/cs/LC_MESSAGES/yumex.mo
    /usr/share/locale/da/LC_MESSAGES/yumex.mo
    /usr/share/locale/de/LC_MESSAGES/yumex.mo
    /usr/share/locale/es/LC_MESSAGES/yumex.mo
    /usr/share/locale/es_ES/LC_MESSAGES/yumex.mo
    /usr/share/locale/fa/LC_MESSAGES/yumex.mo
    /usr/share/locale/fr/LC_MESSAGES/yumex.mo
    /usr/share/locale/gu/LC_MESSAGES/yumex.mo
    /usr/share/locale/hu/LC_MESSAGES/yumex.mo
    /usr/share/locale/id/LC_MESSAGES/yumex.mo
    /usr/share/locale/it/LC_MESSAGES/yumex.mo
    /usr/share/locale/ja/LC_MESSAGES/yumex.mo
    /usr/share/locale/nl/LC_MESSAGES/yumex.mo
    /usr/share/locale/pl/LC_MESSAGES/yumex.mo
    /usr/share/locale/pt/LC_MESSAGES/yumex.mo
    /usr/share/locale/ru/LC_MESSAGES/yumex.mo
    /usr/share/locale/sr/LC_MESSAGES/yumex.mo
    /usr/share/locale/sr@latin/LC_MESSAGES/yumex.mo
    /usr/share/locale/tr_TR/LC_MESSAGES/yumex.mo
    /usr/share/locale/uk/LC_MESSAGES/yumex.mo
    /usr/share/locale/zh_CN/LC_MESSAGES/yumex.mo
    /usr/share/locale/zh_TW/LC_MESSAGES/yumex.mo
    /usr/share/pixmaps/yumex/button-history.png
    /usr/share/pixmaps/yumex/button-output.png
    /usr/share/pixmaps/yumex/button-packages.png
    /usr/share/pixmaps/yumex/button-queue.png
    /usr/share/pixmaps/yumex/button-repo.png
    /usr/share/pixmaps/yumex/logo.png
    /usr/share/pixmaps/yumex/spinner-small.gif
    /usr/share/pixmaps/yumex/spinner.gif
    /usr/share/pixmaps/yumex/yumex-about.png
    /usr/share/pixmaps/yumex/yumex-icon.png
    /usr/share/polkit-1/actions/org.yum-extender.backend.policy
    /usr/share/yumex/backend-launcher.py
    /usr/share/yumex/backend-launcher.pyc
    /usr/share/yumex/backend-launcher.pyo
    /usr/share/yumex/yum_childtask.py
    /usr/share/yumex/yum_childtask.pyc
    /usr/share/yumex/yum_childtask.pyo
    /usr/share/yumex/yumex.glade
    
     
  • genodeftest

    genodeftest - 2012-08-29

    Furthermore procexp doesn't display any useful information when installed from rpm on fedora. Command line output:

    procexp
    network card speed detection results
    ------------------------------------
      ethernet device lo has unknown speed
      network graph scaling for lo is set to autoscale
      ethernet device em1 has speed 1000 Mb/s according to ethtool
    unhandled exception:
    Traceback (most recent call last):
      File "/usr/bin/procexp", line 354, in updateUI
        reader.doReadProcessInfo()
      File "/opt/process_explorer-1.0-189/procexp/procreader/reader.py", line 553, in doReadProcessInfo
        self.__getProcessCpuDetails__()
      File "/opt/process_explorer-1.0-189/procexp/procreader/reader.py", line 374, in __getProcessCpuDetails__
        self.__processList__[process]["PPID"] = int(procStatSplitted[3])
    ValueError: invalid literal for int() with base 10: 'S'
    

    The "unhandled exception" is printed to terminal all the time, about once per second. procexp does not show any processes in list, no graphs and even system and network information popups do not display any data. Running with sudo privileges is no option since it is strongly discouraged to do that with graphical applications.

     
  • Carl Wolff

    Carl Wolff - 2012-09-29

    Hello,

    thanks for testing and your tips. When i have some time will fix it.

    best regards,
    Carl.

     
  • genodeftest

    genodeftest - 2012-11-23

    procexp works fine now having PyQWT, ethtool and python-configobj (plus their dependencies) installed.
    The "unhandled exception" output does not occur any more.

     
    Last edit: genodeftest 2012-11-23
  • Carl Wolff

    Carl Wolff - 2012-11-23

    Hello genodeftest,

    Did you install the dependicy packages by hand ?
    Best regards,
    Carl.

     
  • genodeftest

    genodeftest - 2012-11-24

    Yes since there is no RPM for Version 1.1.
    I'm running procexp from source now, works fine too

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks