"Could not save project. Perhaps $PATH is not writable..."

Help for Audacity 2.x.x on GNU/Linux.

ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.

"Could not save project. Perhaps $PATH is not writable..."

Permanent link to this post Posted by silenteditor » Sun Dec 17, 2017 1:53 pm

Having trouble with Audacity 2.2.1 (and 2.2.0 before it) on Debian.

I have over 200 GB available on the hard drive in question. Standard permissions on my home directory. I open an MP3 file to edit. Choose "Save Project" from the file menu, place the file somewhere in my home directory. I get the following error message in a window:

"Could not save project. Perhaps [the file path in /home/] is not writable or the disk is full."

I am able to continue editing and export the final product as a sound file of whatever format ... but I can't save the project (.aup file).

Any help appreciated. Thanks!
silenteditor
 
Posts: 10
Joined: Sun Dec 17, 2017 1:42 pm
Operating System: Linux Debian

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by steve » Sun Dec 17, 2017 2:17 pm

Ensure that you are giving it a legal file name. In particular, don't use the "/" character.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46587
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by silenteditor » Sun Dec 17, 2017 2:37 pm

Thanks, I did that already (just to be extra sure, I only used ASCII alphabet characters and no spaces.) Same problem persists.
silenteditor
 
Posts: 10
Joined: Sun Dec 17, 2017 1:42 pm
Operating System: Linux Debian

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by steve » Sun Dec 17, 2017 2:41 pm

I've re-read your first post:
silenteditor wrote:the file path in /home/] is not writable

That's correct. For a standard user account, the file path /home/ is not writable. Your "Home" folder is "/home/username/" where "username" is your log-in name.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46587
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by silenteditor » Sun Dec 17, 2017 2:46 pm

Sorry for the ambiguity. I was not trying to save in /home/ itself, I was trying to save in a subdirectory of my home directory. I have the normal read and write permissions. Other programs that I run, e.g. a text editor, are able to create and write files in the directory in question.
silenteditor
 
Posts: 10
Joined: Sun Dec 17, 2017 1:42 pm
Operating System: Linux Debian

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by steve » Sun Dec 17, 2017 2:51 pm

OK, so we will need to get down to the fine detail, because obviously "something" is wrong.

If you shut down and restart Audacity, then generate a 30 second tone (Generate menu), and then try to save the new project as "my-project" in "~/Desktop/", what happens?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46587
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by silenteditor » Sun Dec 17, 2017 3:01 pm

I followed your steps exactly, and was able to save the .aup file in ~/Desktop without any error.

I did a little further troubleshooting:

First, I exited the program and re-opened my-project.aup, everything worked as expected.

Second, I exited he program again. Restarted the program with a blank/new project. Imported (from the file menu) the original audio file in question, a 107 megabyte MP3 file. I tried to save the resulting project (two tracks, just under two hours) in ~/Desktop as my-project-2 . Got the same error.
silenteditor
 
Posts: 10
Joined: Sun Dec 17, 2017 1:42 pm
Operating System: Linux Debian

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by steve » Sun Dec 17, 2017 3:55 pm

silenteditor wrote:I have over 200 GB available on the hard drive in question.

How much available space in "~/"?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46587
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by silenteditor » Sun Dec 17, 2017 3:59 pm

$ df / reports
261999448 used, 222405624 available, 55% used.

$HOME is on the same root partition.
silenteditor
 
Posts: 10
Joined: Sun Dec 17, 2017 1:42 pm
Operating System: Linux Debian

Re: "Could not save project. Perhaps $PATH is not writable..

Permanent link to this post Posted by steve » Sun Dec 17, 2017 4:27 pm

Can you try with a different large file to see if the problem is specific to that MP3.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 46587
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Next

Return to GNU/Linux



Who is online

Users browsing this forum: No registered users and 2 guests