unhandled exception when starting from dmenu_run

Create issue
Issue #5 invalid
Former user created an issue

When starting pkgbrowser with dmenu_run I get the following unhandled exception:

Traceback (most recent call last): File "/usr/lib/pkgbrowser/main.py", line 9, in <module> sys.exit(app.run()) File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 114, in run app.window().setup() File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 249, in setup backend.initialize() File "/usr/lib/pkgbrowser/pkgbrowser/backend.py", line 557, in initialize self._call([['_load']]) File "/usr/lib/pkgbrowser/pkgbrowser/backend.py", line 593, in _call self._pool = Pool() File "/usr/lib/python3.3/multiprocessing/init.py", line 222, in Pool return Pool(processes, initializer, initargs, maxtasksperchild) File "/usr/lib/python3.3/multiprocessing/pool.py", line 137, in init self._repopulate_pool() File "/usr/lib/python3.3/multiprocessing/pool.py", line 200, in _repopulate_pool w.start() File "/usr/lib/python3.3/multiprocessing/process.py", line 111, in start self._popen = Popen(self) File "/usr/lib/python3.3/multiprocessing/forking.py", line 90, in init syrrs.stdout.flush() OSError: [Errno 9] Bad file descriptor

Versions: dmenu 4.5-3 from arch community pkgbrowser 0.17.1-1 from aur

starting pkgbrowser from terminal works though.

Comments (3)

  1. Krypt0n

    *sigh, sorry about that, didn't think about formatting the traceback and now I can't edit it.

    Traceback (most recent call last):
      File "/usr/lib/pkgbrowser/main.py", line 9, in <module>
        sys.exit(app.run())
      File "/usr/lib/pkgbrowser/pkgbrowser/app.py", line 114, in run
        app.window().setup()
      File "/usr/lib/pkgbrowser/pkgbrowser/window.py", line 249, in setup
        backend.initialize()
      File "/usr/lib/pkgbrowser/pkgbrowser/backend.py", line 557, in initialize
        self._call([['_load']])
      File "/usr/lib/pkgbrowser/pkgbrowser/backend.py", line 593, in _call
        self._pool = Pool()
      File "/usr/lib/python3.3/multiprocessing/__init__.py", line 222, in Pool
        return Pool(processes, initializer, initargs, maxtasksperchild)
      File "/usr/lib/python3.3/multiprocessing/pool.py", line 137, in __init__
        self._repopulate_pool()
      File "/usr/lib/python3.3/multiprocessing/pool.py", line 200, in _repopulate_pool
        w.start()
      File "/usr/lib/python3.3/multiprocessing/process.py", line 111, in start
        self._popen = Popen(self)
      File "/usr/lib/python3.3/multiprocessing/forking.py", line 90, in __init__
        sys.stdout.flush()
    OSError: [Errno 9] Bad file descriptor
    
  2. kachelaqa repo owner

    As it stands, I don't consdier this to be a pkgbrowser bug.

    I can run pkgbrowser from an openbox menu, which is about the only testing I would consider doing for this sort of thing. As a consequence, I currently have zero motivation for spending my time trying to debug this.

    If you can provide convincing evidence that this issue is caused by a problem specific to pkgbrowser, then I may take a look at it. But in the meantime, I am treating this as a dmenu bug/limitation.

  3. Log in to comment