Giter Club home page Giter Club logo

Comments (7)

DanChianucci avatar DanChianucci commented on September 26, 2024

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 tkinter

besides 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.

DanChianucci avatar DanChianucci commented on September 26, 2024

I think you may be running python 2.#. These scripts will only work with python 3.0+.

from eagle2kicad.

ajgallegog avatar ajgallegog commented on September 26, 2024

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.

DanChianucci avatar DanChianucci commented on September 26, 2024

I think I fixed this issue in the latest version, can you try again?

from eagle2kicad.

ajgallegog avatar ajgallegog commented on September 26, 2024

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.

DanChianucci avatar DanChianucci commented on September 26, 2024

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.

dreamalligator avatar dreamalligator commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.