Hi On Wed, 2 Apr 2008 10:10:07 -0500 Steve Greenland <[EMAIL PROTECTED]> wrote:
> Probably; I'm running unstable, current as of yesterday.
>
> So I modified sonata to re-raise the exception when the lyrics search
> failed, and found that the problem is that ZSI expects to be able to
> write to a cachedir called '.service_proxy_dir' (__init__ of class
> ServiceProxy in ZSI/ServiceProxy.py). That's fine if sonata is run
> from $HOME, but not if you happen to start it while your cwd is, say,
> /usr/share/pyshared. (Why was I not in $HOME? I don't know, just
> happened.)
>
> There's probably some reason ZSI doesn't default to
> $HOME/.service_proxy_dir, but sonata should probably set it. Adding the
> argument 'cachedir=os.path.expanduser("~/.service_proxy_dir")' to the
> ServiceProxy() creation in sonata.py (around line 2946) solves works.
>
> This should probably go upstream.
Thanks a lot for investigation, I reported it upstream:
https://developer.berlios.de/bugs/?func=detailbug&bug_id=13516&group_id=7323
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
signature.asc
Description: PGP signature

