salandora / octoprint-filemanager Goto Github PK
View Code? Open in Web Editor NEWSimple FileManager for OctoPrint
License: GNU Affero General Public License v3.0
Simple FileManager for OctoPrint
License: GNU Affero General Public License v3.0
Filemanager 0.1.2 -> no folders are showing up.
Understand there is a bug with the general view (need to set to mixed to see files) but even then no folder is showing up.
[ I am also using the Autoselect plugin. ]
It appears (or is a coincidence) that while Octoprint is actively calculating the print time on a newly uploaded (vi Slic3r's Send to Printer), and you're using FileManager to rename the file, the rename fails (without an error message or any other indicator) and the file is not renamed. After Octoprint posts the calculated print time, you can now go back and successfully rename the file.
Don't know if it's related, but if you rename a file and the name is already used by another file, the rename fails without error message or other indicator that the rename was not successful.
Would be great to extend this to be able to rename timelapses. Any idea if that's easy to do? If you point me in the right direction maybe I could implement it myself.
Hi,
Would it be possible to implement a refresh or reload button? I'm running rclone on my machines to keep my .gcode scripts synchronized from a common source, and was wondering if it would be possible to have a button to refresh the file list of the current directory when a new .gcode has been added or an existing .gcode updated.
Currently I have to refresh the entire OctoPrint page in the browser, which takes a long time.
Ocotoprint will no longer support previous versions of python in the near future, it would be awesome if this plugin could get updated to be compatible with python 3.6.
Hi there
I'm using the 0.12 plugin (installed directly from the plugin manager) with octoprint 1.4.0.dev1000+gc84d39a8
It work fine but when I want to copy/paste multiple files, it only paste one of them. I need to go back and forth and copy/paste one file at a time
Note : I got this behaviour since a long time but only report the issue now
I tried to clear the cache but nothing changed
the request in firefox network inspector looks OK to me :
{"command":"move","sources":["20180419-105803-PhoneSupport_Lock_0.2-15-.gcode","20180419-105434-PhoneSupport_Base_0.2-15-.gcode"],"destinations":["Phone_support"]}
but only the first file is pasted
I don't know where to look for logs for FileManager, so if needed please tell me what to do
cheers
Would be good if the file manager added checkbox column (before the NAME column) for all the files listing and a checkbox at the very top that when we click that, it will SELECT ALL files..
This would make selection of lots of files more faster than current method.
gcode files with long names will intrude into the "created" column and hovering over it will truncate the name.
Octoprint Version: 1.3.0 (master branch)
FileManager (0.1.1)
Is it possible to show thumbnails from https://plugins.octoprint.org/plugins/prusaslicerthumbnails/ in this plugin?
Hi,
I have latest version of octoprint from docker, and file manager from plugin manager. When I switch window to file manager I cant do anything, web console shows me an error:
packed_plugins.js?c9da6618:716 Uncaught TypeError: $(...).disableSelection is not a function
at HTMLDivElement. (packed_plugins.js?c9da6618:716)
at HTMLDivElement.dispatch (packed_libs.js?ab739628:1)
at HTMLDivElement.v.handle (packed_libs.js?ab739628:1)
I found also this:
As discussed here OctoPrint/OctoPrint#1142 FileManager Tab is not appearing in the main page. I've tried disabling all the other plugins and did not work either.
Plugin Version: FileManager (0.1.0)
OctoPrint Version: 1.3.0.dev761+g28eb436 (devel branch)
Browser: Google Chrome Version 47.0.2526.80 m
Octoprint.log http://pastebin.com/gzEMi3cn
Thank you!
This plugin is perfect to share slicer presets, configurations and printing manuals (having all 3D printing resoureces in the same service).
But it only allows to manage model or toolpath files.
Can it be configured to allow uploads of generic files from admins?
Can there be some permission management (eg: admins can upload, users can only download for a particular folder)?
Would it be possible to add an option to change the timestamp format from the '# days ago' style to a 'yyyy-MM-dd hh:mm' format? The current format it nice for very recent stuff but if I'm looking at a directory of 6 versions of a part where I haven't been completely on the ball with cleaning up/naming files then I can't easily tell which one is the most recent as they all say '2 years ago'.
I know you can currently change the order, but personally I prefer to see the clean values rather than a prettier but less deterministic format. An option to choose one or the other format would be great.
Would be nice to have ability to get long names for files on SD Card using M33 command. Could be a separate button to get it if needed not to overload connection to the printer.
If you rename a GCODE file then the thumbnail (saved by Cura Thumbnails plugin) is no more visible in Octoprint
I suspect it's because the the PNG files under /home/pi/.octoprint/data/UltimakerFormatPackage are not renamed accordingly..
Isn't it?
Can you pls check it?
Per the guidelines from octoprint, I'm requesting that you put this plugin up for adoption as you have stated it is no longer in development. Thank you for the great work you have done on it already. I'm sure someone can continue your efforts and keep this great plugin going.
Thanks.
Would be great if you could add thumbnails, similar to the Slicer Thumbnails plugin...
Hi,
I have been using the FileManager plugin for some time without any issue. I did not do any recent updates. However, for some reason, just this afternoon the File Manager plugin is no longer showing files or folders.
Versions:
FileManager 0.1.3
OctoPrint 1.3.10
OctoPi 0.14.0
If I ssh into my Raspberry Pi, I can see the folders and files in the uploads directory.
When i try to copy/cut and paste, i get this errors in JavaScript-Console:
For copy/cut
OctoPrint.files.pathForElement has been renamed to OctoPrint.files.pathForEntry, please use that instead
pathForElement @ packed_client.js?dc5a235f:773
(anonymous) @ packed_plugins.js?946fd97d:6018
Pn @ packed_libs.js?8f75e9e5:10655
(anonymous) @ packed_libs.js?8f75e9e5:10676
FilemanagerViewModel.self.copy @ packed_plugins.js?946fd97d:6017
(anonymous) @ packed_libs.js?8f75e9e5:10840
dispatch @ packed_libs.js?8f75e9e5:4737
elemData.handle @ packed_libs.js?8f75e9e5:4549
For paste
POST http://octopi.local/api/files/local/sat_flightC.gcode 409 (CONFLICT)
send @ packed_libs.js?8f75e9e5:9175
ajax @ packed_libs.js?8f75e9e5:8656
OctoPrint.ajax @ packed_client.js?dc5a235f:95
OctoPrint.ajaxWithData @ packed_client.js?dc5a235f:104
OctoPrint.post @ packed_client.js?dc5a235f:116
OctoPrint.postJson @ packed_client.js?dc5a235f:129
OctoPrint.issueCommand @ packed_client.js?dc5a235f:245
issueEntryCommand @ packed_client.js?dc5a235f:623
copy @ packed_client.js?dc5a235f:738
FilemanagerViewModel.self.paste @ packed_plugins.js?946fd97d:6052
(anonymous) @ packed_libs.js?8f75e9e5:10840
dispatch @ packed_libs.js?8f75e9e5:4737
elemData.handle @ packed_libs.js?8f75e9e5:4549
I'm using Octoprint 1.3.0 (master branch)
After latest 1.3.6 update of Octoprint, Filemanager no longer lists files.
When I rename a file under the file manager tab it deletes the file. Octoprint 1.3.4 stable, Raspi 3, File Manager 0.1.2, changes implemented over network on Windows 10 using Chrome Version 61.0.3163.100 (Official Build) (64-bit).
Would be great if there was a multiple select to delete files. I've got 100s going back 8 months!
I have put this in my ~/.octoprint/config.yaml ...
appearance:
color: green
components:
order:
tab:
- temperature
- control
- gcodeviewer
- terminal
- file_manager
- plugin_enclosure
name: CR-10
... but the plugin_enclosure is showing before the file manager so it is pushed off to the drop-down which is a pita.
What am I doing wrong?
Is there some way to have all tabs shown via on of the many standard ways to do that?
When clicking into a folder and creating a sub-folder, the new "sub-folder" appears in the root folder rather than as a sub-folder of the current folder.
Current workaround is to cut and paste the folder from the root into the desired folder.
Using the latest versions of OctoPrint (1.3.8) and the latest version of Filament Manager (0.5.3), I have no cost per print function. Brand new install of OctoPrint
I assume this plugin allows upload to the Raspberry Pi filesystem.
But I only see the 'Upload to SD' icon; that is greyed out/disabled since I don't have an SD card loaded on the printer.
Is this expected behavior? Or should I see an upload to Raspberry Pi option?
On a fresh install (Octopi/Octoprint 1.3.8 and FileManager 0.1.2), i had an issue where nothing (no one file) is displayed until i choose to set Sort > Mixed
If i turn back default setting Sort > By Files / By Folders or By Folders / By Files, the listing goes empty again.
Wonder if this is possible. Here is the use case:
I print a file. When it's done, it turns green in the file manager (or red if it fails) to indicate it's status.
I often reprint files multiple times. Is the a way where I can select a file and turn it back to the default color (black)? I want to be able to reset the file print status to "not printed" and show as black, so I can see which files I need to reprint.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.