Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCan't Load Cura Profile #795
Comments
This comment has been minimized.
This comment has been minimized.
|
Should be fixed in |
This comment has been minimized.
This comment has been minimized.
|
Same issue but no log entries. Still reporting in console: Empty string passed to getElementById(). jquery.min.js:3:0 |
This comment has been minimized.
This comment has been minimized.
|
Have you cleared your browser's cache? If so, please provide the stack trace for that error. |
This comment has been minimized.
This comment has been minimized.
|
Yes, cleared cache. Never done a stack trace so downloaded firebug extension and called "trace" on the error. Does http://pastebin.com/LCrbKZsw help? Also, I noticed a behavior that if I select the .ini for upload and don't fill in the fields to override the default input text, most of the time it will upload the file. |
This comment has been minimized.
This comment has been minimized.
|
Hm, that trace sadly doesn't help. And I cannot reproduce it at all, current version in firefox works fine, just as expected. Do you have any additional errors in your console that might indicate that it's not fully loading the files? It sounds like it can't properly attach the view model to the dialog due to that error (that's just a wild guess though, since I can only guess without a proper trace to work on), but from the code there's definitely no empty string passed here. What you could do is in your browser download
Please also try another browser (e.g. Chrome) to see if that error persists there (if so, that would at least give us a proper stack trace, if not it would narrow down the issue). |
This comment has been minimized.
This comment has been minimized.
|
Reproduced on Chrome. Here's from its JS console: Thank you |
This comment has been minimized.
This comment has been minimized.
|
OH and yes, the cura.js tail ends fine. Thank you |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Yes, "Could not convert Cura profile". Thank you. |
This comment has been minimized.
This comment has been minimized.
|
I am having this same problem too... |
This comment has been minimized.
This comment has been minimized.
|
Both of you, please provide the profiles that fail to import. Apparently something's in them that OctoPrint can't parse and I'll need examples to figure out what that is. |
This comment has been minimized.
This comment has been minimized.
|
https://drive.google.com/file/d/0BwhomOh6F9rSNmRpQXlQV2JZVHM/view?usp=sharing It's from https://github.com/kefir-/M2-config/ As previously mentioned, I can import it if I don't customize the default name/description inputs. |
This comment has been minimized.
This comment has been minimized.
|
When you are customizing it, what are you putting in instead of the
defaults?
|
This comment has been minimized.
This comment has been minimized.
|
Various attempts but most recently: asdf in all three fields. Have tried Thanks On Thu, Mar 5, 2015 at 2:33 PM, Gina Häußge notifications@github.com
|
This comment has been minimized.
This comment has been minimized.
|
Hm... I just tried the profile (sorry it took so long), can import it just fine, with and without customization. Any others that don't work? I cannot reproduce it at all :/ |
This comment has been minimized.
This comment has been minimized.
|
I'll try some others when I get some time. The devel install went on the On Mon, Mar 23, 2015 at 6:03 AM, Gina Häußge notifications@github.com
|
This comment has been minimized.
This comment has been minimized.
|
I'm still seeing this also on mac safari and mac firefox with Version: 1.2.10 and Version: 1.2.18 The ini file I'm trying to import is attached. Hitting the Confirm button does nothing. EDIT: OK I think I understand what is happening now, Octoprint checks the format of the ini file and refuses to upload it if it doesn't recognise the format. It would be good to pop up an error message when this happens, it would save you from reading stupid questions like mine! I'm afraid I don't know enough about front end web dev or the framework you are using to help with this though. |
This comment has been minimized.
This comment has been minimized.
|
@willyt That doesn't look like a Cura 15.x profile. This is what a Cura 15.x profile looks like. Your's is missing the headers, and the keys are also named completely differently. Where's that profile from? The Cura plugin currently bundled with OctoPrint supports only profile See OctoPrint On Air Episode 4 for a short demonstration of how to get such a profile. |
This comment has been minimized.
This comment has been minimized.
|
I had this same problem, and then noticed the "Confirm" button still spinning to show "busy" even after I aborted. I closed the instance of Octoprint and started a new one. This solved problem. |
This comment has been minimized.
This comment has been minimized.
|
@johnpettybone -- What procedure exactly did you use to restart your instance? I have the same issue (made a new thread, #2368 ) and haven't been able to resolve it by restarting Octoprint through the browser. |
This comment has been minimized.
This comment has been minimized.
|
@agribov I tried deleting the cache in Chrome first, but this didnt stop the “busy” animation spinning on the “confirm” button on the “add profile” pop up page. The next thing I did was go to the “Instance” drop down menu at the top left of the Octoprint GUI, and chose to close the current instance. Once Octo reloaded the animation on the confirm button was gone, and I was able to add as many profiles as I wanted. Clearing the cache in conjunction may be necessary. Just closing the browser wouldnt resolve it for me. I had tried that several times. It only stopped the program from resuming right back into the loop when I used the drop down box to “close this instance of Octoprint”. Hope this helps. I am not a programmer, so I cant technically tell you what is happening script wise. |
This comment has been minimized.
This comment has been minimized.
|
Still broken for OctoPi install of 1.3.8. |
This comment has been minimized.
This comment has been minimized.
Yeah, I'm not surprised that the Cura plugin can't import a Slic3r profile ;) |


Attempting to load Cura profile.
Successfully load profile.
Interface stalls and does nothing. Window stays open.
Version: 1.2.0-dev-563-gdec9f47 (devel branch
(if applicable - always include if unsure):
MakerGear M2
System running Browser (if applicable - always
include if unsure):
Firefox 36.0
http://pastebin.com/itZNaJqk
gist.github.com or pastebin.com (if applicable - always
include if unsure):
N/A
on gist.github.com or pastebin.com or alternatively a
screenshot (if applicable - always include if unsure):
http://pastebin.com/zuEuVCG0
include if unsure):
http://snag.gy/tq4d0.jpg
I have read the FAQ.