Bug 674319 - inkscape uses uniconvertor to open a file and uniconvertor fails
Summary: inkscape uses uniconvertor to open a file and uniconvertor fails
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: uniconvertor
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-01 13:12 UTC by Rakesh Pandit
Modified: 2012-04-09 09:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-09 09:22:47 UTC
Type: ---


Attachments (Terms of Use)
inkscape screenshot (133.75 KB, image/png)
2011-02-01 13:15 UTC, Rakesh Pandit
no flags Details
This is one of that reproduces the error (750.91 KB, application/vnd.corel-draw)
2011-07-14 17:23 UTC, CJ
no flags Details

Description Rakesh Pandit 2011-02-01 13:12:08 UTC
Description of problem:
UniConvertor failed:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 683, in Load
    self.info.process_properties()
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 260, in process_properties
    self.process_paths(chunk)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 342, in process_paths
    self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 495, in loda_coords
    self.extract_bmp(numbmp,width,height)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 400, in extract_bmp
    for i in range (numcol):
MemoryError
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/uniconvertor/__init__.py", line 82, in uniconv
    doc = load.load_drawing(input_file)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/io/load.py", line 364, in load_drawing
    return load_drawing_from_file(file, filename)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/io/load.py", line 337, in load_drawing_from_file
    doc = loader.Load()
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 683, in Load
    self.info.process_properties()
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 260, in process_properties
    self.process_paths(chunk)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 342, in process_paths
    self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 495, in loda_coords
    self.extract_bmp(numbmp,width,height)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrloader.py", line 400, in extract_bmp
    for i in range (numcol):
MemoryError


Version-Release number of selected component (if applicable):
  uniconvertor.x86_64 0:1.1.4-3.fc14                                                                    inkscape-0.48.0-1.fc14.3.x86_64.rpm                                                                                             


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Rakesh Pandit 2011-02-01 13:15:15 UTC
Created attachment 476394 [details]
inkscape screenshot

Attached is screenshot of a window with above traceback. One of my friends sent a cdr file which I was trying to open with Inskscape. Inkscape asked me to download this package in turn.

Once installed, this package returned following traceback to inkscape.

Comment 2 Pavel Alexeev 2011-02-01 13:22:23 UTC
Thank you for the bugreport.

Can you see exact report what inkscape issued to convert file?

That happened on any .cdr file or only particular? If so can you attach it there to reproduce error?

Comment 3 CJ 2011-07-08 05:52:46 UTC
I am having the exact same problem

" UniConvertor failed:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/uniconvertor/__init__.py", line 82, in uniconv
    doc = load.load_drawing(input_file)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/io/load.py", line 364, in load_drawing
    return load_drawing_from_file(file, filename)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/io/load.py", line 337, in load_drawing_from_file
    doc = loader.Load()
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/plugins/Filters/cdrziploader.py", line 54, in Load
    doc = load.load_drawing_from_file(cdrfile, cdrfile.name, doc_class = self.doc_class)
  File "/usr/lib64/python2.7/site-packages/uniconvertor/app/io/load.py", line 346, in load_drawing_from_file
    raise SketchLoadError(_("unrecognised file type"))
app.events.skexceptions.SketchLoadError: unrecognised file type   "

With all my cdrs - i had previously opened them in inkspace when i was using it in ubuntu

Comment 4 Pavel Alexeev 2011-07-11 15:06:04 UTC
Cj, you can reproduce it without inkscape? Can you provide file for reproduce error?

Comment 5 CJ 2011-07-13 16:37:31 UTC
I didn't get what are you trying to say by "Can you provide file for reproduce
error?"

Comment 6 Rakesh Pandit 2011-07-14 05:30:16 UTC
(In reply to comment #5)
> I didn't get what are you trying to say by "Can you provide file for reproduce
> error?"

Pavel is asking for one of cdr files which reproduces the error. I have removed my instance of machine long back so was unable to provide one.

This file will help fix/reproduce the issue.

Regards,
Rakesh Pandit

Comment 7 CJ 2011-07-14 17:23:23 UTC
Created attachment 513224 [details]
This is one of that reproduces the error

This is one of that reproduces the error. it has my college logo. hope this helps

Comment 8 Pavel Alexeev 2011-09-04 15:24:43 UTC
Cj, where you get that file? It look like zip archive rather than CDR file:
$ file SICSR.cdr
SICSR.cdr: Zip archive data

Comment 9 Alexander Bokovoy 2012-04-09 07:14:32 UTC
The file is CDRv15, not supported by uniconvertor as it only supports up to v14. According to Valek Fillipov, this file converts fine with libcdr.

Comment 10 Pavel Alexeev 2012-04-09 09:22:47 UTC
Uniconvertor 2.0 coming soon. I hope it will support 15 version.
Unfortunately now I can't help more.


Note You need to log in before you can comment on or make changes to this bug.