Am Samstag 13 Februar 2010 21:11:05 schrieben Sie:
> Package: agtl
> Version: 0.5.1-1
> Severity: important
> User: debian-pyt...@lists.debian.org
> Usertags: python2.6
> 
> Hello,
> 
> Your package harcodes 2.5 as the Python version. However, we expect
> Python 2.6 to be the default version in Debian soon. The attached, not
> very well tested patch, seems to fix this problem.

It seems not to be this easy :-)

The solution to wrap the json-import in a try-catch block seems nice but it 
seems the access to the static methods doesn't work with the renamed module.

When starting agtl with your patch the result is as follows:

Traceback (most recent call last):
  File "/usr/bin/agtl", line 4, in <module>
    advancedcaching.core.start ()
  File "/usr/lib/pymodules/python2.5/advancedcaching/core.py", line 517, in 
start
    Core(gui, determine_path())
  File "/usr/lib/pymodules/python2.5/advancedcaching/core.py", line 227, in 
__init__
    self.__read_config()
  File "/usr/lib/pymodules/python2.5/advancedcaching/core.py", line 478, in 
__read_config
    tmp_settings = json.loads(string)
AttributeError: 'module' object has no attribute 'loads'


Do you have ideas what causes this?

Heiko



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to