When using Octoprint I can not manage any files on my sd card. Is there something special that needs to be enabled for this support?
Are you using Repetier? I found that it doesn't always update the sd card
file list.
On Oct 23, 2013 4:21 PM, "bassrock" [email protected] wrote:
When using Octoprint I can not manage any files on my sd card. Is there
something special that needs to be enabled for this support?—
Reply to this email directly or view it on GitHubhttps://github.com/foosel/OctoPrint/issues/289
.
Yes I am. It won't even let me access the as card.
On Oct 23, 2013, at 2:33 PM, emccarron [email protected] wrote:
Are you using Repetier? I found that it doesn't always update the sd card
file list.
On Oct 23, 2013 4:21 PM, "bassrock" [email protected] wrote:When using Octoprint I can not manage any files on my sd card. Is there
something special that needs to be enabled for this support?—
Reply to this email directly or view it on GitHubhttps://github.com/foosel/OctoPrint/issues/289
.—
Reply to this email directly or view it on GitHub.
Try doing a M20 from the controls page and see if the sd card files appear.
On Oct 23, 2013 5:34 PM, "bassrock" [email protected] wrote:
Yes I am. It won't even let me access the as card.
On Oct 23, 2013, at 2:33 PM, emccarron [email protected]
wrote:Are you using Repetier? I found that it doesn't always update the sd
card
file list.
On Oct 23, 2013 4:21 PM, "bassrock" [email protected] wrote:When using Octoprint I can not manage any files on my sd card. Is
there
something special that needs to be enabled for this support?—
Reply to this email directly or view it on GitHub<
https://github.com/foosel/OctoPrint/issues/289>
.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com/foosel/OctoPrint/issues/289#issuecomment-26947704
.
A M20 shows me a file list in the terminal but the files do not appear in the file list and the upload to sd card button stays greyed out.
When I try the initialize sd card button I get the following error:
2013-10-23 21:52:57,950 - octoprint.util.comm - ERROR - Something crashed inside the serial connection loop, please report this in OctoPrint's bug tracker:
Traceback (most recent call last):
File "/home/ubuntu/OctoPrint/octoprint/util/comm.py", line 617, in _monitor
self._callback.mcPrintjobDone()
File "/home/ubuntu/OctoPrint/octoprint/printer.py", line 446, in mcPrintjobDone
self._setProgressData(1.0, self._selectedFile["filesize"], self._comm.getPrintTime(), 0)
TypeError: 'NoneType' object has no attribute '__getitem__'
Whoops, this doesn't look like the problem I thought it was.
https://github.com/foosel/OctoPrint/issues/243
That's what I thought you might be bumping into...
On Oct 23, 2013 5:53 PM, "bassrock" [email protected] wrote:
When I try the initialize sd card button I get the following error:
2013-10-23 21:52:57,950 - octoprint.util.comm - ERROR - Something crashed inside the serial connection loop, please report this in OctoPrint's bug tracker:
Traceback (most recent call last):
File "/home/ubuntu/OctoPrint/octoprint/util/comm.py", line 617, in _monitor
self._callback.mcPrintjobDone()
File "/home/ubuntu/OctoPrint/octoprint/printer.py", line 446, in mcPrintjobDone
self._setProgressData(1.0, self._selectedFile["filesize"], self._comm.getPrintTime(), 0)
TypeError: 'NoneType' object has no attribute '__getitem__'—
Reply to this email directly or view it on GitHubhttps://github.com/foosel/OctoPrint/issues/289#issuecomment-26949407
.
Looks like I'll need some excerpts from the serial.log, take a look here on how to provide those. I'd like you to
serial.log to pastebin or gist and post the link here.@bassrock Would you be able to provide the information requested above? I won't be able to tackle this issue without it.
I'm having a similar issue I think. I grabbed the serial log and it is here:
https://gist.github.com/lynnroth/8176052
Let me know what else I can do to help with this.
Thanks
@lynnroth Did you click the "initialize SD card" button?

Yes, I did.
On Dec 29, 2013 7:24 PM, "Gina Häußge" [email protected] wrote:
@lynnroth https://github.com/lynnroth Did you click the "initialize SD
card" button?[image: image]https://f.cloud.github.com/assets/83657/1820423/bda750a2-70e8-11e3-8b0a-82793979aca9.png
—
Reply to this email directly or view it on GitHubhttps://github.com/foosel/OctoPrint/issues/289#issuecomment-31329276
.
Argh, just found in the log, sorry for asking.
Taking a closer look into the Repetier firmware it looks like it doesn't report back if M21 was executed successfully, only if it failed (Marlin prints something like "SD card initialized" to serial, which OctoPrint currently uses as a trigger to enable the SD stuff). Which means I'll have to add another workaround, something like a checkbox to always enable the SD stuff for Repetier. Which branch are you on?
Cool. Thanks for looking into it.
I'm on Master right now, but I can switch to devel if it would be helpful.
On Mon, Dec 30, 2013 at 8:40 AM, Gina Häußge [email protected]:
Argh, just found in the log, sorry for asking.
Taking a closer look into the Repetier firmware it looks like it doesn't
report back if M21 was executed successfully, only if it failed (Marlin
prints something like "SD card initialized" to serial, which OctoPrint
currently uses as a trigger to enable the SD stuff). Which means I'll have
to add another workaround, something like a checkbox to always enable the
SD stuff for Repetier. Which branch are you on?—
Reply to this email directly or view it on GitHubhttps://github.com/foosel/OctoPrint/issues/289#issuecomment-31345977
.
Are there any work arounds as of yet?
I have this issue too
I have the issue as well :(
I am on devel.
I realized that I have to enable it in the config but the enabled item is removed from the section after I run octoprint.
Mhmm, also gCode viewer is not working on my devel installation. It was before on master but I need two extruders :(
Could you watch for "ok" response to M21?
No, since I can't distinguish it from any other OK, at least not with the
current communication layer. I'm working on a complete rewrite of that
where this will be possible, but that takes time and concentration.
Hello,
I know this is a old thread, but it describes exactly what I'm seeing while using Octoprint with the Monoprice Select Mini.
Issuing M20 would return the SD contents, but initializing the card would return OK instead of the aforementioned "SD Card Initialized".
Is there any way to implement the fix for assume SD card present for Marlin firmware as well?
Terminal window with M21 below:
Connecting to: /dev/ttyACM0
Changing monitoring state from 'Offline' to 'Opening serial port'
Connected to: Serial<id=0x6e3d53b0, open=True>(port='/dev/ttyACM0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from 'Opening serial port' to 'Connecting'
Send: N0 M110 N0*125
Recv: ok N0 P15 B15
Changing monitoring state from 'Connecting' to 'Operational'
Send: N0 M110 N0*125
Recv: ok N0 P15 B15
Send: N1 M115*39
Recv: NAME: Malyan VER: 2.9 MODEL: M200 HW: HA02
Recv: ok N1 P15 B15
Send: N2 M21*18
Recv: ok N2 P15 B15
Send: N3 M105*36
Recv: ok N3 P15 B15 T:79.5 /0.0 B:30.1 /0.0 T0:79.5 /0.0 @:0 B@:0
Most helpful comment
Hello,
I know this is a old thread, but it describes exactly what I'm seeing while using Octoprint with the Monoprice Select Mini.
Issuing M20 would return the SD contents, but initializing the card would return OK instead of the aforementioned "SD Card Initialized".
Is there any way to implement the fix for assume SD card present for Marlin firmware as well?
Terminal window with M21 below: