On Sun, 29 May 2005, Joerg Lehmann wrote:
On 29.05.05, Dag Wieers wrote:
On Sun, 29 May 2005, Dag Wieers wrote:
I put a new tarball with the plugins online under the path I've send before. Testing is appreciated.
When building I get this: [root@emyn PyTone-2.2.3+]# ./setup.py build running build running build_py package init file 'src/plugins/termtitle/__init__.py' not found (or not a regular file) error: package directory 'src/plugins/audioscrobbler' does not exist After removing both plugins from setup.py it is ok. I thought you mentioned that you added the new plugins ? Then when running: [dag@emyn ~]$ pytone Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/pytone/pytone.py", line 57, in ? config.processconfig() File "/usr/lib/python2.3/site-packages/pytone/config.py", line 905, in processconfig processstandardconfig() File "/usr/lib/python2.3/site-packages/pytone/config.py", line 759, in processstandardconfig readconfigsection(section, eval(section)) File "/usr/lib/python2.3/site-packages/pytone/config.py", line 699, in readconfigsection raise ConfigError("Unkown configuration option '%s' in section '%s'" % config.ConfigError: Unkown configuration option 'server' in section 'network' After removing the server option in the network section I got another backtrace which is related to the window size of the xterm. Apparently 80x25 is still not sufficient for pytone on startup ? Also could you create it as 2.2.3.1 or something similar, not the plus sign, otherwise I have difficulties to package it properly. I'd like to create test packages of those releases too.
PS: The problem with the ~/.pytone/plugins directory is, that there has to be an __init__.py file present (just create an empty one).
If I do this, it works but it will only recognize the plugins in my user-directory (~/.pytone/plugins) not the ones I have in the global directory. Also in this case, pytone bails out if it cannot find a plugin. It would be nicer to eg. display a message (maybe with: press enter to proceed) or just log the failure and continue. -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]