Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Problem in Ver r1520

Found a bug in EventGhost? Report it here.
Post Reply
altainta
Posts: 29
Joined: Sun Nov 28, 2010 5:58 am

Problem in Ver r1520

Post by altainta »

Hello this occured when i was using winamp.


How it happened..
1) OSM -> Selected The m3u from list (playlist for mp3 winamp)
2) After selecting Winamp Opens with the playlist. But goes out of focus so i added find window which works
3) After some time it gives the error (if u have a gap or break).

Problem : Unstable, Non Responsive, Hangs, Exit

See the attached file for error

Plugins loaded

Code: Select all

Autostart
   Plugin: IgorPlug-USB
   Plugin: Winamp
   Plugin: Media Player Classic
   Plugin: VLC media player
   Plugin: Task Create/Switch Events
   Enable exclusive: Keyboard Emulation
   Plugin: Windows Media Player
   Plugin: On screen explorer
   Plugin: OS Menu
   Plugin: XBMC2
      JSON-RPC connected
      HTTP API connected
Main.OnInit
I guess the problem is with find window or XBMC2 that is the only thing i edited in the xml.

Code: Select all

C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py:319: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
Traceback (most recent call last) (1520):
  File "C:\Program Files\EventGhost\eg\Classes\ThreadWorker.py", line 319, in __DoOneEvent
    if resultCode == WAIT_OBJECT_0:
  File "warnings.pyc", line 29, in _show_warning
  File "C:\Program Files\EventGhost\eg\Classes\Log.py", line 75, in write
    log.Write(data, ERROR_ICON)
  File "C:\Program Files\EventGhost\eg\Classes\Log.py", line 133, in Write
    wx.CallAfter(self._WriteLine, line, icon, wRef, when, eg.indent)
  File "wx\_core.pyc", line 14666, in CallAfter
  File "wx\_core.pyc", line 7738, in PostEvent
PyAssertionError: C++ assertion "GetStringData()->nRefs == 1" failed at ..\..\src\common\string.cpp(1085) in wxString::GetWriteBuf()
Attachments
error.xml
(30.01 KiB) Downloaded 378 times
eventghost problem.JPG
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Problem in Ver r1520

Post by Pako »

If you you are reporting bug, the principle is test the last version (I'm not saying it would help).

Edit:
I do not use either Winamp, or XBMC.
I do not want to install it.
You can find some examples of bad behavior with standard applications?


Pako
You know flattr ? You can Image
altainta
Posts: 29
Joined: Sun Nov 28, 2010 5:58 am

Re: Problem in Ver r1520

Post by altainta »

oh i didn't noticed that 1522 version is out...
Will check.. thank you pako
User avatar
blackwind
Experienced User
Posts: 182
Joined: Wed Sep 12, 2012 2:59 am
Location: Canada
Contact:

Re: Problem in Ver r1520

Post by blackwind »

I'm getting this error as recently as r1582, and it appears to be triggered randomly without any rhyme or reason:

Code: Select all

Traceback (most recent call last) (1582):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 319, in __DoOneEvent
    if resultCode == WAIT_OBJECT_0:
PyAssertionError: C++ assertion "GetStringData()->nRefs == 1" failed at ..\..\src\common\string.cpp(1085) in wxString::GetWriteBuf()
Traceback (most recent call last) (1582):
Exception in thread ActionThread:
Traceback (most recent call last):
  File "threading.pyc", line 532, in __bootstrap_inner
  File "threading.pyc", line 484, in run
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 354, in __MainLoop
    self.__DoOneEvent()
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 342, in __DoOneEvent
    eg.PrintTraceback()
  File "C:\Program Files (x86)\EventGhost\eg\Classes\Log.py", line 186, in PrintTraceback
    self.Write(error.rstrip() + "\n", ERROR_ICON, source)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\Log.py", line 133, in Write
    wx.CallAfter(self._WriteLine, line, icon, wRef, when, eg.indent)
  File "wx\_core.pyc", line 14666, in CallAfter
  File "wx\_core.pyc", line 7738, in PostEvent
PyAssertionError: C++ assertion "GetStringData()->nRefs == 1" failed at ..\..\src\common\string.cpp(1085) in wxString::GetWriteBuf()
When it occurs, EventGhost no longer responds to my hotkey sequences until I restart the program. It doesn't occur as a result of using one of my sequences -- just randomly, out of the blue -- so I'm unable to trace it back to anything in particular. I only use Keyboard events currently, so no "TaskActivated", "System", or similar triggers could be setting it off.

Thoughts? Anything you'd like me to try to get a better idea of what's going on?
/bw
User avatar
blackwind
Experienced User
Posts: 182
Joined: Wed Sep 12, 2012 2:59 am
Location: Canada
Contact:

Re: Problem in Ver r1520

Post by blackwind »

For what it's worth, I haven't seen this since I upgraded from SetPoint 6.32 to 6.50. It's possible that's the solution.
/bw
Post Reply