Code Monkey home page Code Monkey logo

Comments (4)

RomRider avatar RomRider commented on August 31, 2024

Seems like you're using python2 and not python3 as NameError: name 'FileExistsError' is not defined is typical of python2.

from klipper-fastgyroidinfill.

Stefkeys avatar Stefkeys commented on August 31, 2024

Seems like you're using python2 and not python3 as NameError: name 'FileExistsError' is not defined is typical of python2.

I definitely had Python 3 installed. But I went ahead and removed all Python instances and reinstalled 3.10.1

now I get this error

C:\Users\acste>C:\Users\acste\AppData\Local\Programs\Python\Python310\python.exe C:\Users\acste\Documents\FastGyroidInfill.py on file C:\Users\acste\Desktop\3D_printing\GCode\Eevee_Switch_Stand.gcode
Traceback (most recent call last):
File "C:\Users\acste\Documents\FastGyroidInfill.py", line 10, in
with open(sourceFile, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'on'

from klipper-fastgyroidinfill.

RomRider avatar RomRider commented on August 31, 2024

remove on file from your command line ;)
C:\Users\acste\AppData\Local\Programs\Python\Python310\python.exe C:\Users\acste\Documents\FastGyroidInfill.py C:\Users\acste\Desktop\3D_printing\GCode\Eevee_Switch_Stand.gcode

from klipper-fastgyroidinfill.

Stefkeys avatar Stefkeys commented on August 31, 2024

remove on file from your command line ;) C:\Users\acste\AppData\Local\Programs\Python\Python310\python.exe C:\Users\acste\Documents\FastGyroidInfill.py C:\Users\acste\Desktop\3D_printing\GCode\Eevee_Switch_Stand.gcode

Gosh darn it! I was scouring those lines to find "on" and my eyes failed me miserably!

It works!
Closing issue

from klipper-fastgyroidinfill.

Related Issues (9)

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.