Comments (13)
Hey @cp2004 I'll try take a look at this in a bit 🙂
from octoprint-eeprom-marlin.
I don't have access to octoprint anymore as I'm stucked on this dialog
New solution in OctoPrint 1.5.0 (since you seem to be running the RCs) - the recovery page.
Head to http://<yourip>/recovery
then you should be able to start OctoPrint in safe mode, delete the plugin and then restart OctoPrint and become 'un-screwed'
In the meantime, I will investigate why this happens. There is nothing in this plugin that can stop the wizard closing (literally only HTML, no script in that one) so I need to investigate this upstream.
To do this, I have a feeling it might be configuration-specific. Could you upload a redacted config.yaml (ie. take out API keys, unique tokens etc. - anything that looks like it might be risky sharing. There shouldn't be too much, but definitely API key.). This would really help, since I don't think I can reproduce this, but it is not the first time I have seen this problem.
from octoprint-eeprom-marlin.
@reggaemanu Any news on whether you've been able to look at this? I would like to know if it is a potential bug in 1.5.0rc series, which is planned for next week. I have only seen this twice, and both times they were on 1.5.0rc, so it would be great if we could look into this.
Thanks!
from octoprint-eeprom-marlin.
from octoprint-eeprom-marlin.
No worries, thanks for getting back to me!
from octoprint-eeprom-marlin.
Here's my config.yaml file
config.txt
from octoprint-eeprom-marlin.
Thank, I will take a look and see if we can find something.
from octoprint-eeprom-marlin.
For what it's worth, though this may well have been found already! The following messages are logged to console on each attempt to close the wizard dialog.
from octoprint-eeprom-marlin.
@cohaolain could I get an OctoPrint.log please? Internal server error is definitely something that needs investigation.
from octoprint-eeprom-marlin.
I just tried to reproduce in a clean config, containerised instance - couldn't reproduce it this time. So likely either
- a compatibility issue with the update (in the sense that having a config generated by an older version is causing issues)
and/or - a plugin conflict - I have quite a few plugins in my production octoprint instance.
I'll see if my production octoprint log has anything useful in it, unsure what my verbosity was set to last time (and can't try to reproduce right now, currently mid-print 😄 )
from octoprint-eeprom-marlin.
Here's all the relevant log entries related to the above:
2020-11-28 22:41:10,222 - octoprint - ERROR - Exception on /api/settings [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.8/site-packages/octoprint/server/util/flask.py", line 1539, in decorated_view
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/octoprint/vendor/flask_principal.py", line 199, in _decorated
rv = f(*args, **kw)
File "/usr/local/lib/python3.8/site-packages/octoprint/server/api/settings.py", line 387, in setSettings
response = _saveSettings(data)
File "/usr/local/lib/python3.8/site-packages/octoprint/server/api/settings.py", line 933, in _saveSettings
"gcode", name, script.replace("\r\n", "\n").replace("\r", "\n")
AttributeError: 'NoneType' object has no attribute 'replace'
2020-11-28 22:41:10,224 - tornado.access - ERROR - 500 POST /api/settings (172.23.0.1) 5.32ms
from octoprint-eeprom-marlin.
Thanks for the insight, I will try and take a look. This doesn't look fun, and must be configuration specific.... 😢
from octoprint-eeprom-marlin.
Fix for this is ready for OctoPrint 1.6.0, (not 1.5.0) since it was not a regression.
Details: OctoPrint/OctoPrint@ba27cdf
Closing this issue since the root cause has been fixed & I'm not to blame, and in the next version of the plugin the wizard dialog will be gone anyway.
from octoprint-eeprom-marlin.
Related Issues (20)
- CR-10 Smart printer isn't recognized as Marlin firmware HOT 5
- IMPORTANT: The next release of this plugin will not support Python 2
- Upgrade pre-commit and add pyupgrade HOT 1
- [Request]: Automatic scheduled EEPROM backups HOT 3
- Retrieve and Set Stealthchop for TMC Drivers[Request]: HOT 4
- [Bug]: PluginManager typo -> link to gihtub HOT 4
- [Request]: Only FIRMWARE INFO in the left column HOT 14
- [Bug]: Doesn't work with Snapmaker 2.0 A350 HOT 3
- [Request]: When enabled in Firmware, Add M306 data to Temperature tab HOT 7
- [Bug]: E0 stepper current not saved HOT 3
- Please add MPC to the menu HOT 2
- [Request]: Add LONG_FILENAME_WRITE_SUPPORT HOT 2
- [Bug]: After Marlin Update, ignore crc mismatch, restoring a config M112 ERROR when no bed mesh is stored HOT 2
- [Request]: Add M914 TMC Bump Sensitivity HOT 1
- [Request]: Add M423 support HOT 1
- [Request]: Using eprom locked on iPad HOT 6
- [Request]: Separate X and Y values for Input Shaping HOT 1
- Support- Willing to pay for your time HOT 1
- [Request]: Unkown Command M207 x8/x20 HOT 1
- [Bug]: Cannot install on Python 3.12 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-eeprom-marlin.