[Panel-devel] skz files and a crash

Ryan Nickell p0z3r at earthlink.net
Mon Jul 4 10:49:04 CEST 2005


This evening there was a reported problem with running .skz files for
SuperKaramba.  Now, I'm not personally able to reproduce this crash
using the same steps, so I'm asking for others to try this out.

Here's an excerpt of the conversation I had with Alex.

p0z3r hey, originally you downloaded the .skz file to your hard drive
right?
wirr yes
p0z3r and were you clicking on the theme to run superkaramba or running superkaramba manually and selecting lwp from the theme dialog?
wirr i tried all three: icon clicking, open with theme dialog, and command line arg
p0z3r all three failed for you?
wirr yes
wirr i also cleaned .superkaramba and .kde/.../apps/superkaramba and .kde/.../config/superkarambarc
wirr and the skz is in ~/test/lwp-i18n.skz and the extraced files are in ~/test/lwp-i18n/

wirr LW is running but doesn't get shown
wirr superkaramba: Starting theme: Liquid Weather ++
wirr superkaramba: /home/wirr/.superkaramba/lwp-i18n.rc
wirr superkaramba: Loading python module: liquid_weather
wirr sys.path.insert(0, '/home/wirr/test/lwp-i18n.skz')
wirr OverflowError: signed integer is greater than maximum
wirr ------------------------------------------------------



wirr pName = PyString_FromString(theme.pythonModule().ascii());
wirr     pModule = PyImport_Import(pName);
wirr thats wats the ctor calls 
wirr with a prior snprintf(pypath, 1023, "sys.path.insert(0, '%s')", theme.path().ascii());
wirr it would import /home/kdeuser/superkaramba/lwp-i18n.skz/liquid_weather.py
wirr and that dir doesn't exist -> boom
wirr i tried changing snprintf(pypath, 1023, "sys.path.insert(0, '%s')", theme.path().ascii()); to the path where the extracted files were and it worked

We're trying to release tomorrow and this could be a problem. We need to figure out if this is effecting anyone else out there.
If we can't reproduce this, then we will still release, but I wanted to get some feedback on this.

Ryan



More information about the Panel-devel mailing list