python.exe crashes on .wmf export

Bug #721352 reported by daniel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

Just successfully exported to .dxf, and upon trying to export to .wmf Windows Vista tells me that python.exe has crashed, and I get this message from inkscape:
 Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.
UniConvertor failed:

[that's it - no details about how uniconvertor failed]

Version: Inkscape 0.48.0 r9654
OS: Windows Vista Home Basic service pack 2

daniel (daniel-dqe1)
tags: added: exporting uniconvertor wmf
Revision history for this message
su_v (suv-lp) wrote :

Could you attach the SVG file that caused this error to allow testing on other platforms?
Is it reproducible or did it only happen in this specific situation when saving first a copy as DXF and subsequently a copy as WMF within the same session?

Revision history for this message
daniel (daniel-dqe1) wrote :

Here is a file that exhibits the problem - I've deleted almost everything in it to see if the large amount of complex and grouped objects, multiple hidden and locked layers, etc, were the problem. Apparently not.

The problem doesn't require saving to dxf first, and creating a new file and creating a new file with just a square or deleting the objects out of the attached document both allow the wmf conversion to work properly (I assume - I haven't opening them yet).

A couple more details that might be useful:
- a wmf file is created, but is listed as 0 kb
- here is the windows app crash report:
 Problem Event Name: APPCRASH
  Application Name: python.exe
  Application Version: 0.0.0.0
  Application Timestamp: 4ba3e443
  Fault Module Name: ntdll.dll
  Fault Module Version: 6.0.6002.18327
  Fault Module Timestamp: 4cb73436
  Exception Code: c0000005
  Exception Offset: 000665d6
  OS Version: 6.0.6002.2.2.0.768.2
  Locale ID: 1033
  Additional Information 1: 5ed6
  Additional Information 2: eb6b13139c5af76dce7288bced416616
  Additional Information 3: 05ee
  Additional Information 4: 260b3c5dadd7c202f5ac6b3877fe9907
- the inkscape message that says "UniConvertor failed:" is followed by four or five blank lines or returns.

Revision history for this message
Alvin Penner (apenner) wrote :

not reproduced on Windows XP, Inkscape .48, the wmf file is attached.

- as an experiment, could you try exporting to .plt as well? This also uses uniconvertor, while dxf does not. The file type for plt is "HP Graphics Language (Autocad) .plt"

- also, do you have Python separately installed, independent of Inkscape?

Revision history for this message
Alvin Penner (apenner) wrote :

- confirmed on Windows 7, I get the attached error message.
- also get the same crash when exporting to .plt, which uses uniconvertor.
- also get the same crash when running uniconvertor from a DOS prompt, outside of Inkscape, using the command :

python\python -c "import uniconvertor; uniconvertor.uniconv_run();" "input.svg" "output.wmf"

- similar to Bug 745997, which sometimes occurs on import.

- there are a number of google hits associated with this message, not Inkscape-related, but probably Vista/Windows7 specific:

http://www.google.ca/#hl=en&source=hp&biw=779&bih=399&q=python.exe+has+stopped+working&aq=f&aqi=g2&aql=&oq=&fp=51569ce59b9bf889

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Possibly same issue as bug #656938 “WMF Export fails”.

Revision history for this message
Alvin Penner (apenner) wrote :

on Windows 7 (32 bit), the conversion to wmf can be performed using the following software (outside of Inkscape):
- Python 2.6.6
- PIL 1.1.7
- reportlab 2.5
- uniconvertor 1.1.4
- run uniconvertor from a DOS prompt with the command:
  C:\Python26>scripts\uniconv export_test.svg export_test.wmf
- result is attached:

su_v (suv-lp)
tags: added: extensions-plugins
Revision history for this message
su_v (suv-lp) wrote :

Linking as duplicate to Bug #656938 “WMF Export fails on Windows 7 (python.exe crashes)” - please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.