Fwd: Re: [Panel-devel] SuperKaramba roadmap for 3.5 freeze

Matt matt-lists at comnet.net.nz
Sat Jun 4 22:41:32 CEST 2005


On Sat, 04 Jun 2005 19:10, Petri Damsten wrote:
> On Friday 03 June 2005 06:46, Ryan Nickell wrote:
> > Lets say I have a directory with myTheme.theme file, myTheme.py python
> > files and any subdirs all in a directory called /home/ryann/myTheme/.
> > You would have to make a zip archive of everything _inside_ that
> > directory, and the extension has to be .skz(SuperKaramba Zip).
>
> One thing that is new with skz themes is the index file. skz themes should
> include maindata.xml. At the moment it supports following settings:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE superkaramba_theme>
> <superkaramba_theme>
>   <themefile>net.theme</themefile>
>   <python_module></python_module>
>   <name>Network Monitor</name>
>   <icon>net.png</icon>
>   <description>Network Monitor with In/Out Graphs</description>
>   <author>Petri Damstén</author>
>   <author_email></author_email>
>   <homepage></homepage>
> </superkaramba_theme>
>
> Icon, name and description are used in themes dialog:
> http://susku.pyhaselka.fi/damu/sk/themes.png
>
> Petri

When I run the theme from the skz file, I get:

matt at laptop ~/karamba/liquid_weather_plus $ superkaramba
superkaramba: Starting theme: Liquid Weather ++
Error reading file colors.png from zip
superkaramba: /home/matt/.superkaramba/lwp-test.rc
superkaramba: Loading python module: liquid_weather
ANSI_X3.4-1968
ANSI_X3.4-1968
flatstring:
Call to initWidget failed
Traceback (most recent call last):
  File "liquid_weather.py", line 2550, in initWidget
    getTranslation(widget)
  File "liquid_weather.py", line 214, in getTranslation
    langfile = open(karamba.getThemePath(widget) + 'translations/' +
 language, 'r')
IOError: [Errno 2] No such file or directory:
'/home/matt/karamba/liquid_weather_plus/lwp-test.skztranslations/English'

Have I not zipped the archive correctly? or is this a bug?

Matt


More information about the Panel-devel mailing list