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

Change logging directory to script_dir #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

azide0x37
Copy link

No description provided.

@Nathan22211
Copy link

I wouldn't think this would be needed but I could be wrong. Python usually edits and creates files in paths in a relative manner, though I don't see the log file from me testing my PR

@azide0x37
Copy link
Author

PrusaSlicer on MacOS attempts to create log file in a working directory for which it doesn't have file creation permissions; and script terminates.

Repointed log to get running and logged cwd from the script:

DEBUG - Current working directory: /private/var/folders/65/wgvblt1930g874ltbq3jkzlh0000gn/T/AppTranslocation/463492A2-FA4D-4BE0-A050-90DB96BAAB79/d

@Nathan22211 presumably your logfile is getting pushed to some tempdir, but not triggering permission errors?

@Nathan22211
Copy link

yeah because I'm on windows 11, probably same boat with linux

@WatchingWatches
Copy link

I had the same issue with permission denied in \program files\Prusa3D... . With your changes it worked on my windows 11 PC.

WatchingWatches added a commit to WatchingWatches/NonPlanarInfill that referenced this pull request Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants