Comments (13)
From 20,000 ft I don't think this has anything to do with your fresh install....
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_bettergrblsupport/init.py", line 282, in deSerializeGrblSettings
self.grblSettings.update({int(set[0]): [set[1], self.grblSettingsNames.get(int(set[0]))]})
IndexError: list index out of range
Indicates the plugin is having a hard time iterating your GRBL firmware settings. Has it ever worked with your engraver?
from octoprint-bettergrblsupport.
What version of GRBL is on your engraver?
Assuming your engraver is actually connected, compare your "$$" results with the list provided here: https://github.com/synman/Octoprint-Bettergrblsupport/blob/master/octoprint_bettergrblsupport/static/txt/grbl_settings.txt
from octoprint-bettergrblsupport.
GRLB of mine is 1.1 I think f or g.
The grbl_settings.txt are not showing up in the plugins area? This is what caused me to trace down the errors in the log. My laser will not connect I keep getting a errors below. Not sure what i am doing wrong?
terminal output from when I try to connect.
I connect trough other software and was able to send a M5 and it worked.
Serial port list: ['/dev/ttyUSB0']
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Detecting serial port" to "Opening serial port"
Connected to: Serial<id=0xaa93cbb0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Starting baud rate detection...
Changing monitoring state from "Opening serial port" to "Detecting baudrate"
Trying baudrate: 115200
Send: M5
Recv: error:7
Changing monitoring state from "Detecting baudrate" to "Error: error:7"
Send: M112
Send: N1 M11232
Send: N2 M104 T0 S035
Changing monitoring state from "Error: error:7" to "Offline (Error: error:7)"
Connection closed, closing down monitor
from octoprint-bettergrblsupport.
Error 7
EEPROM read fail. Using defaults An EEPROM read failed. Auto-restoring affected EEPROM to default values.
This is coming from your laser's control board.
documented here: https://github.com/synman/Octoprint-Bettergrblsupport/blob/master/octoprint_bettergrblsupport/static/txt/grbl_errors.txt
from octoprint-bettergrblsupport.
I found this when doing an omniscient google search:
grbl stores its parameters (the ones you posed above) in the ATmega328P EEPROM. When retrieving theses parameters if there is an error then grbl uses the defaults that were loaded in with the firmware.
So, there is a problem reading the EEPROM on your ATmega328P. If you know how to use the Arduino IDE you can run the example program to clear the EEPROM and start over.
A reload of the firmware might take care of the problem, maybe not.
While using your "other" software, what software is that specifically? What happens if you type "$$" in that other software's terminal window?
from octoprint-bettergrblsupport.
hmm.... while I never intended for the plugin to be used as part of initial system setup I'm going to guess, at the very least you have not saved / initialized your built-in GBRL settings ($$). Your control board is barfing because it is trying to read them from its internal storage (EEPROM) and it is not finding them.
I can probably ignore this error on connection, or treat it as a warning, but you really do need to get your GRBL firmware settings saved on the actual EEPROM. This usually involves some configuration on your part as a ton of settings critical to performing successful operations come from this storage area.
from octoprint-bettergrblsupport.
I was using lightburn. now I see you are pull the grlb_settings from the printer. that is why it does not show yet.
Below is what i am getting.
[VER:1.1f.20170801:]
[OPT:VI,15,128]
Target buffer size found
ok
$$
$0=10
$1=25
$2=0
$3=0
$4=0
$5=0
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=0
$23=0
$24=25.000
$25=500.000
$26=250
$27=1.000
$30=1000
$31=0
$32=1
$100=80.000
$101=80.000
$102=250.000
$110=6000.000
$111=6000.000
$112=1000.000
$120=1000.000
$121=1000.000
$122=10.000
$130=410.000
$131=400.000
$132=200.000
ok
I also noticed that when lightburn connected I see these errors
Waiting for connection...
error:7
Waiting for connection...
error:7
EEPROM read failed. Reset and restored to default values.
from octoprint-bettergrblsupport.
ok so the values are not stored correctly in the controller board then. do I need to recompile the grlb with the values and re flash it? I figure the manufacture would have done this but you never know.
from octoprint-bettergrblsupport.
Like the guy I quoted above, I really have no idea. I can only guess what root cause is based on the information you feed me. I'm working on a couple things tonight... One is a general "ignore errors" option.
Try this and see if the error goes away:
- copy everything above from $0 through $132 to your clipboard
- paste it back into the Lightburn terminal window (be sure to press enter if your copy/paste doesn't include a carriage return for $132)
- disconnect and reconnect
I wonder if forcing a write of each setting will clear the error.
from octoprint-bettergrblsupport.
ok thanks. I was also making some changes to the error checking loop to ignore the error to see what happens.
I will try it in the morning and see if that help.
Thanks!!!!!
from octoprint-bettergrblsupport.
you'll find I have the constructs for it already.... look for self.ignoreErrors. I'll have a release candidate available in a bit that has it exposed as a configurable setting in the UI in an hour or so.
from octoprint-bettergrblsupport.
guess we can call this an enhancement request :)
from octoprint-bettergrblsupport.
I installed the updates and checked the box ignore firmware errors but I still could not connect. still getting error 7.
I also flashed the controller to 1.1h from 1.1e and now it works with out checking the ignore firmware error box.
So it was really the incorrect firmware for your plugin not your software.
I am doing my first etch using octoprint now.
Thanks!!!!
from octoprint-bettergrblsupport.
Related Issues (20)
- version needs to be updated in release 2.2.2 HOT 8
- Issue when upgrading HOT 3
- Easier jogging - joystick and keyboard? HOT 10
- Clean up Feed Hold and Cycle Start/Resume Handling
- Invalid Argument Error on install HOT 10
- Grbl Settings Mismatch between GrblHAL and Grbl_Esp32 HOT 1
- cant have 3D printer and laser cutter on same Raspberry Pi. HOT 2
- Managing offsets and baby stepping HOT 3
- Rest API? HOT 1
- ability to convert inches to mm HOT 3
- can only have one printer profile HOT 1
- Octoprint 1.9 - Bettergrbl wont work at all? HOT 21
- Add support for X/Y position before Z probe HOT 3
- OctoPrint 1.9.0 Broke Better GRBL Support HOT 2
- Octoprint GRBL help HOT 1
- Xtool D1 - Controls Grayed out HOT 4
- Missing Tabs after switching to 3d-printer HOT 4
- GRBL Settings -- No settings appear HOT 3
- Oddities when rebooting / reconnecting to ESP32 XPro V5 Controller
- Octoprint 1.8.6 Error when installing plugin 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-bettergrblsupport.