Closed Horgul123 closed 9 months ago
Can you run this endpoint against your moonraker and share me the json output. It lists all the gcode files and that’ll help me identify the issue.
https://moonraker.readthedocs.io/en/latest/web_api/#list-available-files
hmmm.. Try to figure out how to do this.... Could you please give me a hint?
Run this via ssh on your k1 curl localhost:7125/server/files/list
. If you guppyscreen.log
in /usr/data/printer_data/logs
, please share that too.
root@K1-D35C /tmp [#] curl localhost:7125/server/files/list {"result": [{"path": "3DBenchy.gcode", "modified": 1699424397.0, "size": 2979584 , "permissions": "rw"}, {"path": "600S-TEST-7m.gcode", "modified": 1699424397.0, "size": 2497441, "permissions": "rw"}, {"path": "Amazing_2934379_PLA_27m34s.gco de", "modified": 1701872131.8151731, "size": 3526327, "permissions": "rw"}, {"pa th": "Amazing_2940397_PLA_23m8s.gcode", "modified": 1701936043.563049, "size": 2 994766, "permissions": "rw"}, {"path": "base_PLA_6h19m.gcode", "modified": 17021 21221.8473463, "size": 57206484, "permissions": "rw"}, {"path": "baumkugel v1_PL A_1h27m.gcode", "modified": 1701690708.9867065, "size": 11042940, "permissions": "rw"}, {"path": "baumkugel v1_PLA_44m40s.gcode", "modified": 1701629197.8964353 , "size": 4422241, "permissions": "rw"}, {"path": "body_PLA_1h42m.gcode", "modif ied": 1702194561.595437, "size": 16481994, "permissions": "rw"}, {"path": "Cat.g code", "modified": 1699424397.0, "size": 4845908, "permissions": "rw"}, {"path": "collar_PLA_2m57s.gcode", "modified": 1702482199.6674147, "size": 174114, "perm issions": "rw"}, {"path": "Creality-filament-sensor-coupler-lever_PLA_1h2m.gcode ", "modified": 1701754391.4948206, "size": 4122918, "permissions": "rw"}, {"path ": "Creality-filament-sensor-coupler-lever_PLA_23m10s.gcode", "modified": 170172 5406.7322192, "size": 1582589, "permissions": "rw"}, {"path": "DoorSeal_BackPlat e_3mmFoam_PLA_24m6s.gcode", "modified": 1701760810.371018, "size": 765542, "perm issions": "rw"}, {"path": "Feuerwehr Platzchenform_PLA_1h20m.gcode", "modified": 1701444363.0753825, "size": 7979719, "permissions": "rw"}, {"path": "Feuerwehr Platzchenform_PLA_1h8m.gcode", "modified": 1701432414.5387244, "size": 7466795, "permissions": "rw"}, {"path": "Feuerwehr Platzchenform_PLA_5h19m.gcode", "modif ied": 1701460201.853762, "size": 31790389, "permissions": "rw"}, {"path": "Filam ent Splitter 4-Way_PLA_1h41m.gcode", "modified": 1702560827.290111, "size": 1354 1301, "permissions": "rw"}, {"path": "Flow Test 5mm_PLA_18m56s.gcode", "modified ": 1701702679.166862, "size": 506772, "permissions": "rw"}, {"path": "Harry_Pott er_Wand_PLA_33m35s.gcode", "modified": 1702214712.5221012, "size": 5063605, "per missions": "rw"}, {"path": "head_PLA_1h20m.gcode", "modified": 1702486277.214482 8, "size": 9221932, "permissions": "rw"}, {"path": "house_bottom_PLA_4h48m.gcode ", "modified": 1702461472.333281, "size": 10638750, "permissions": "rw"}, {"path ": "JC-K1-LidRiser.Hinge-Upgrade_PETG_2h49m.gcode", "modified": 1701793731.20150 76, "size": 9654936, "permissions": "rw"}, {"path": "JC-K1-LidRiser.Hinge-Upgrad e_PETG_3h4m.gcode", "modified": 1701784964.4804761, "size": 10953823, "permissio ns": "rw"}, {"path": "leg-r_PLA_2h31m.gcode", "modified": 1702031273.238592, "si ze": 23921031, "permissions": "rw"}, {"path": "Night Spirit_v1_2_og_PLA_8h49m.gc ode", "modified": 1701806840.6896107, "size": 70639398, "permissions": "rw"}, {" path": "pumpkin-up_PLA_3h59m.gcode", "modified": 1702104424.8493843, "size": 390 68419, "permissions": "rw"}, {"path": "pumpkin-up_PLA_4h51m.gcode", "modified": 1702042612.6415322, "size": 49981653, "permissions": "rw"}, {"path": "rei-arm-le ft_PLA_2h32m.gcode", "modified": 1702016132.1055698, "size": 15843598, "permissi ons": "rw"}, {"path": "rei-head_PLA_48m22s.gcode", "modified": 1701955287.866605 5, "size": 7708861, "permissions": "rw"}, {"path": "rei-hips_PLA_6h39m.gcode", " modified": 1701968750.2776682, "size": 52739349, "permissions": "rw"}, {"path": "rei-lance-lower_PLA_53m46s.gcode", "modified": 1702024163.7355776, "size": 8913 083, "permissions": "rw"}, {"path": "SpeedTestStructure_PLA_21m40s.gcode", "modi fied": 1701767844.2390473, "size": 1003326, "permissions": "rw"}, {"path": "text _PLA_18m14s.gcode", "modified": 1702483395.1144228, "size": 1770895, "permission s": "rw"}, {"path": "Warning light mount for car_PLA_1h52m.gcode", "modified": 1 702906586.054776, "size": 4906936, "permissions": "rw"}, {"path": "Warning light mount for car_PLA_29m33s.gcode", "modified": 1702900030.5513184, "size": 719987 , "permissions": "rw"}, {"path": "Warning light mount for car_PLA_29m35s.gcode", "modified": 1702902722.0440514, "size": 712892, "permissions": "rw"}, {"path": "Warning light mount for car_PLA_2h54m.gcode", "modified": 1702914620.6383615, " size": 7953697, "permissions": "rw"}, {"path": "Warning light mount for car_PLA_ 31m32s.gcode", "modified": 1702895955.713323, "size": 780226, "permissions": "rw "}, {"path": "Zero_Body_repaired_PLA_2h56m.gcode", "modified": 1702648951.126975 8, "size": 28235108, "permissions": "rw"}, {"path": "Zero_Collars_PLA_4m47s.gcod e", "modified": 1702660929.3896425, "size": 438294, "permissions": "rw"}, {"path ": "Zero_Eyes_PLA_2m9s.gcode", "modified": 1702736759.4230132, "size": 264157, " permissions": "rw"}, {"path": "Zero_Eyes_PLA_54s.gcode", "modified": 1702737734. root@K1-D35C /tmp [#]
I have same problem. server/files/list: file_list.txt guppyscreen.log
Thanks for the report and logs. Will take a look.
@eustacefan @Horgul123 just released 0.0.14-beta, can you try if that still freezes for you. Upgrade the same way you install sh -c "$(wget --no-check-certificate -qO - https://raw.githubusercontent.com/ballaswag/guppyscreen/main/installer.sh)"
Also added file sorting y date created/az, layer count in print status.
Sorting by date now works perfectly out of the box and can be switched to other orders easily. Thank you so much for the immediate implementation!
@ballaswag Will test it tomorrow when the current print is finished.
@ballaswag It work fine, thanks
@ballaswag : Thanks a lot fro the fix. No freeze and thumbnails are displayed :)
Because I'm curious: What was the problem? I think, you tested this without issues.
my guess is one of the metadata field is not present and i wasn’t checking before accessing it. I reworked in some checks and also removed some sketchy new and delete. Good to see the issue resolved to you.
When I try to open the list of the files on the printer it freezes. I waited several minutes, but nothing happens It's not possible to exit this screen an no thumbnails are visible. (Thumbs created via Orca Slicer and shown in mailsail)