Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 24 by
Ekkehard...@gmail.com: upconverter fails to convert eagle
schematics to gEDA
http://code.google.com/p/freetype-py/issues/detail?id=24
What steps will reproduce the problem?
1. download Eagle schematics from
http://arduino.cc/en/uploads/Main/arduino_Uno_Rev3-02-TH.zip
2. extract arduino_Uno_Rev3-02-TH.sch (genuine file is also attached)
3. run python2.6 upconverter.py -i arduino_Uno_Rev3-02-TH.sch -o gEDA.sch
-t geda
What is the expected output? What do you see instead?
Expected: Eagle schematic is converted and program exits without error
messages.
Actual:
$ upconverter -i arduino_Uno_Rev3-02-TH.sch -o gEDA.sch -t geda
--raise-errors
/usr/local/bin/upconverter:78: DeprecationWarning: BaseException.message
has been deprecated as of Python 2.6
if err.message != 'No module named PIL':
INFO:main:Auto-detected input type: eaglexml
DEBUG:main:parsing arduino_Uno_Rev3-02-TH.sch in format eaglexml
Traceback (most recent call last):
File "/usr/local/bin/upconverter", line 364, in <module>
main()
File "/usr/local/bin/upconverter", line 346, in main
Upconverter.write(design, outputfile, outputtype, **parser_kwargs)
#pylint: disable=W0142
File "/usr/local/bin/upconverter", line 177, in write
return wri.write(dsgn, out_file)
File "/usr/local/lib/python2.6/dist-packages/python_upconvert-0.7.1-py2.6.egg/upconvert/writer/geda.py",
line 158, in write
self.write_component_to_file(library_id, component)
File "/usr/local/lib/python2.6/dist-packages/python_upconvert-0.7.1-py2.6.egg/upconvert/writer/geda.py",
line 359, in write_component_to_file
with codecs.open(path, encoding='utf-8', mode='w') as fout:
File "/usr/lib/python2.6/codecs.py", line 881, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or
directory: 'symbols-gEDA.sch/SmartPrj:XTAL/S:logical-0.sym'
$
What version of the product are you using? On what operating system?
I am using upconverter 0.7.1 on an out-of-the-box (no kernel mods) Kubuntu
12.04 w/ kernel 3.2.0-34-generic with KDE 4.8.5 on a 64 bit machine with 6
AMD Phenom cores. I have Python 2.6, 2.7 and 3.2 installed. upconverter
wanted to be run and built with Python 2.6
Please provide any additional information below.
Directory symbols-gEDA.sch/ was created with the attached content.
Attachments:
arduino_Uno_Rev3-02-TH.sch 1.2 MB
symbols.zip 7.6 KB