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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 181 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 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!