Kodi Community Forum
[LINUX] Bug or Weird - all .py scripts crash after interaction - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Bug or Weird - all .py scripts crash after interaction (/showthread.php?tid=35188)



[LINUX] Bug or Weird - all .py scripts crash after interaction - bugme - 2008-07-25

When I get some python scripts to run from my scripts folder, XBMC crashes after some interaction.
scripts/common scripts/listitemexample.py is the most notorius one, crashing concistently after two times enter or mouseclick or select.
This happens for all scripts that have their own window that I tried, making the powerfull scripting capabilities unusable.

Is this a bug in XBMC or a bug in my software (Ubuntu 8.04)? I don't know where to start looking for a solution.

I got the latest stable release from the hardy repository. I am no programmer so I do not have the unrecommended bleeding edge svn version for my own safety. Maybe someone can verify.


- bugme - 2008-07-25

I *so* had to put "linux" in the subject bar, and I would if I could just edit my own post..
Maybe a mod can alter this?


- bugme - 2008-07-26

No one on this?

I found out it's the 'activate' button that makes XBMC crash, either when used twice or when used once and then exiting the script, and when a xbmcgui.ControlList( is present.

A walkaround is to remove the def onControl section and use the def onAction section to recreate similar functionality using a button other then activate, for example use contect_menu in stead.

Somebody please comment on this as I'd like to know if there's a better walkaround that does not involve crippling scripts.


- jmarshall - 2008-07-26

I thought I'd commented on this yesterday - weird.

In any case, please post a bug report on trac with all relevant information so that the developers can reproduce.

Thanks,
Jonathan


- Jezz_X - 2008-07-26

I allready did a few days ago http://trac.xbmc.org/ticket/4352


- bugme - 2008-07-27

I got a single core reproducable error - no lockup but crash.
Since I'm a bugreport noob, can you tell me how to get backtrace? (A)


- jmarshall - 2008-07-27

See the stickies, namely this one:

http://forum.xbmc.org/showthread.php?tid=34655

Cheers,
Jonathan


- Redsandro - 2008-07-31

Ok, I hope this is done correctly, since the backtrace is very short.

http://trac.xbmc.org/ticket/4400