Stephan3 / dwc2-for-klipper

A translator between DWC2 and Klipper
GNU General Public License v3.0
160 stars 38 forks source link

Extrusion control disabled #7

Closed shaiss closed 5 years ago

shaiss commented 5 years ago

Extrusion control is disabled. Even when the extruder is at 220 (above the min extrusion temp) and g1 e100 f300 works, these buttons in dwc are disabled.

Screenshot http://imgur.com/IDvkPl7

Stephan3 commented 5 years ago

try latest master. It should work now. it lso adds multitool support. please report back after testing.

shaiss commented 5 years ago

Awesome and ty!

On Wed, Apr 10, 2019, 10:07 Stephan notifications@github.com wrote:

try latest master. It should work now. it lso adds multitool support.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Stephan3/dwc2-for-klipper/issues/7#issuecomment-481706172, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG5pClTnddUIZCVwYpZ69xDROM6IczVks5vffAkgaJpZM4cjktd .

shaiss commented 5 years ago

@Stephan3 I just did a pull and am now getting an error re current_tool. I presume an update is required to the printer.cfg?

Warning: Klipper state: Shutdown 4/11/2019, 3:49:25 PM: STATUS: Warning: Internal error during ready callback: web_dwc2 instance has no attribute 'current_tool' Warning: Once the underlying issue is corrected, use the Warning: "FIRMWARE_RESTART" command to reset the firmware, reload the Warning: config, and restart the host software. Warning: Printer is shutdown Warning: Klipper state: Not ready Error: Internal error during ready callback: web_dwc2 instance has no attribute 'current_tool'

mtsgsd commented 5 years ago

I found this as well. Uncaught exception GET /rr_status?type=1 (192.168.1.111) HTTPServerRequest(protocol='http', host='192.168.1.114:4750', method='GET', uri='/rr_status?type=1', version='HTTP/1.1', remote_ip='192.168.1.111') Traceback (most recent call last): File "/home/pi/klippy-env/local/lib/python2.7/site-packages/tornado/web.py", line 1592, in _execute result = yield result File "/home/pi/klippy-env/local/lib/python2.7/site-packages/tornado/gen.py", line 1133, in run value = future.result() File "/home/pi/klippy-env/local/lib/python2.7/site-packages/tornado/concurrent.py", line 261, in result raise_exc_info(self._exc_info) File "/home/pi/klippy-env/local/lib/python2.7/site-packages/tornado/gen.py", line 326, in wrapper yielded = next(result) File "/home/pi/klipper/klippy/extras/web_dwc2.py", line 247, in get self.web_dwc2.rr_status_1() File "/home/pi/klipper/klippy/extras/web_dwc2.py", line 663, in rr_status_1 "currentTool": self.current_tool, # must be at least 1 ! learned the hardway.... AttributeError: web_dwc2 instance has no attribute 'current_tool'

Stephan3 commented 5 years ago

Have you guys tries to read that pile of words on your own? Please post a log next time in readable format. Thanks

try latest master now

shaiss commented 5 years ago

@Stephan3 I pulled the master but now seems the klipper console goes through and endless restart cycle. I noticed "AttributeError: web_dwc2 instance has no attribute 'sdcard'" in the logs. pictures attached for better readability.

Screen Shot 2019-04-12 at 08 02 57 Screen Shot 2019-04-12 at 07 46 32
Stephan3 commented 5 years ago

I need to do it on my machine. It is in parts currently

shaiss commented 5 years ago

@Stephan3 np, let us know how we can help testing. for now I've rolled back to commit 707bab4 as that one works.

mtsgsd commented 5 years ago

Just an FYI, I have the rolling messages, but no errors in the log.

Stephan3 commented 5 years ago

I rolled back to earlier version for now. Theese reconnects happen when dwc webapp errors. you can see the log of dwc when you press strg+shift+i in your browser. theres a console opening then shows whats happening.

shaiss commented 5 years ago

@Stephan3 looks like issue #8 is the proper place for the reconnect problem @mtsgsd and I are reporting.

If we go back to the root of this issue, extrusion control being disabled, is that fixed in the latest commit and we should verify then close this ticket, or is that still an issue?

not trying to pressure, just trying to help make sure we have these issues cleaned up.

Stephan3 commented 5 years ago

The confusion basicaly was initiated by pushing untested code. my printer(voron 2) works with the current version on github.

Stephan3 commented 5 years ago

I am late to the party but try the current master pls. @shaiss

shaiss commented 5 years ago

Will do. I'll git pull and let you know!

On Wed, May 1, 2019, 16:44 Stephan notifications@github.com wrote:

I am late to the party but try the current master pls. @shaiss https://github.com/shaiss

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Stephan3/dwc2-for-klipper/issues/7#issuecomment-488416675, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA3TJGF36VTM3RYDIIKTE3PTH6LJANCNFSM4HEOJNOQ .

Stephan3 commented 5 years ago

@shaiss any news? should work? Can i close this?

shaiss commented 5 years ago

Crud I forgot. Let me check tomorrow and get back to you.

On Mon, May 27, 2019, 08:56 Stephan notifications@github.com wrote:

@shaiss https://github.com/shaiss any news? should work? Can i close this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Stephan3/dwc2-for-klipper/issues/7?email_source=notifications&email_token=AAA3TJGVNFMQQZVJC2TEB2TPXPK7RA5CNFSM4HEOJNO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWJXR2Q#issuecomment-496204010, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA3TJD7KOROZ7MW5GRS3GDPXPK7RANCNFSM4HEOJNOQ .