Skip to content

When disconnecting the printer with a file loaded (and thumbnail shown), file information disappears but thumbnail stays #122

@JoveToo

Description

@JoveToo

When disconnecting the printer and you have a file loaded, the file information disappears but the thumbnail does not.

image

In the developer tools of the browser i can find the following error:

Error calling fromCurrentData on view model PrinterStateViewModel : OctoPrintClient.escapePath@https://octopi/static/js/app/client/base.js:500:22
resourceForEntry@https://octopi/static/js/app/client/files.js:29:70
OctoPrintFilesClient.prototype.get@https://octopi/static/js/app/client/files.js:54:30
PrusaslicerthumbnailsViewModel/self.onBeforeBinding/<@https://octopi/plugin/prusaslicerthumbnails/static/js/prusaslicerthumbnails.js:153:22
notifySubscribers@https://octopi/static/js/lib/knockout.js:38:453
zd@https://octopi/static/js/lib/knockout.js:55:210
ha@https://octopi/static/js/lib/knockout.js:54:384
Hc@https://octopi/static/js/lib/knockout.js:54:229
notifySubscribers@https://octopi/static/js/lib/knockout.js:38:453
xa@https://octopi/static/js/lib/knockout.js:43:255
c@https://octopi/static/js/lib/knockout.js:42:494
PrinterStateViewModel/self._processJobData@https://octopi/static/js/app/viewmodels/printerstate.js:324:22
PrinterStateViewModel/self._fromData@https://octopi/static/js/app/viewmodels/printerstate.js:283:18
PrinterStateViewModel/self.fromCurrentData@https://octopi/static/js/app/viewmodels/printerstate.js:270:18
callViewModelIf@https://octopi/static/js/app/helpers.js:1457:35
callViewModelsIf/<@https://octopi/static/js/app/helpers.js:1384:28
Pn@https://octopi/static/js/lib/lodash.min.js:9:530
ur/<@https://octopi/static/js/lib/lodash.min.js:30:66
callViewModelsIf@https://octopi/static/js/app/helpers.js:1382:7
callViewModels@https://octopi/static/js/app/helpers.js:1376:21
DataUpdater/self._onCurrentData/<@https://octopi/static/js/app/dataupdater.js:271:27
DataUpdater/self._ifInitialized@https://octopi/static/js/app/dataupdater.js:505:13
DataUpdater/self._onCurrentData@https://octopi/static/js/app/dataupdater.js:270:14
OctoPrintSocketClient.prototype.propagateMessage/<@https://octopi/static/js/app/client/socket.js:57:24
Pn@https://octopi/static/js/lib/lodash.min.js:9:530
ur/<@https://octopi/static/js/lib/lodash.min.js:30:66
OctoPrintSocketClient.prototype.propagateMessage@https://octopi/static/js/app/client/socket.js:56:15
onMessage/<@https://octopi/static/js/app/client/socket.js:159:22
Zt/<@https://octopi/static/js/lib/lodash.min.js:26:23
_t@https://octopi/static/js/lib/lodash.min.js:14:392
Vt/<@https://octopi/static/js/lib/lodash.min.js:25:369
ur/<@https://octopi/static/js/lib/lodash.min.js:30:73
onMessage@https://octopi/static/js/app/client/socket.js:158:15
[5]</r.prototype.dispatchEvent@https://octopi/static/js/lib/sockjs.min.js:2:2864
[14]</</w.prototype._transportMessage/<@https://octopi/static/js/lib/sockjs.min.js:2:13481
[14]</</w.prototype._transportMessage@https://octopi/static/js/lib/sockjs.min.js:2:13432
[3]</i.prototype.emit@https://octopi/static/js/lib/sockjs.min.js:2:1745
c/this.ws.onmessage@https://octopi/static/js/lib/sockjs.min.js:2:39734
helpers.js:1473:17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions