UniConvertor Failed importing CDR files

Bug #1456982 reported by Jean Paulus
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned
UniConvertor
In Progress
Undecided
Unassigned

Bug Description

Look this message :

UniConvertor failed:

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\uniconvertor\__init__.py", line 100, in uniconv_run

    saver(doc, output_file)

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\__init__.py", line 212, in __call__

    module.save(document, file, filename, options)

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\export\svgsaver.py", line 339, in save

    saver.Save()

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\export\svgsaver.py", line 295, in Save

    left, bottom, right, top = self.document.PageRect()

AttributeError: 'NoneType' object has no attribute 'PageRect'

------------------------------------------------------------------------------------------------------
and this : (in french)

Échec du chargement du fichier V:\- COURTAGE\- - - - - - - Documents CORELDRAW\GÉNÉALOGIE-tranche du classeur #1.cdr

Thanks.

John

Revision history for this message
su_v (suv-lp) wrote :

Please add information about OS/platform and Inkscape version to the bug description; as well as details about which installer package (32bit|64bit, msi|exe|paf.exe|7z) was used.

To allow further investigation of the reported import failure on other systems, please also attach the CDR file which failed to open via UniConvertor to the bug report, thank you.

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Lamiot (lamiot) wrote :

archlinux x86_64 with uniconvertor 1.1.5, sk1libs 0.9.2 and inkscape 0.91:

Traceback (most recent call last):
  File "/usr/bin/uniconvertor", line 13, in <module>
    uniconv_run()
  File "/usr/lib/python2.7/site-packages/uniconvertor/__init__.py", line 100, in uniconv_run
    saver(doc, output_file)
  File "/usr/lib/python2.7/site-packages/sk1libs/filters/__init__.py", line 212, in __call__
    module.save(document, file, filename, options)
  File "/usr/lib/python2.7/site-packages/sk1libs/filters/export/svgsaver.py", line 339, in save
    saver.Save()
  File "/usr/lib/python2.7/site-packages/sk1libs/filters/export/svgsaver.py", line 295, in Save
    left, bottom, right, top = self.document.PageRect()
AttributeError: 'NoneType' object has no attribute 'PageRect'

Greetings,
lamiot

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

Closing due to lack of test case (CDR file which fails to open with UniConvertor 1.1.5).

Changed in inkscape:
status: Incomplete → Invalid
Revision history for this message
Michał Kozal (panaut0lordv) wrote :

I'm providing you with file, though I'm not sure if it is the culprit.

Changed in inkscape:
status: Invalid → Incomplete
Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Windows XP, Inkscape 0.91 and trunk rev. 14495, with the attached file.
Reproduced with Inkscape 0.48.5.

Weird Lamiot's bug was with 0.91.

John, Michal, could you please confirm you ran into that issue with an old Inkscape version?

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

On 2015-12-01 18:27 (+0100), jazzynico wrote:
> Weird Lamiot's bug was with 0.91.

The distro's Inkscape 0.91 package might have been configured and built without the dependencies for Inkscape's new internal CDR input installed - import will then fall back to UniConvertor ...

Revision history for this message
jazzynico (jazzynico) wrote :

~suv - Yes, certainly true.

That said, it's not a bug in Inkscape, but in Uniconvertor. Particularly now that we preferably use libcdr for importing CDR files.
It's not the only Uniconvertor bug that affects Inkscape very indirectly, and I'm not sure what we should do with the reports.

Changed in uniconvertor:
status: New → Confirmed
summary: - UniConvertor Failed
+ UniConvertor Failed importing CDR files
Revision history for this message
jazzynico (jazzynico) wrote :

Upstream report: https://github.com/sk1project/uniconvertor/issues/4

Sadly LP's remove watch doesn't seem to work with GitHub...

Revision history for this message
jazzynico (jazzynico) wrote :

Upstream answer:
"Thank you for your reports. X7 file format is not supported yet.
Just because latest UniConvertor has been released before X7 release.
Hope we will add this feature in next UniConvertor 2.0."

Changed in uniconvertor:
status: Confirmed → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

@Jean Paulus - Inkscape 0.91 on Windows (at least the 32-bit version) now uses libcdr and correctly imports recent CDR files.

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.