bugBKChem - Bugs: bug #13523, Crash when trying to export to...

 
 

bug #13523: Crash when trying to export to Openoffice format

Submitted by:  None
Submitted on:  Thu 23 Jun 2005 12:47:49 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: exportStatus: Fixed
Privacy: PublicAssigned to: Beda Kosata <beda>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 24 Jun 2005 04:50:47 AM UTC, comment #4:

The uploaded file is not a new version of the openoffice.py, but a diff that should be used to patch the original file. The new version of openoffice.py is attached to this comment.

Beda Kosata <beda>
Project AdministratorIn charge of this item.
Thu 23 Jun 2005 06:14:50 PM UTC, comment #3:

I replaced the file openoffice.py, but when installing bkchem I receive the following message:

running install_lib
copying build/lib/bkchem/plugins/openoffice.py -> /usr/local/lib/python2.4/site- packages/bkchem/plugins
byte-compiling /usr/local/lib/python2.4/site-packages/bkchem/plugins/openoffice. py to openoffice.pyc
File "/usr/local/lib/python2.4/site-packages/bkchem/plugins/openoffice.py", li ne 3
@@ -125,7 +125,7 @@
^
SyntaxError: invalid syntax
running install_data
file /usr/local/lib/python2.4/site-packages/bkchem/site_config.py created
file /usr/local/bin/bkchem created
file /usr/local/bin/bkchem made executable

Anonymous
Thu 23 Jun 2005 03:03:53 PM UTC, comment #2:

The fix is attached for those who cannot wait till the next release. Just patch the file bkchem/bkchem/plugins/openoffice.py

Beda Kosata <beda>
Project AdministratorIn charge of this item.
Thu 23 Jun 2005 03:00:36 PM UTC, comment #1:

It was fixed in the development sources and the fix will be added into the next release.

Beda Kosata <beda>
Project AdministratorIn charge of this item.
Thu 23 Jun 2005 12:47:49 PM UTC, original submission:

Crash in Version 0.10.0

Error: 2
AttributeError Exception in Tk callback
Function: <function <lambda> at 0x40e4717c> (type: <type 'function'>)
Args: ()
Traceback (innermost last):
File "/usr/local/lib/python2.4/site-packages/bkchem/Pmw.py", line 1784, in _call_
return apply(self.func, args)
File "/usr/local/lib/python2.4/site-packages/bkchem/misc.py", line 114, in <lambda>
return lambda: apply( function, arguments)
File "/usr/local/lib/python2.4/site-packages/bkchem/main.py", line 1068, in plugin_export
doc = exporter.write_to_file( a)
File "/usr/local/lib/python2.4/site-packages/bkchem/plugins/openoffice.py", line 81, in write_to_file
self.add_atom( b, group)
File "/usr/local/lib/python2.4/site-packages/bkchem/plugins/openoffice.py", line 210, in add_atom
for name,m in a.marks.iteritems():
AttributeError: 'Set' object has no attribute 'iteritems'

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #3121:  openoffice.py added by beda (30KiB - text/x-python - The new version of the openoffice.py file)
file #3116:  diff added by beda (5KiB - application/octet-stream - The patch for this problem)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 24 Jun 2005 04:50:48 AM UTCbedaAttached File-=>Added openoffice.py, #2629
Thu 23 Jun 2005 03:04:36 PM UTCbedaOpen/ClosedOpen=>Closed
Thu 23 Jun 2005 03:03:54 PM UTCbedaAttached File-=>Added diff, #2624
Thu 23 Jun 2005 03:00:36 PM UTCbedaStatusNone=>Fixed
  Assigned toNone=>beda

Back to the top


Powered by Savane 3.1-cleanup1