Jump to content
MakerJ

Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

Recommended Posts

Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

Hello,

I just installed Cura 3.1 and all attempts to slice and save a gcode file have unsuccessful. I am not sure how to resolve this. I've tried with many simple files. The error is:

 

Could not save... 'Scene' object has no attribute 'gcode_list'

 

Thanks!

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

Could you also share your logs?

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'
7 hours ago, nallath said:

Could you also share your logs?

 

Here you go. Thank you for your help!

cura.log

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

G-code list is new in Cura 3.2. Are you using a plugin in 3.1 that's intended for 3.2? (for example the OctoPrint version that was moved to the plugin browser?).

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'
2 hours ago, ctbeke said:

G-code list is new in Cura 3.2. Are you using a plugin in 3.1 that's intended for 3.2? (for example the OctoPrint version that was moved to the plugin browser?).

 

Thanks for the suggestion. This is an out of the box install. I haven't installed any additional plugins aside from what already comes installed. That being said, looking at the list of plugins that comes pre-installed, they are all enabled(box is checked). 

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'
9 hours ago, ctbeke said:

G-code list is new in Cura 3.2.

No it is not.

 

gcode_list is what it was until Cura 3.2. In Cura 3.2 it was refactored to gcode_dict (to support multiple buildplates)

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

Omg you're totally right, it's the other way around. My bad, brainfart.

 

So it tries to access the G-code before it's generated (or correctly stored in the Scene). I'm not sure why though...

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

Unable to save gcode: 'Scene' object has no attribute 'gcode_list':  It does that when the project is not yet sliced.

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'
3 hours ago, DSX76 said:

Unable to save gcode: 'Scene' object has no attribute 'gcode_list':  It does that when the project is not yet sliced.

 

Doh.....I feel like an idiot now. 

 

 

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

You shouldn't be able to click "save" or "print" though when it's not sliced.

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'
28 minutes ago, ctbeke said:

You shouldn't be able to click "save" or "print" though when it's not sliced.

No, not with the dedicated button; that will say 'Prepare'. But you can (at least try to) save it from the menu 'File -> Save As...' and select either *.gcode or *.stl, which obviously will result in this error message. 

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'
40 minutes ago, ctbeke said:

You shouldn't be able to click "save" or "print" though when it's not sliced.

 

It was totally operator error on my part. To reproduce the issue, I just simply load the .stl file, then go to Save As and select .gcode as the Save as Type. I wasn't actually clicking on Prepare to initiate the slicing. :facepalm:

Share this post


Link to post
Share on other sites
Posted · Cura3.1 Unable to save gcode: 'Scene' object has no attribute 'gcode_list'

There's a point to be made about not having gcode (or other sliced output) as an output option in Save As. Save As... and saving the sliced output should be separated, because they are two quite different things.

Share this post


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

    • We have big news...
      "Continuous, hassle-free 3D printing, like never before! "
       
       
       
        • Like
      • 38 replies
    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!