bkchem-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bkchem-user] Error while opening file


From: Sebastian \"Marduk\" Pölsterl
Subject: [Bkchem-user] Error while opening file
Date: Sat, 28 Feb 2004 16:30:40 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

Hi!

I use the latest version 0.5.1 and worked fine until I drawed a radical. I can draw it and save the file, but when I try to load the savec SVG following error appears:

<paste>
Error: 1
ValueError Exception in Tk callback
Function: <bound method BKchem.load_CDML of <main.BKchem instance at 0x00919170>> (type: <type 'instancemethod'>)
  Args: ()
Traceback (innermost last):
File "D:\PROGRA~1\Python23\Lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1747, in __call__
    return apply(self.func, args)
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\main.py", line 356, in load_CDML
    if not self._load_CDML( file=file):
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\main.py", line 380, in _load_CDML
    return self._load_CDML_file( a)
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\main.py", line 446, in _load_CDML_file
    self.paper.read_package( doc)
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\paper.py", line 402, in read_package
    o = self.add_object_from_package( p)
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\paper.py", line 663, in add_object_from_package
    o = classes.molecule( self, package=package)
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\classes.py", line 81, in __init__
    self.read_package( package)
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\classes.py", line 289, in read_package
    self.insert_atom( atom( self.paper, package=a, molecule=self))
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\classes.py", line 506, in __init__
    self.read_package( package)
File "D:\WEBDESIGN\python\bkchem-0.5.1\bkchem\classes.py", line 849, in read_package
    auto= int(auto))
ValueError: invalid literal for int(): True
</paste>

Is this a bug or is it my fault?

Greetings,
Sebastian Pölsterl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]