Page 2 of 3

Re: Audacity can not load ANY aup file

Posted: Fri Mar 06, 2020 2:06 pm
by NiceMicro
steve wrote:
Fri Mar 06, 2020 10:19 am
Look in ~/.audacity-data/.
The contents of that folder:

Code: Select all

drwxr-xr-x  5 nicemicro nicemicro  4096 márc   6 22.48 .
drwx------ 37 nicemicro nicemicro  4096 márc   6 19.48 ..
-rw-r--r--  1 nicemicro nicemicro  2612 márc   6 22.48 audacity.cfg
drwxr-xr-x  2 nicemicro nicemicro  4096 márc   4 10.17 AutoSave
drwxr-xr-x  2 nicemicro nicemicro  4096 márc   3 00.34 Macros
-rw-r--r--  1 nicemicro nicemicro 36136 márc   6 22.48 pluginregistry.cfg
drwxr-xr-x  2 nicemicro nicemicro  4096 márc   3 00.34 Plug-Ins
-rw-r--r--  1 nicemicro nicemicro   642 márc   3 00.54 pluginsettings.cfg
The subdirectories (all three) are empty. There is no autosave file.
steve wrote:
Fri Mar 06, 2020 10:19 am
Do you also have a folder:

Code: Select all

/var/tmp/audacity-<your-name>/
If you do, does it contain one or more folders named something like:

Code: Select all

project1190746588
This directory exists, and contains no file or directories.

Re: Audacity can not load ANY aup file

Posted: Fri Mar 06, 2020 2:27 pm
by NiceMicro
I have just installed Audacity 2.4.0-alpha-Mar 6 2020 from the AUR. The same problem still persists. So, I went back to the Audacity version in the repository.

Re: Audacity can not load ANY aup file

Posted: Fri Mar 06, 2020 4:51 pm
by steve
The three ".cfg" files are Audacity's configuration files. Deleting these three files (while Audacity is closed) will reset Audacity to it's factory settings.
From ~/.audacity-data/ move these three files to your Desktop (or any other convenient location):

Code: Select all

audacity.cfg
pluginregistry.cfg
pluginsettings.cfg
On restarting Audacity, you should see the welcome message.
Then try saving and opening a project.

If that works, please post those three files with your reply so that we can try to figure out how this happened.

Re: Audacity can not load ANY aup file

Posted: Mon Mar 09, 2020 1:41 pm
by NiceMicro
steve wrote:
Fri Mar 06, 2020 4:51 pm
From ~/.audacity-data/ move these three files to your Desktop (or any other convenient location):
On restarting Audacity, you should see the welcome message.
Then try saving and opening a project.
I moved the three files somewhere else.
I opened Audacity, recorded a new project, saved it.
When I try to open it, I get the same error as before.

Re: Audacity can not load ANY aup file

Posted: Mon Mar 09, 2020 2:02 pm
by steve
Strange.

Can you Import audio files into Audacity?
what happens if you use the "File > Open" command and select a wav file?

Re: Audacity can not load ANY aup file

Posted: Fri Mar 13, 2020 3:12 pm
by NiceMicro
steve wrote:
Mon Mar 09, 2020 2:02 pm
Strange.

Can you Import audio files into Audacity?
what happens if you use the "File > Open" command and select a wav file?
Importing audio from video files (which is what I do most often) works, opening MP3s and other audiofiles also work. I can manipulate the audio and then export it to ogg files and that works well, too.

Re: Audacity can not load ANY aup file

Posted: Fri Mar 13, 2020 3:37 pm
by steve
What are the permisions for the directory: /home/nicemicro/Documents
Are you logged in as "nicemicro"?

Re: Audacity can not load ANY aup file

Posted: Sat Mar 14, 2020 1:01 am
by NiceMicro
steve wrote:
Fri Mar 13, 2020 3:37 pm
What are the permisions for the directory: /home/nicemicro/Documents
Are you logged in as "nicemicro"?

Code: Select all

drwxr-xr-x  10 nicemicro nicemicro  4096 márc   9 22.36 Documents
Yes, my username is "nicemicro". Could this be a permissions issue?

Re: Audacity can not load ANY aup file

Posted: Sat Mar 14, 2020 12:05 pm
by steve
NiceMicro wrote:
Sat Mar 14, 2020 1:01 am
Could this be a permissions issue?
A bit of a long shot, but I'm running out of ideas of what the problem could be. User nicemicro has read write permissions to the Documents folder (as expected), so it's not looking like a permissions problem.

In the project that you posted, the data files (.au) are present in the test_data folder, and their names match the names in the project file "test.aup". Audacity should therefore recognise the data files as belonging to the "test.aup" project. When I try to open test.aup, Audacity does recognise the data files as belonging to the project (as expected). I can't account for the fact that on your machine, Audacity does not recognise the .au files as belonging to the project.

When you get the warnings:

Code: Select all

00:18:09: Warning: Orphan block file: '/home/nicemicro/Documents/test_data/eff/d1f/eff1f37c.au'
00:18:09: Warning: Orphan block file: '/home/nicemicro/Documents/test_data/eff/d1f/eff1fc6d.au'
Do those files match the file names in the "test.aup" file? (View the "test.aup" file in a text editor).

Re: Audacity can not load ANY aup file

Posted: Sun Mar 15, 2020 8:46 am
by NiceMicro
steve wrote:
Sat Mar 14, 2020 12:05 pm
When you get the warnings:

Code: Select all

00:18:09: Warning: Orphan block file: '/home/nicemicro/Documents/test_data/eff/d1f/eff1f37c.au'
00:18:09: Warning: Orphan block file: '/home/nicemicro/Documents/test_data/eff/d1f/eff1fc6d.au'
Do those files match the file names in the "test.aup" file? (View the "test.aup" file in a text editor).
Yeah, I have checked multiple test files, and the filenames align with what's in the

Code: Select all

simpleblockfile filename="eff1ffde.au"
parts. I found that the XML file contains a comma instead of the period sign as a decimal separator (my locale is a little weird as I use US English as the language but use Hungarian date and number formatting). I manually changed the commas to periods but didn't have any effect.
Audacity used to work for me up until around 26th of February.
Now looking up the logs, the last change in Audacity was on 14th of february,

Code: Select all

[2020-02-14T22:44:02+0900] [ALPM] upgraded audacity (1:2.3.3-1 -> 1:2.3.3-2)
which is a re-compiled form of the same version based on newer dependencies, I guess. But again, Audacity still worked after that. Is there a debugging mode that could be of help?