Jump to content

Recommended Posts

Posted · Error while processing certain files, no correlation found so far

Hello dear Ultimaker people,

 

first things first: i print on a S5 and slice my files using Cura 4.4.1 or 3.6 on a Windows 10 machine.

The issue i have:

All my colleagues use the printer without problems but my models abort on the first centimeters (an error occurred while processing the file on line xxx) since about the firmware update from 4th of December. My colleagues use cura and i mostly use blender so i modeled a test object, one in cura and one in blender -> both were printable without error. So i tried different export methods: i used .obj i imported the stl in cura and exported it again -> nothing worked, some models are just not printable even though the slicing worked without problems. I even opened the g-code file and searched for the mentioned line but it was just a normal command as every other. So i tried printing it via ethernet -> same problem. A colleague then generated the print file for me on his laptop using an older cura software -> no sucess there either. I also updated the Firmware to the 12 of December version -> still no change. Changing some print settings also failed.

I am at the end of my wisdom now, are there any other factors that could influence the print in such a way?

  • Link to post
    Share on other sites

    Posted · Error while processing certain files, no correlation found so far

    the TL;DR is sent me logs and a sample and I might be able to find out more.

     

    long version:

    Thinking out loud(in text) here...

    The first thing that comes to mind is a corrupted/broken usb stick, that can cause similar problems, but you're printing via Ethernet...
    Try to use the UFP format, if you're not already that will likely detect corruption since it's a zip container.

    On 2/6/2020 at 1:07 PM, Robot_Rob said:

    one in cura and one in blender -> both were printable without error.

    I assume you don't mean you use Cura to design, so are you slicing in some other program or designing your input in some other program? I assume blender and some other CAD tool? you tried OBJ output as well... (from the other cad tool as well?)

     

    On 2/6/2020 at 1:07 PM, Robot_Rob said:

    I am at the end of my wisdom now, are there any other factors that could influence the print in such a way?

    Not really most of everything is passed trough and if Cura generated the output so it should be good for our printer. The only bit of code that can go wrong is this.

                    while True:
                        line_count += 1
                        line = f.readline()
                        if len(line) < 1:
                            break
    
                        # Skip empty lines.
                        line = line.strip()
    
                        # We can get bytes back, but from now on we work with strings, so convert them.
                        if type(line) is bytes:
                            line = line.decode("utf-8")
    
                        if len(line) == 0:
                            continue
                        if line.startswith(";"):
                            self._time_estimator.parseLine(line)
                            self._parseMetaData(line)
                            continue
    
                        self._controller.queueGCode(line)
    
                        if self._abort:
                            self._controller.abortQueue()
                            log.info("File handler aborted")
                            break

    This is the only part that exception you got can come from.

    - The readline reads either plain text (in the case of a .gcode file) or reads from a zip stream (in case it reads from a .ufp file). the reading from the zip stream could fail, IO could fail for instance if a USB stick is removed during printing.

    - The line has to be valid utf-8, this is where file corruption usually goes wrong.

    - The timeEstimation and _parseMetaData could cause errors, they do assume the lines that start with:

    • ;LAYER:
    • ;LAYER_COUNT:
    • ;TIME_ELAPSED:

    That there is a integer following the first 2 and a float following the last, if that is not the case it will break there...

    obviously the abort is not set so.

     

    You could send me the logs of the print, you can dump the logs to usb via maintenance -> diagnostics -> dump logs to usb. Maybe include a sample failing ufp or gcode file, if printing from USB please also include the file read back from the usb stick.

  • Link to post
    Share on other sites

    Posted (edited) · Error while processing certain files, no correlation found so far

    Hi there, thanks for the nice reply,

     

    i don't believe the usb stick is broken, my colleagues use it as well without problems.

    Also i made a mistake in the last post, CREO is the other program my colleagues and me are using for modeling. I only sliced in cura.

    I'm not sure how this code could help me but i will attach those files (for some reason i can't upload ufp files. and i was unsure which log file is the right one so i send a lot). i usually use ufp.

    I still wonder what could have changed since it worked fine in November and earlier.

    failed print.3mf process_data.log sensor_data.log dmesg.log flow_ptcr-Ultimaker.log process_data.log sensor_data.log flow_ptcr-Ultimaker.log

    Edited by SandervG
    Removed ~30 attachments
  • Link to post
    Share on other sites

    Posted · Error while processing certain files, no correlation found so far

    @Robot_Rob should be able to send them, I don't have any attachments stored. The initial message had too many attachments too approve, so I had to remove (which seemed like) the most generic ones. Apologies for the inconvenience. 

  • 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

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 7 replies
    ×
    ×
    • Create New...