fieldOfView / Cura-OctoPrintPlugin

Cura plugin which enables printing directly to OctoPrint and monitoring the process
GNU Affero General Public License v3.0
484 stars 74 forks source link

Default path '.' not working #278

Closed tycho94 closed 2 years ago

tycho94 commented 2 years ago

Hi,

Currently the plugin uses '.' as a default path. I don't use any folders on my Octoprint and it fails to upload to the '.' folder. It claims "error: Can not upload file, invalid file name" When I remove . and upload with an empty path option it works.

Is there a default path option, or is the '.' path supposed to work?

fieldOfView commented 2 years ago

Currently the plugin uses '.' as a default path.

Can you elaborate on that? As far as I am aware, the plugin does not have a "default path"; It uses the filename handed to it by Cura. If there's a forward slash in that, then the plugin shows the part before the last forward slash as the path.

Perhaps the path you are talking about is inserted by another plugin? If you post a link to your Cura.log (see Help -> Show configuration folder) then perhaps I can see what combination of configurations

tycho94 commented 2 years ago

You're right, it was my mistake. I use the Custom Printjob Naming plugin which was adding a ./ as a path. So indeed the plugin was taking the . from the './' in the name as the path which did not exist on Octoprint.