crash on start (revision 105)

Bug #180048 reported by ronny on 2008-01-03
2
Affects Status Importance Assigned to Milestone
Evad
Medium
Jonathan Jogenfors

Bug Description

[ronny@frost evad]$ evad

Evad v0.0.2-trunk
In thread MainThread:
Evad encountered a fatal exception:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Evad/handler.py", line 39, in wrapper
    return func(*args, **kwds)
  File "/usr/lib/python2.5/site-packages/Evad/evad.py", line 44, in run
    config.manager.createScreens()
  File "/usr/lib/python2.5/site-packages/Evad/manager.py", line 69, in createScreens
    self._create_Panel(screen, panelData[screen])
  File "/usr/lib/python2.5/site-packages/Evad/manager.py", line 120, in _create_Panel
    newScreen = getScreen(id)(newPanel)
  File "/usr/lib/python2.5/site-packages/Evad/screen_status.py", line 34, in __init__
    self.controller=mpdconnector.init()
  File "/usr/lib/python2.5/site-packages/Evad/mpdconnector.py", line 57, in init
    obj=mpdclient2.connect()
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 337, in connect
    conn = mpd_connection(host, port)
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 300, in __init__
    self._hello()
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 303, in _hello
    line = self.talker.get_line()
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 34, in get_line
    raise EOFError
EOFError

(Exceptions beyond this point are harmless and not directly related to evad)

I use
[ronny@frost evad]$ python
Python 2.5.1 (r251:54863, Oct 9 2007, 10:45:22)

Jonathan Jogenfors (etnoy) wrote :

Are you able to connect to MPD with another client (e.g. ncmpc) ?

ronny (ronny63) wrote :
Download full text (3.4 KiB)

yes.. ncmpc is ok.. if i start ncmpc and evad at the same time (first ncmpc and second is evad) i obtain this error message:

[ronny@frost ~]$ evad

Evad v0.0.2-trunk
In thread MainThread:
Evad encountered a fatal exception:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Evad/handler.py", line 39, in wrapper
    return func(*args, **kwds)
  File "/usr/lib/python2.5/site-packages/Evad/evad.py", line 37, in run
    config.omni=omni.omni()
  File "/usr/lib/python2.5/site-packages/Evad/omni.py", line 156, in __init__
    self.__class__.playlist=self.__class__.playlist()
  File "/usr/lib/python2.5/site-packages/Evad/omni.py", line 84, in __init__
    self.controller=mpdconnector.init()
  File "/usr/lib/python2.5/site-packages/Evad/mpdconnector.py", line 57, in init
    obj=mpdclient2.connect()
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 337, in connect
    conn = mpd_connection(host, port)
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 300, in __init__
    self._hello()
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 303, in _hello
    line = self.talker.get_line()
  File "/usr/lib/python2.5/site-packages/Evad/mpdclient2.py", line 34, in get_line
    raise EOFError
EOFError

(Exceptions beyond this point are harmless and not directly related to evad)
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
  File "/usr/lib/python2.5/threading.py", line 625, in run
  File "/usr/lib/python2.5/threading.py", line 349, in set
  File "/usr/lib/python2.5/threading.py", line 265, in notifyAll
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
  File "/usr/lib/python2.5/threading.py", line 625, in run
  File "/usr/lib/python2.5/threading.py", line 349, in set
  File "/usr/lib/python2.5/threading.py", line 265, in notifyAll
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
  File "/usr/lib/python2.5/threading.py", line 625, in run
  File "/usr/lib/python2.5/threading.py", line 349, in set
  File "/usr/lib/python2.5/threading.py", line 265, in notifyAll
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
Exception in thread connection keeper of MainThread (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
  File "/usr/lib/python2.5/site-packages/Evad/threader.py", line 49, in run
  ...

Read more...

Jonathan Jogenfors (etnoy) wrote :

Try increasing max_connections in mpd.conf. For the moment Evad uses several (5-10) parallel server connections. This will be fixed in the future.
Please tell me if this works.

Changed in evad:
assignee: nobody → etnoy
Jonathan Jogenfors (etnoy) wrote :

Possible fix commited in r106

Changed in evad:
importance: Undecided → Medium
status: New → Fix Committed
ronny (ronny63) wrote :

yes.. i increase max_connections from 5 to 20 and evad now working :) [rev 105]

ronny (ronny63) wrote :

but.. if i quitting from evad.. i see lot of \n ..

"(Exceptions beyond this point are harmless and not directly related to evad)

..."

Jonathan Jogenfors (etnoy) wrote :

I can't reproduce that behavior. If it persists, file a new bug about it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers