Comments (7)
What version of python are you running. Tkinter is the GUI library and is
built into the default python 3.2 interpreter. Can you try using the
command line options on start.py?
On Apr 8, 2013 8:45 PM, "ajgallegog" [email protected] wrote:
Hi!
I'm trying to use this, what seems to be a very powerful tool but is not
working:~/Eagle2Kicad$ python Start.py
Traceback (most recent call last):
File "Start.py", line 16, in
from tkinter import Tk,Frame,Label,Button,RIDGE,BOTH,X
ImportError: No module named tkinterbesides that, any attempt to run it in a different way does not work
either:Board$ python Board.py
Input Filename: input
Output Filename: output.brd
Traceback (most recent call last):
File "Board.py", line 180, in
outFileName=input("Output Filename: ")
File "", line 1, in
NameError: name 'output' is not defined—
Reply to this email directly or view it on GitHubhttps://github.com//issues/14
.
from eagle2kicad.
I think you may be running python 2.#. These scripts will only work with python 3.0+.
from eagle2kicad.
Thanks :D ... it did launch the program but even though I already updated python, now is giving me some other errors:
Conversion Failed
Traceback (most recent call last):
File "Start.py", line 76, in convertBoard
brd=Board(node)
File "/home/andres/Eagle2Kicad/Board/Board.py", line 25, in init
converter=Converter(node)
File "/home/andres/Eagle2Kicad/Common/Converter.py", line 19, in init
self.getBorder(node)
File "/home/andres/Eagle2Kicad/Common/Converter.py", line 56, in getBorder
cX,cY=self.convertCoordinate(cX,cY,True)
File "/home/andres/Eagle2Kicad/Common/Converter.py", line 93, in convertCoordinate
x=xTranspose+int(float(x)*self.factor)
OverflowError: cannot convert float infinity to integer
I already checked the input file format as the new one for eagle v6.
from eagle2kicad.
I think I fixed this issue in the latest version, can you try again?
from eagle2kicad.
Thanks for the answer :D
I already tried the latest version, now is giving me a different error in the log file:
Conversion Failed
Traceback (most recent call last):
File "Start.py", line 76, in convertBoard
brd=Board(node)
File "/home/andres/Eagle2Kicad/Board/Board.py", line 41, in init
self.getModules(elements,libraryDict,converter)
File "/home/andres/Eagle2Kicad/Board/Board.py", line 105, in getModules
module=Module(libNode,converter,element,modContacts)
File "/home/andres/Eagle2Kicad/Common/Module.py", line 39, in init
self.description = str(description.text).split('\n')[0]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf7' in position 26: ordinal not in range(128
from eagle2kicad.
This Looks like the same error as in issue #6 . However since his fix was to update and you have already done that i added some code which I think will fix the issue. Can you check ou the newest version and confirm?
from eagle2kicad.
From a fresh install on Ubuntu Studio I had the original issue ajgallegog mentions, but that is just because I didn't have tkinter. My solution was to doublecheck I had python3, which I already did with sudo apt-get install python3
and then sudo apt-get install python3-tk
and gui popped up fine after that.
from eagle2kicad.
Related Issues (20)
- NameError: global name 'fileNameparser' is not defined HOT 2
- Conversion Failure HOT 1
- TypeError: Can't convert 'NoneType' object to str implicitly HOT 1
- Error Converting Library: 'Vishay_By_element14_Batch_1' HOT 1
- Error Converting Library: 'Freescale_By_element14_Batch_1' HOT 1
- Conversion failure - Python encoding issue HOT 1
- Is this under a GPL compatible license? HOT 1
- Extraneous 'hjustify' field in TEXTPCB De? HOT 2
- Quotes around EQUIPOT Names? HOT 1
- Error Converting Sparkfun Eagle libraries HOT 1
- All files have spurious ^M at the end
- Eagle2KiCad doesn't exist as a standalone command line application
- Eeschema arcs do not render properly HOT 1
- Don't catch and hide exceptions when loading modules HOT 1
- XML parsing error HOT 1
- Error starting GUI. Could not find tkinder HOT 2
- Pins which connect to multiple pads are not handled HOT 1
- issues converting seeedstudio open parts library / pin parameters read issue
- readme outdated or wrong HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eagle2kicad.