--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: python-uniconvertor: Running uniconvertor fails (TypeError: integer argument expected, got float)
- From: Ralf Gesellensetter <ralf@skolelinux.de>
- Date: Fri, 19 Apr 2013 15:41:07 +0200
- Message-id: <20130419134107.6622.64785.reportbug@localhost>
Package: python-uniconvertor
Version: 1.1.4-1+b2
Severity: normal
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
calling from command line:
$ uniconvertor in.cdr out.pdf
Also when trying to import a cdr file from inkscape,
uniconvertor gives an error message. According to this
forum entry, it is due to a broken packaging:
http://sk1project.org/forum/viewthread.php?thread_id=472&pid=1108#post_1108
* What was the outcome of this action?
Cannot list directory /home/foo/.uniconvertor:[Errno 2] No such file or directory: '/home/foo/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/foo/.uniconvertor:[Errno 2] No such file or directory: '/home/foo/.uniconvertor'
ignoring it in font_path
No plugin-type information in /usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/__init__.py
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 683, in Load
self.info.process_properties()
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 260, in process_properties
self.process_paths(chunk)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 342, in process_paths
self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 495, in loda_coords
self.extract_bmp(numbmp,width,height)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 377, in extract_bmp
self.extracted_image = PIL.Image.fromstring('L', (width, height), self.bmpbuf, 'raw', 'L', bytes, -1)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1797, in fromstring
im.fromstring(data, decoder_name, args)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 589, in fromstring
d = _getdecoder(self.mode, decoder_name, args)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 383, in _getdecoder
return apply(decoder, (mode,) + args + extra)
TypeError: integer argument expected, got float
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/uniconvertor/__init__.py", line 82, in uniconv
doc = load.load_drawing(input_file)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/io/load.py", line 364, in load_drawing
return load_drawing_from_file(file, filename)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/io/load.py", line 337, in load_drawing_from_file
doc = loader.Load()
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 683, in Load
self.info.process_properties()
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 260, in process_properties
self.process_paths(chunk)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 342, in process_paths
self.loda_type_func[argtype](chunk,type,offset,cdr_version,trafo)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 495, in loda_coords
self.extract_bmp(numbmp,width,height)
File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/cdrloader.py", line 377, in extract_bmp
self.extracted_image = PIL.Image.fromstring('L', (width, height), self.bmpbuf, 'raw', 'L', bytes, -1)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1797, in fromstring
im.fromstring(data, decoder_name, args)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 589, in fromstring
d = _getdecoder(self.mode, decoder_name, args)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 383, in _getdecoder
return apply(decoder, (mode,) + args + extra)
TypeError: integer argument expected, got float
* What outcome did you expect instead?
Less warinings, no errors, and some output file.
*** End of the template - remove these lines ***
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.6-8.slh.3-aptosid-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-uniconvertor depends on:
ii libc6 2.13-38
ii python 2.7.3-4
ii python-imaging 1.1.7-4
ii python-reportlab 2.5-1.1
ii python-support 1.0.15
python-uniconvertor recommends no packages.
Versions of packages python-uniconvertor suggests:
pn python-uniconvertor-dbg <none>
-- no debconf information
--- End Message ---