New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing issue with repetier-firmware (master & staging) #336

Closed
lynnroth opened this Issue Jan 1, 2014 · 11 comments

Comments

5 participants
@lynnroth

lynnroth commented Jan 1, 2014

Having issues with printing to a machine running repetier firmware (.81)

With master, it seems to start printing. The temps go up and then it starts moving, but there is a second or two between each command. Lots of waits in the log.
Log: https://gist.github.com/lynnroth/8208410

With staging it never starts printing. Lots of waits in the log.
Log: https://gist.github.com/lynnroth/8208425

This is running on debian on a beaglebone black.

@foosel

This comment has been minimized.

Owner

foosel commented Jan 1, 2014

Hm. Does it work with the exact same hardware but a different host controller? Because according to those logs the firmware in both cases really takes its time to acknowledge any command sent... It definitely shouldn't take ~5sec to reply to a M105 temperature request as it does here:

2014-01-01 14:05:54,589 - SERIAL - DEBUG - Send: N1 M105*38
2014-01-01 14:05:54,603 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:54,610 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:54,618 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:54,625 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:55,600 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:56,601 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:57,602 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:58,603 - SERIAL - DEBUG - Recv: wait
2014-01-01 14:05:59,604 - SERIAL - DEBUG - Recv: ok 1

@daftscience (sorry for pinging you, but you are always the first person on my mind when I ask myself "who uses repetier firmware with OctoPrint" ;)): Does the current master work reliably on your end?

@daftscience

This comment has been minimized.

Contributor

daftscience commented Jan 1, 2014

It's cool :) So my printer was actually behaving that way a while ago. I had other things going on and never really investigated it too much. Eventually, I switched to a BBB and started using repetier 0.90b and the problem went away. It sounds like the issue might have been on the repetier end.

The newest master branch of repetier is 0.91. I haven't tried that yet, but I might suggest it as the older development branch is working for me.

@lynnroth

This comment has been minimized.

lynnroth commented Jan 1, 2014

I haven't tried another host controller. I don't have a GUI set up yet on the BBB, so perhaps I will have to get that up and running.

I was also considering upgrading the firmware as well so I will get a few of those things updated.

I will update this ticket with anything that I can find.

Thanks for your help and suggestions.

@lynnroth

This comment has been minimized.

lynnroth commented Jan 4, 2014

I updated to the latest repetier-firmware and was still having similar issues.

I decided to try marlin and things just seem to work now. I do get pauses every once in a while.

Thanks for your suggestions with this.

@Auzze

This comment has been minimized.

Auzze commented Jan 4, 2014

HI.

trying changing the memory slit on the pi to 128 or 256
I have the same problem till I increaced it.

Auzze

On Sat, Jan 4, 2014 at 10:16 PM, Lynn A. Roth notifications@github.comwrote:

I updated to the latest repetier-firmware and was still having similar
issues.

I decided to try marlin and things just seem to work now. I do get pauses
every once in a while.

Thanks for your suggestions with this.


Reply to this email directly or view it on GitHubhttps://github.com//issues/336#issuecomment-31576306
.

Stuart (Auzze) Mitchell
Australia

@foosel

This comment has been minimized.

Owner

foosel commented Jan 5, 2014

Regarding the memory split suggestion: http://raspberrypi.stackexchange.com/a/674

Since @lynnroth is using a BBB though and not a Raspberry Pi, that won't help him. Leaving it here only for reference.

@lynnroth

This comment has been minimized.

lynnroth commented Jan 9, 2014

I switched back to Repetier to see what I could get going and I just did a print successfully with octoprint staging with repetier firmware .91.

It seemed to print fine, but I get this message in the console multiple times during the print (every few seconds). Is this anything to worry about or is there some change I should make?

Thanks

Exception in thread Thread-52:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(_self.__args, *_self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.0.0_rc2-py2.7.egg/octoprint/timelapse.py", line 201, in _captureWorker
urllib.urlretrieve(self._snapshotUrl, filename)
File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.7/urllib.py", line 239, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.7/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 344, in open_http
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 958, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 818, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 780, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 761, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
IOError: [Errno socket error] [Errno 111] Connection refused

@foosel

This comment has been minimized.

Owner

foosel commented Jan 9, 2014

Looks like you have time-lapse creation enabled but the snapshot url is
either misconfigured or the webcam server is not reachable

@lynnroth

This comment has been minimized.

lynnroth commented Jan 11, 2014

Looks right. Thanks for all your help in getting this up and running. I have successfully printed with octoprint/staging and repetier .91.

@lynnroth lynnroth closed this Jan 11, 2014

@mifga

This comment has been minimized.

mifga commented Oct 23, 2014

Any update on the state of Repetier 0.91 communication with OctoPrint? I have an Orion that i'd like to run on my OctoPi rig and would love to know if i need to be pulling down an in-progress trunk version of OctoPrint for this purpose!

@foosel

This comment has been minimized.

Owner

foosel commented Oct 24, 2014

I'm not aware of any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment