Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity 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.
HufflepuffBR
Posts: 1
Joined: Sat Jun 12, 2021 1:34 pm
Operating System: Linux Fedora/RHEL

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by HufflepuffBR » Sat Jun 12, 2021 1:35 pm

Same issue here, using Fedora 34 with BTRFS... Could it be FS?

steve
Site Admin
Posts: 81944
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by steve » Sat Jun 12, 2021 4:29 pm

HufflepuffBR wrote:
Sat Jun 12, 2021 1:35 pm
Same issue here, using Fedora 34 with BTRFS... Could it be FS?
I've never used btrfs and know little about it, but I did find this: https://sqlite.org/forum/info/988f8698f8d7c027
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

domfe
Posts: 7
Joined: Thu Jun 17, 2021 12:26 pm
Operating System: Linux Fedora/RHEL

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by domfe » Thu Jun 17, 2021 12:31 pm

Same problem here.
audacity-freeworld-3.0.2-1.fc34.x86_64

My project has a stereo track with audio from an imported mp3 and a mono generated track. I saved the project but when I reopen it I have my 2 tracks (stereo + mono) empty.
My fs is ext4.
Launched from terminal I can't find any relevant.
Nor an error or warning is issued by the program.

steve
Site Admin
Posts: 81944
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by steve » Thu Jun 17, 2021 12:46 pm

Do you know if SQLite was compiled with SQLITE_ENABLE_DBPAGE_VTAB?
Apparently this is a requirement for AUP3 project files to work correctly, but is not the case for some Fedora users.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

domfe
Posts: 7
Joined: Thu Jun 17, 2021 12:26 pm
Operating System: Linux Fedora/RHEL

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by domfe » Thu Jun 17, 2021 1:31 pm

How can I check that it is compiled with SQLITE_ENABLE_DBPAGE_VTAB?

From the .spec file I see this

Code: Select all

%build
export CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
               -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=1 \
               -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 \
               -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
               -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_JSON1=1 \
               -DSQLITE_ENABLE_FTS4=1 \
               -Wall -fno-strict-aliasing"
The option is not present, should I file a bug in Fedora?

If this helps, I checked the file sizes and all project are the same: 327680 bytes.

steve
Site Admin
Posts: 81944
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by steve » Thu Jun 17, 2021 1:48 pm

domfe wrote:
Thu Jun 17, 2021 1:31 pm
How can I check that it is compiled with SQLITE_ENABLE_DBPAGE_VTAB?
Sorry, I don't know that. It was just something that came up when searching online for similar issues.
domfe wrote:
Thu Jun 17, 2021 1:31 pm
If this helps, I checked the file sizes and all project are the same: 327680 bytes.
I've just saved an empty project using Audacity 3.0.2 on Xubuntu. The file size of the empty project is 327,680 bytes.

When you open an AUP3 project file, there should be a WAL file created with the same base file name, but with the file extension ".aup3-wal". Are you seeing that file?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

domfe
Posts: 7
Joined: Thu Jun 17, 2021 12:26 pm
Operating System: Linux Fedora/RHEL

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by domfe » Thu Jun 17, 2021 2:05 pm

Yes. The file aup3-wal is 0 bytes. It grows when I add content to the project.

Test sequence so far:
1. open the project with empty tracks -> aup3 is 327680 bytes, aup3-wal is 0 bytes
2. add an mp3 file -> aup3 is 22740992 bytes and aup3-wal is 28256392 bytes
3. save project -> aup3 and aup3-wal have the same sizes as previous
4. close audacity -> no change in aup3, aup3-wal is gone
5. reopen audacity and open project -> aup3 is bigger than 327680 bytes and aup3-wal is 0
6. close audacity -> aup3 is 327680 bytes

steve
Site Admin
Posts: 81944
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by steve » Thu Jun 17, 2021 2:45 pm

domfe wrote:
Thu Jun 17, 2021 2:05 pm
Test sequence so far:
1. open the project with empty tracks -> aup3 is 327680 bytes, aup3-wal is 0 bytes
2. add an mp3 file -> aup3 is 22740992 bytes and aup3-wal is 28256392 bytes
3. save project -> aup3 and aup3-wal have the same sizes as previous
4. close audacity -> no change in aup3, aup3-wal is gone
That all looks normal.
(The WAL file is a kind of temp file for the project. Technical details here: https://sqlite.org/wal.html)
domfe wrote:
Thu Jun 17, 2021 2:05 pm
5. reopen audacity and open project
How exactly are you opening the project?
What is in the Audacity Log file after opening the project (there will be a lot of stuff). "Help menu > Diagnostics > Show Log"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

domfe
Posts: 7
Joined: Thu Jun 17, 2021 12:26 pm
Operating System: Linux Fedora/RHEL

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by domfe » Thu Jun 17, 2021 2:56 pm

Opening the file with Open, double click or recent. It doesn't matters.
Nothing is traced in the log

steve
Site Admin
Posts: 81944
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 3.0.2 on Fedora 34 saves "Empty" projects

Post by steve » Thu Jun 17, 2021 3:24 pm

domfe wrote:
Thu Jun 17, 2021 2:56 pm
Nothing is traced in the log
:shock: Nothing at all?
There should at least be some information about loading FFmpeg.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply