Error; Cannot open a new empty project [SOLVED]

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at 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.
Locked
stevenmlane
Posts: 5
Joined: Mon May 24, 2021 5:59 pm
Operating System: Windows 10

Error; Cannot open a new empty project [SOLVED]

Post by stevenmlane » Mon May 24, 2021 6:11 pm

I have just downloaded and installed Audacity version 3.0.2 and get the above error message when I open Audacity. I have uninstalled and re-installed, re-booting in between, to no avail. The error log is:

19:07:22: sqlite3 message: (14) os_win.c:46825: (2) winOpen(C:\Users\STEVEN~1\AppData\Local\Temp\audacity_temp\New Project 2021-05-24 19-07-22 N-1.aup3unsaved) - The system cannot find the file specified.
19:07:22: sqlite3 message: (14) cannot open file at line 46826 of [7ebdfa80be]
19:07:22: Failed to open primary connection to C:\Users\STEVEN~1\AppData\Local\Temp\audacity_temp\New Project 2021-05-24 19-07-22 N-1.aup3unsaved: 14, unable to open database file

19:07:22: DBConnection SetError
ErrorCode: 14
LastError: Failed to open database file:

C:\Users\STEVEN~1\AppData\Local\Temp\audacity_temp\New Project 2021-05-24 19-07-22 N-1.aup3unsaved
LibraryError: (14): unable to open database file


I have no idea how to get Audacity working correctly. Please Help.
Steve

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

Re: Error; Cannot open a new empty project

Post by steve » Mon May 24, 2021 8:28 pm

Does the folder "C:\Users\STEVEN~1\AppData\Local\Temp\audacity_temp\" exist?
If it does exist, are you able to write to it? (Can you create a new file there?)

Do you know what format drive C:\ is? (The default for Windows 10 is "NTFS").
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

stevenmlane
Posts: 5
Joined: Mon May 24, 2021 5:59 pm
Operating System: Windows 10

Re: Error; Cannot open a new empty project

Post by stevenmlane » Mon May 24, 2021 9:42 pm

There is no such user as STEVEN-1, so the folder cannot exist. There is a user stevenlane, the folder C:\Users\stevenlane\Local\Temp\audacity_temp does exist and it can be written to. This is a standard Windows 10 drive, so will be NTFS

One thought is that I had a previous version of Audacity installed, version 2 .something, which I uninstalled before installing the current version. I had not used it for many years

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

Re: Error; Cannot open a new empty project

Post by steve » Mon May 24, 2021 9:53 pm

Can you try this:
  1. Launch Audacity (ignore / dismiss any warnings)
  2. "Tools menu > Reset Configuration"
  3. Wait a few moments
  4. "File menu > Exit"
Does Audacity open correctly after doing that?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

stevenmlane
Posts: 5
Joined: Mon May 24, 2021 5:59 pm
Operating System: Windows 10

Re: Error; Cannot open a new empty project

Post by stevenmlane » Tue May 25, 2021 7:20 am

YES! Thank you.

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

Re: Error; Cannot open a new empty project [SOLVED]

Post by steve » Tue May 25, 2021 11:14 am

Thanks for confirming.
I'll close this topic as"solved".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked