bugBKChem - Bugs: bug #23686, Umlauts in filename causes error...

 
 

bug #23686: Umlauts in filename causes error when saving file

Submitted by:  Tom <rhododendron>
Submitted on:  Mon 23 Jun 2008 08:10:37 PM UTC  
Votes:  1  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Reinis Danne <abadar>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 29 Jul 2010 04:08:17 PM UTC, comment #2:

Fixed in BKChem 0.14.0-pre2.

Reinis Danne <abadar>
Project AdministratorIn charge of this item.
Tue 11 May 2010 02:30:45 PM UTC, comment #1:

I think I have the same problem, in both 0.14.0-pre1 and 0.13.0

Saving to a filename with accented characters is no problem, but exporting to PMG (Cairo) raises an error and the file is not written:

Error: 1
<type 'exceptions.UnicodeEncodeError'> Exception in Tk callback
Function: <function <lambda> at 0x017C6870> (type: <type 'function'>)
Args: ()
Traceback (innermost last):
File "bkchem/bkchem\Pmw.py", line 1789, in _call_
None
File "bkchem/bkchem\misc.py", line 116, in <lambda>
None
File "bkchem/bkchem\main.py", line 1134, in plugin_export
None
File "bkchem/bkchem\plugins\cairo_lowlevel.py", line 108, in write_to_file
None
File "bkchem/bkchem\plugins\png_cairo.py", line 66, in save
None
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xf3' in position 38: ordinal not in range(128)

Angel Herráez <angel_herraez>
Mon 23 Jun 2008 08:10:37 PM UTC, original submission:

Hello!

I just wanted to export a file containing an umlaut in it's filename to 'PNG (Cairo)'. This caused BKChem to raise an error. The error text is attached.

Sincerly,
Tom

Tom <rhododendron>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15919:  errortext.txt added by rhododendron (932B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by abadar (Updated the item)
  • -unavailable- added by angel_herraez (Voted in favor of this item)
  • -unavailable- added by angel_herraez (Posted a comment)
  • -unavailable- added by beda (Updated the item)
  • -unavailable- added by rhododendron (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

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

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Aug 2010 11:00:36 AM UTCabadarOpen/ClosedOpen=>Closed
    Thu 29 Jul 2010 04:08:17 PM UTCabadarStatusIn Progress=>Fixed
    Sun 04 Jul 2010 10:48:33 PM UTCabadarAssigned tobeda=>abadar
    Tue 11 May 2010 02:31:33 PM UTCangel_herraezCarbon-Copy-=>Added angel_herraez
    Tue 24 Jun 2008 05:12:08 AM UTCbedaStatusNone=>In Progress
      Assigned toNone=>beda
    Mon 23 Jun 2008 08:10:37 PM UTCrhododendronAttached File-=>Added errortext.txt, #15919

    Back to the top


    Powered by Savane 3.1-cleanup1