Jump to content
Ultimaker Community of 3D Printing Experts

Cura don´t Slice to Gcode


Recommended Posts

Posted · Cura don´t Slice to Gcode

Hi everybody,

I have an problem with Cura R4, when i start to slice it shows the following error on the Command Window :

F:\extruder_clamp_Centre1.stl 0

Exception in thread Thread-3:

Traceback (most recent call last):

File "F:\Cura_RC4\python\lib\threading.py", line 552, in __bootstrap_inner

self.run()

File "F:\Cura_RC4\Cura\gui\sliceProgessPanel.py", line 127, in run

p = subprocess.Popen(self.cmdList[self.fileIdx], stdout=subprocess.PIPE, std err=subprocess.STDOUT)

File "F:\Cura_RC4\python\lib\subprocess.py", line 679, in __init__errread, errwrite)

File "F:\Cura_RC4\python\lib\subprocess.py", line 893, in _execute_child

startupinfo)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 1410: ordinal not in range(128)

The file is an STL from Thingiverse "http://www.thingiverse.com/thing:25490" - "extruder_clamp_Centre1.stl"

Can me help some one?

  • Link to post
    Share on other sites
    Posted · Cura don´t Slice to Gcode

    This is a bug with none ascii characters in filenames. It's been fixed for the next version.

    Usually it's Russian characters, or characters with accents that cause this. It doesn't have to be in the filename, can also be in the path.

    (It's actually a bug in the windows python version, and it only happens for windows, so it took me a bit of time to track down)

  • Link to post
    Share on other sites
    Posted · Cura don´t Slice to Gcode

    Hi Daid,

    I have a new Problem with Cura Slide.

    Do you know what the Error Mean?

    "Something went wrong during slicing"

    The Log File:

    File F:\Cura Temp\Türkeil.stl is being chain exported.

    Carve procedure took 1 second.

    Preface procedure took 1 second.

    Inset procedure took 13 seconds.

    Fill procedure took 59 seconds.

    Speed procedure took 1 second.

    Raft procedure took 1 second.

    Skirt procedure took 0 seconds.

    Comb procedure took 0 seconds.

    Cool procedure took 1 second.

    Dimension procedure took 1 second.

    Traceback (most recent call last):

    File "app_main.py", line 51, in run_toplevel

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura.py", line 80, in

    main()

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura.py", line 72, in main

    sliceRun.runSlice(args)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\util\sliceRun.py", line 81, in runSlice

    skeinforge_craft.writeOutput(fileName)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\skeinforge_application\skeinforge_utilities\skeinforge_craft.py", line 135, in writeOutput

    return pluginModule.writeOutput(fileName, shouldAnalyze)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\skeinforge_application\skeinforge_plugins\craft_plugins\export.py", line 275, in writeOutput

    gcodeText = skeinforge_craft.getChainTextFromProcedures(fileName, procedures[: -1], gcodeText)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\skeinforge_application\skeinforge_utilities\skeinforge_craft.py", line 44, in getChainTextFromProcedures

    text = craftModule.getCraftedText(fileName, text)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\skeinforge_application\skeinforge_plugins\craft_plugins\alteration.py", line 96, in getCraftedText

    return getCraftedTextFromText(archive.getTextIfEmpty(fileName, text), repository, fileName)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\skeinforge_application\skeinforge_plugins\craft_plugins\alteration.py", line 106, in getCraftedTextFromText

    return AlterationSkein().getCraftedGcode(gcodeText, repository, fileName)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\skeinforge_application\skeinforge_plugins\craft_plugins\alteration.py", line 182, in getCraftedGcode

    self.addFromUpperLowerFile(repository.nameOfStartFile.value) # Add a start file if it exists.

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\skeinforge_application\skeinforge_plugins\craft_plugins\alteration.py", line 174, in addFromUpperLowerFile

    self.distanceFeedRate.addLinesSetAbsoluteDistanceMode(alterationFileLines)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\fabmetheus_utilities\gcodec.py", line 361, in addLinesSetAbsoluteDistanceMode

    self.addLine('()' + line)

    File "F:\Ultimaker\Cura 12_08\Cura_12.08\Cura\cura_sf\fabmetheus_utilities\gcodec.py", line 330, in addLine

    self.output.write(line + '\n')

    UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 53: ordinal not in range(128)

    Where does i find the Unicode?

  • Link to post
    Share on other sites
    Posted · Cura don´t Slice to Gcode

    I think I know where it goes wrong. Could you try removing the {filename} tag from the start code to see if that solves it? I thought I tested that... but looks like it is causing problems with none-acsii chars.

  • Link to post
    Share on other sites
    Posted · Cura don´t Slice to Gcode

    Daid, your a little wizzard. :lol:

    That was the problem.

    Thank you :D

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Startups, apply for the Forward AM Innovation Award!
        Are you a startup using 3D printing? Perhaps you should continue reading... 
         
        Together with BASF we are launching the Forward AM Innovation Award - the very first global contest for startups developing new applications with 3D printing!
         
        Why apply?
        The winning startup will receive €100,000 in goods and services*, along with coaching and marketing exposure from top-notch leaders in the industry.
         

         
        Who can apply?
        Your startup creates products using Additive Manufacturing, is less than 5 years old, and has less than 50 employees. We are looking for 3D printing applications with a strong focus on innovation, sustainability and scalability.
         
        Dental aligners, shoes, tools, automotive parts, music instruments, industrial tooling and molding, medical implants, sports equipment, toys, architecture, fashion, construction... all are welcome to join!
         
        Do you have an innovative, sustainable and scalable idea that leverages the unique possibilities of 3D printing? Then it is time to apply!
        More information can be found here.
         
        Applications close on March 28th, 2021
        * What does "in goods and services" mean?
        The winner will be able to pick any item from the overall product and service portfolio of the sponsors, e.g. printers, materials, consulting, software... Choose whatever you need to accelerate your startup.
         
          • Like
        • 0 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 0 replies
    ×
    ×
    • Create New...