[packman] Re: [PM] londonlaw 0.2.1 (openSUSE 10.3/i586)

Toni toni at links2linux.de
Sun Apr 27 13:34:36 CEST 2008


Am Sonntag, 27. April 2008 schrieb corax2.05 at gmx.net:
> hi,
>
> i have a problem with london law.
> i can't start a server, alway get this output:
>
> london-server
> London Law does not appear to be installed.
> Attempting to launch server from current directory...
> Traceback (most recent call last):
>    File "/usr/bin/london-server", line 29, in <module>
>      import londonlaw.server
>    File "/usr/lib/python2.5/site-packages/londonlaw/server/__init__.py",
> line 21, in <module>
>      from Protocol import LLawServerProtocol
>    File "/usr/lib/python2.5/site-packages/londonlaw/server/Protocol.py",
> line 25, in <module>
>      from Game import *
>    File "/usr/lib/python2.5/site-packages/londonlaw/server/Game.py",
> line 35, in <module>
>      class IGameListener(components.Interface):
> AttributeError: 'module' object has no attribute 'Interface'
>
>
> the system is a openSuSE 10.3. i tried it with a 64 and 32bit system.
> same problem.
>
> any ideas?
yes, zope interface has changed...

diff -up londonlaw-0.2.1/londonlaw/server/Game.py~ 
londonlaw-0.2.1/londonlaw/server/Game.py
--- londonlaw-0.2.1/londonlaw/server/Game.py~	2007-09-23 10:34:43.000000000 
+0200
+++ londonlaw-0.2.1/londonlaw/server/Game.py	2007-09-23 10:34:43.000000000 
+0200
@@ -20,6 +20,7 @@ import sets
 
 from twisted.python import components
 from twisted.python import log
+from zope import interface
 
 from londonlaw.common.protocol import *
 from londonlaw.common.map import *
@@ -32,7 +33,7 @@ class GameError(Exception):
    pass
 
 
-class IGameListener(components.Interface):
+class IGameListener(interface.Interface):
    def announceHistory(self, history):
       pass
 
I'll prepare a new package. You can change the two lines 
in /usr/lib/python2.5/site-packages/londonlaw/server/Game.py

and can play immediately.

>
> best regards
> corax
>
> p.s.: maybe you want update the hompagelink of london law. the new site
> seems to be http://pessimization.com/software/londonlaw/



-- 
have fun
Toni




More information about the Packman mailing list