[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    [Panel-devel] getThemePath broken in SK
From:       matt-lists () comnet ! net ! nz (Matt)
Date:       2005-06-05 21:36:23
Message-ID: 200506060735.48441.matt-lists () comnet ! net ! nz
[Download RAW message or body]

On Mon, 06 Jun 2005 06:10, Petri Damsten wrote:
> On Sunday 05 June 2005 19:08, Ryan Nickell wrote:
> > What I propose is a new function similar to readThemeFile that
> > is exposed to python land, or just remove it.
>
> There is now readThemeFile in python api.
>
> Petri

I think that the  issue may be a bit more fundamental.  I also use the 
following code:

    path = karamba.getThemePath(widget) + '/'
    os.chdir(path)

I have now put this up front to try and get around the open(file) issue - ie 
change into a new theme 'root' directory, so that all file paths are relative 
from that new 'root' directory.  However, again it fails thusly:

Call to initWidget failed
Traceback (most recent call last):
  File "/home/matt/karamba/liquid_weather_plus/liquid_weather.py", line 2463, 
in initWidget
OSError: [Errno 20] Not a directory: '/home/matt/karamba/lwp-test.skz/'

Could you also explain the new readThemeFile function, so I can understand if 
it will help me.

Thanks

Matt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic