Page 1 of 1

Mediamonkey: self.workerThread is None !

Posted: Tue Dec 31, 2013 2:58 am
by PooFox
what does this mean?

nearly every single day at some point or multiple points i can no longer control mediamonkey with my EG macros and I must load the configuration again manually. I get the self.workerThread is None ! error whenever i try to execute a macro. By far the most annoying hitch in my current system...

Would be fine if I could just instruct EG to reload the config when it generates this error, but that's not possible.

not a clue what triggers it, so not sure if it's reproduceable, but it's traveled with me across a few different computer systems and i can't seem to figure it out. seems to be EG related since i can just reload my configuration to get it working again for a while.

is it a bug with the plugin or what?

Lately I sometimes don't even get the error message; the macros just don't work till i reload the config.

Re: Mediamonkey: self.workerThread is None !

Posted: Mon Jan 06, 2014 5:22 am
by PooFox
anybody know what it means?

Re: Mediamonkey: self.workerThread is None !

Posted: Sun Jan 12, 2014 12:22 pm
by Pako
I do not use MM for a long time, because I do not like the direction in which the developments are moving. Now instead of MM I use MusicBee.
However, I am now trying to work with MM and plugins. No problem occurred.
I am afraid that I can not help you.
Once you write, how I can reliably cause the same error, then I'll hopefully be able to help.

Pako

Re: Mediamonkey: self.workerThread is None !

Posted: Wed Jan 29, 2014 3:30 pm
by nonob
Hi Pako,

I have the same issue but only if i close mediamonkey, then start it with eventghost already running.
Then , if i close and restart eventghost, it works.

I don't know if it is related to this issue but at the start of eventghost, i have this error message in the log:

Code: Select all

Traceback (most recent call last) (1640):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 153, in CreateInstance
    plugin.__init__()
  File "C:\Program Files (x86)\EventGhost\plugins\MediaMonkey\__init__.py", line 1301, in __init__
    stream = open(icoFile, "wb")
IOError: [Errno 13] Permission denied: 'C:\\Program Files (x86)\\EventGhost\\plugins\\MediaMonkey\\CoverArt.png'
thanks

Re: Mediamonkey: self.workerThread is None !

Posted: Wed Jan 29, 2014 5:52 pm
by krambriw
I think the problem we frequently see is that people are starting to use win 7 64 bit. Earlier when you run EG under XP and Vista it normally worked but with Win 7 security policy we get problems.

Try to run EG with admin rights and check if it helps!

Re: Mediamonkey: self.workerThread is None !

Posted: Sat Feb 01, 2014 2:10 pm
by nonob
Hi :)

Yes i'm using 64 bits windows 7.

I tried to start eventghost with admin rights but when i press my remote button to start playing music with mm running or not, the eventghost icon become yellow and hang for about 30 secondsthen i have the error message :

Code: Select all

Exception in thread MediaMonkeyWorkerThread:
Traceback (most recent call last) (1640):
Traceback (most recent call last):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\Scheduler.py", line 137, in MainLoop
  File "threading.pyc", line 532, in __bootstrap_inner
  File "threading.pyc", line 484, in run
    func(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 356, in __MainLoop
  File "C:\Program Files (x86)\EventGhost\plugins\MediaMonkey\__init__.py", line 1385, in startWorkerThread
    self.Finish()
    self.workerThread.Start(1000.0)
  File "C:\Program Files (x86)\EventGhost\plugins\MediaMonkey\__init__.py", line 557, in Finish
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 125, in Start
    del self.MM
    self.Func(self.__setupFunc, timeout)()
AttributeError: MM
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
    self.returnValue = self.func(*self.args, **self.kwargs)

  File "C:\Program Files (x86)\EventGhost\plugins\MediaMonkey\__init__.py", line 516, in Setup
    self.initMM()
  File "C:\Program Files (x86)\EventGhost\plugins\MediaMonkey\__init__.py", line 535, in initMM
    self.MM = Dispatch("SongsDB.SDBApplication")
  File "win32com\client\__init__.pyc", line 95, in Dispatch
  File "win32com\client\dynamic.pyc", line 108, in _GetGoodDispatchAndUserName
  File "win32com\client\dynamic.pyc", line 85, in _GetGoodDispatch
com_error: (-2146959355, '\xc9chec de l\x92ex\xe9cution du serveur', None, None)
If i run eventghost not with admin rights, it works but mm need to be running before i start eventghost.

thanks