Skip to content
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

UI buttons don't work when doing direct upload to .octoprint\uploads #1463

Closed
JosvdP opened this issue Aug 28, 2016 · 3 comments
Closed

UI buttons don't work when doing direct upload to .octoprint\uploads #1463

JosvdP opened this issue Aug 28, 2016 · 3 comments
Milestone

Comments

@JosvdP
Copy link

JosvdP commented Aug 28, 2016

TLDR; Buttons for Remove, Load and Load and Print don't work when uploading new GCODE directly in Octoprint Uploads folder. Normally uploading through UI works as normal.

What were you doing?

  • Upload new .gcode directly from Simplify3D into a network folder that is \printer\pihome.octoprint\uploads
  • New file appears under "Files" in OctoPrint
  • I try clicking the buttons under the file that just appeared: Remove, Load, Load and Print.

What did you expect to happen?

I expect the buttons to either remove, load or load and print the file.

What happened instead?

Nothing happens! However, I checked the Chrome developer tools Console and there I see a javascript error (see below)

Branch & Commit or Version of OctoPrint

Version: 1.2.15 (master branch)

Printer model & used firmware incl. version

BigBox Dual
Marlin 1.1.0-RC3

Browser and Version of Browser, Operating System running Browser

Windows 10
Chrome 52.0.2743.116 m (64-bit)

I also replicated the bug in FireFox 48.0.2

Link to octoprint.log

http://pastebin.com/4quz0Grw

Link to contents of terminal tab or serial.log

Nothing there?

Link to contents of Javascript console in the browser

packed_libs.js?35d69079:5 DELETE http://printer/api/files/local/2cm%20cube.gcode 404 (NOT FOUND)

send @ packed_libs.js?35d69079:5
ajax @ packed_libs.js?35d69079:5
GcodeFilesViewModel.self.removeFile @ packed_app.js?77633f61:1134
(anonymous function) @ VM2461:3
(anonymous function) @ packed_libs.js?35d69079:1020
dispatch @ packed_libs.js?35d69079:4
y.handle @ packed_libs.js?35d69079:4

Screenshot(s) showing the problem:

Buttons that dont work

I have read the FAQ.

@JosvdP JosvdP changed the title UI buttons donDirect upload to .octoprint\uploads UI buttons don't work when doing direct upload to .octoprint\uploads Aug 28, 2016
@foosel
Copy link
Member

foosel commented Aug 28, 2016

That's a duplicate of #1434. See that for why that is not really a bug and the measures taken to resolve it anyhow in the next release.

@foosel foosel closed this as completed Aug 28, 2016
@JosvdP
Copy link
Author

JosvdP commented Aug 28, 2016

Ah, I see! Didn't know it was related to special characters so it didn't show up for me when I searched before reporting. Sorry! I will also stop using the Uploads folder directly and use the Watch folder instead...

@foosel
Copy link
Member

foosel commented Aug 28, 2016

No harm done :)

@foosel foosel added this to the 1.2.16 milestone Sep 5, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants