Duet3D / DuetWebControl

A completely new web interface for the Duet electronics
GNU General Public License v3.0
408 stars 229 forks source link

[DWC2] Unable to get status data #95

Closed PatrikTheDev closed 5 years ago

PatrikTheDev commented 5 years ago

Hi, I just compiled DWC2 and it looks stunning, but there is a problem with getting status info, it complains about some timer and some things that disappear quickly, I can home the printer, but it never knows if it is already homed, the same with sending gcode

chrishamm commented 5 years ago

What board, printer and browser are you using? If you decide to try it out, it's probably a good idea to run it locally via 'npm run dev'. This makes debugging easier because the stack traces in the JS console are more verbose compared to the on-board variant.

PatrikTheDev commented 5 years ago

I run it locally on my machine with npm run serve, it fails to connect most of the time but when it does id does not receive status from the board

snimek obrazovky 2018-12-22 v 11 49 54
PatrikTheDev commented 5 years ago
snimek obrazovky 2018-12-22 v 11 33 40
PatrikTheDev commented 5 years ago

BTW I think the DWC should detect if you have a probe and if you do then not show the option to do G32 bed leveling

PatrikTheDev commented 5 years ago

I am using a Duet WiFi on RRF 2.02RC6 (the newest)

PatrikTheDev commented 5 years ago

and one other question, I can just build this and put it on the SD card?

chrishamm commented 5 years ago

Thanks, will check it out. What browser are you using?

On Saturday, December 22, 2018, Patrik-svobodik notifications@github.com wrote:

I am using a Duet WiFi on RRF 2.02RC6 (the newest)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.< https://ci6.googleusercontent.com/proxy/iz0NxN0sTKLI4YpoULRZWk7bA_a-ylRoyqvbjLYKsEOAwpw5GjeNtdqX1v1lR-yvI14kLiWh82sZMuUDQe8APFLYtraeFHxNxLjSbO6lLVY7lEfLyi9vr8-qdwgFjsFIrxuwRywhWYNW0LiWeFEQybar9A=s0-d-e1-ft#https://github.com/notifications/beacon/AFpS2Qh_nRXQ6T2DIOlDhJLg5Jo1TkHxks5u7i3zgaJpZM4ZfbTx.gif>

chrishamm commented 5 years ago

You can build it and upload one of the zip files that are generated in dist. But I recommend you wait for dc42s next RC first because it improves support for the new web ui.

On Saturday, December 22, 2018, Christian Hammacher bmasterc@gmail.com wrote:

Thanks, will check it out. What browser are you using?

On Saturday, December 22, 2018, Patrik-svobodik notifications@github.com wrote:

I am using a Duet WiFi on RRF 2.02RC6 (the newest)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.< https://ci6.googleusercontent.com/proxy/iz0NxN0sTKLI4YpoULRZWk7bA_a-ylRoyqvbjLYKsEOAwpw5GjeNtdqX1v1lR-yvI14kLiWh82sZMuUDQe8APFLYtraeFHxNxLjSbO6lLVY7lEfLyi9vr8-qdwgFjsFIrxuwRywhWYNW0LiWeFEQybar9A=s0-d-e1-ft#https://github.com/notifications/beacon/AFpS2Qh_nRXQ6T2DIOlDhJLg5Jo1TkHxks5u7i3zgaJpZM4ZfbTx.gif>

PatrikTheDev commented 5 years ago

I use safari 12.0.1 (14606.2.104.1.1)

PatrikTheDev commented 5 years ago

just tried deploying it to my duet, it still does not work, although the connecting is almost instant and reliable, but still complains about this:

snimek obrazovky 2018-12-22 v 15 06 48
PatrikTheDev commented 5 years ago

the same happens on connect/disconnect

PatrikTheDev commented 5 years ago

and suddenly it cannot connect anymore

chrishamm commented 5 years ago

Feel free to try a 'git pull' and test it again, it's working now. Bear in mind that this version is NOT official yet and still in active development.

PatrikTheDev commented 5 years ago

It works now, thanks a lot

PatrikTheDev commented 5 years ago

So maybe it is still not fully fixed...

snimek obrazovky 2018-12-22 v 19 28 11
PatrikTheDev commented 5 years ago

I see a lot more issues, should I open a new issue?

PatrikTheDev commented 5 years ago
snimek obrazovky 2018-12-22 v 19 50 03

Záznam obrazovky 2018-12-22 v 19.42.16.zip

PatrikTheDev commented 5 years ago

for some reason the class="grey lighten-4" is added to the <tr data-v-5e8d53b0=""> element when the tool is selected and starts heating, can you do anything about it?

chrishamm commented 5 years ago

As I said the 'next' branch is NOT for production because I am still working on a lot of details and it is NOT finished yet. Once I release a first version and you notice problems, feel free to open new issues.

On Sat, Dec 22, 2018 at 8:03 PM Patrik-svobodik notifications@github.com wrote:

for some reason the class="grey lighten-4" is added to the element when the tool is selected and starts heating, can you do anything about it?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/chrishamm/DuetWebControl/issues/95#issuecomment-449591389, or mute the thread https://github.com/notifications/unsubscribe-auth/AFpS2TfhszTGJw6s1PJqHm3ZW5D46Rfyks5u7oILgaJpZM4ZfbTx .

PatrikTheDev commented 5 years ago

I know it is not ready, I am jist pointing out issues

PatrikTheDev commented 5 years ago

Your latest commit fixed the issue with active tool being white-ish, will look into the other problems, but it looks promising!

chrishamm commented 5 years ago

Sure, thanks. Here my current TODO list:

Let me know if you find anything else!

PatrikTheDev commented 5 years ago

You should invert the default sorting so that it is identical to the old DWC, or better, make ut so that it remembers what you set, when loading the GCODEs the whole interface (and sometimes my whole mac) hang and will be not responding untill it is fully loaded ne 23. 12. 2018 v 0:42 odesílatel Christian Hammacher < notifications@github.com> napsal:

Sure, thanks. Here my current TODO list:

  • file names => inline
  • document title => currently selected machine (+ print progress)
  • add piecon support again
  • utils/merge performance evaluation
  • sd card mount: remove error message
  • test on-board cache

Let me know if you find anything else!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chrishamm/DuetWebControl/issues/95#issuecomment-449604418, or mute the thread https://github.com/notifications/unsubscribe-auth/AYr07fZMyaNBXaGX4EkBoqbUtTV5b6Fxks5u7sNfgaJpZM4ZfbTx .

PatrikTheDev commented 5 years ago

And add option to not show every gcode that has been run from the UI, it is annoying (as the copyright on the bottom is, but you said it will be moved)

PatrikTheDev commented 5 years ago

and one more thing I find annoying- the button "Start another" is missing

PatrikTheDev commented 5 years ago

BTW is the language picker present as of now? I am working on a Czech translation but I am unable to test it

chrishamm commented 5 years ago

Thanks for reporting the issue with the "Start another" - I'll try to reproduce and to fix it. i18n is prepared but I haven't found more time to prepare the translations for everything but the start page. It's on my TODO list.

PatrikTheDev commented 5 years ago

I am already working on the czech translation, I just duplicated the en.js file and added it to the index.js, will it change? If yes I will wait and translate it later po 24. 12. 2018 v 13:30 odesílatel Christian Hammacher < notifications@github.com> napsal:

Thanks for reporting the issue with the "Start another" - I'll try to reproduce and to fix it. i18n is prepared but I haven't found more time to prepare the translations for everything but the start page. It's on my TODO list.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chrishamm/DuetWebControl/issues/95#issuecomment-449728517, or mute the thread https://github.com/notifications/unsubscribe-auth/AYr07fwfHH69doO81wDl2XlEVjGKmeRfks5u8MjYgaJpZM4ZfbTx .

PatrikTheDev commented 5 years ago

another problem, when I send M999 in the console it hangs because it is expecting a response, Merry Christmas BTW

chrishamm commented 5 years ago

Thanks, I've fixed it. It makes no sense to start translating everything until the i18n files are complete but I'll see what I can do. I need to take the next few days off though. Merry Christmas!

PatrikTheDev commented 5 years ago

another thing - I am unable to upload the doc files

PatrikTheDev commented 5 years ago

dwc files

PatrikTheDev commented 5 years ago

and if I upload the firmware files it does not prompt me to update

chrishamm commented 5 years ago

Use the Files/System page

On Tuesday, December 25, 2018, Patrik-svobodik notifications@github.com wrote:

and if I upload the firmware files it does not prompt me to update

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.< https://ci3.googleusercontent.com/proxy/Q_jtNw193B1dpMrZLimHy77sB36HmXkrmWtGYW1GUvp5rqjuyz_pzs47kUgxEXfY3XlYgcPABZCPKFZz6Gdl71xXKwF0Yiislvsiqp3WMmt3ZfWgGDpBtOoSfRU1hfdEPHEg1_pHCmFBsv1DiidppIQIfQ=s0-d-e1-ft#https://github.com/notifications/beacon/AFpS2VUrNcq2U2ykDUCT-0os8g6fiDFaks5u8p79gaJpZM4ZfbTx.gif>

PatrikTheDev commented 5 years ago

you broke the print dialog again in RC2

chrishamm commented 5 years ago

What print dialog?

On Wednesday, December 26, 2018, Patrik-svobodik notifications@github.com wrote:

you broke the print dialog again in RC2

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.< https://ci4.googleusercontent.com/proxy/rbHl6fIYEl6mdyiG3__0vDqWV3q7wQZXp03UCGJB_hsFO5rpEAqYMd9gWfiZCNvMpwfBvSAEvwXEJp-PSbBzXKZdOIOu_fbk544uj9KAvy3fOhg9M1GtZVFbT31vpkvRjWejiRHeubcJZiJREJZa4xf_mw=s0-d-e1-ft#https://github.com/notifications/beacon/AFpS2bH9VIuZb8z-CKqy4DVrRzdXBmLAks5u8zaZgaJpZM4ZfbTx.gif>

PatrikTheDev commented 5 years ago

the one from the video I posted here

PatrikTheDev commented 5 years ago

this one

image
chrishamm commented 5 years ago

Works perfectly fine on my setup. What is wrong on yours?

On Wed, Dec 26, 2018 at 3:27 PM Patrik-svobodik notifications@github.com wrote:

this one [image: image] https://user-images.githubusercontent.com/25883885/50448667-c333ca00-0922-11e9-8629-e48fdc3582f2.png

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/chrishamm/DuetWebControl/issues/95#issuecomment-449973991, or mute the thread https://github.com/notifications/unsubscribe-auth/AFpS2ZPsobGg1hSvrcletZ2Dr1F5Ph31ks5u84digaJpZM4ZfbTx .

PatrikTheDev commented 5 years ago

Don’t get me wrong, it works, but it should have overflow: hidden; set but it does not

PatrikTheDev commented 5 years ago

And one more thing: the G32 bed leveling should be gone if a DWC detects a probe on a cartesian or coreXY machine