You are here

Startup Error.Problem with audacity.cfg file.The program does not remember preferences and settings.

8 posts / 0 new
Last post
teriero
teriero's picture
Offline
Last seen: 11 years 1 month ago
Joined: 2010-08-19 17:47
Startup Error.Problem with audacity.cfg file.The program does not remember preferences and settings.

HI!
(Audacity Portable 1.3.12 rev 2/ PA on USB hard drive.)
At startup Audacity receives error messages:
Failed to convert file "M:\PortableApps Suite™\PortableApps\AudacityPortable\App\Audacity\Portable Settings\audacity.cfg" to Unicode.
can't open user configuration file 'M:\PortableApps Suite™\PortableApps\AudacityPortable\App\Audacity\Portable Settings\audacity.cfg'.
The program does not remember preferences and settings (language, folders, location of LAME and ffmpeg).Reinstalling and change directories did not help.
Does anyone know how to solve this problem? Yours and I'll be grateful for suggestions. teriero

J Neutron
Offline
Last seen: 1 month 3 days ago
Joined: 2008-06-10 19:26
Special character

If it were me, I'd first remove the special character "™" and try again.

If it still doesn't work, then try to rearrange the folder structure by removing the "PortableApps Suite". This will move it to the "normal" installation location.

Some programs don't handle special characters well. Also, some programs (such as Open Office) will not properly handle long paths, and will probably give errors, too.

neutron1132 (at) usa (dot) com

teriero
teriero's picture
Offline
Last seen: 11 years 1 month ago
Joined: 2010-08-19 17:47
HI! I changed the name of the

HI!
I changed the name of the folder and reinstalled PApps Platform + Audacity.
Audacity starts without an error message and remember the path to ffmpeg and lame, but after each reboot does not remember the settings and change the language to English. Pardon Pardon Pardon

J Neutron
Offline
Last seen: 1 month 3 days ago
Joined: 2008-06-10 19:26
Multilingual

I'm not multilingual, so I have not played with language switching.

That said, it certainly sounds like something was left behind regarding your previous installation, and the program is looking for the settings file in the wrong place.

Are you sure that the programs were reinstalled and you didn't just change the directory name? If that's the case, the settings files might not have been permanently changed to reflect the new location, and so the program starts wrong, but will allow changes which do stick in a currently running version.

neutron1132 (at) usa (dot) com

solanus
solanus's picture
Offline
Last seen: 7 years 1 day ago
Joined: 2006-01-21 19:12
Remove the space, too.

I have no problems with X:\PortableAppsSuite\PortableApps\AudacityPortable\yadayada.

I made this half-pony, half-monkey monster to please you.

ceciliaFX
ceciliaFX's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2007-04-24 14:18
i'm confused

isn't "audacity.cfg" in
\PortableApps\AudacityPortable\Data\Portable Settings

that's where mine is.

"No one man can terrorize a whole nation unless we are all his accomplices." - Edward R. Murrow

solanus
solanus's picture
Offline
Last seen: 7 years 1 day ago
Joined: 2006-01-21 19:12
The new launcher

The new launcher deals with portable settings like this:
When the app is closed, the settings (including the audacity.cfg) are stored in
X:\PortableApps\AudacityPortable\Data\Portable Settings

Once you open Audacity Portable, the launcher copies the whole Portable Settings file in the app folder.

Try this: With Audacity closed, browse to
X:\PortableApps\AudacityPortable\App\Audacity\
you won't see the Portable Settings folder

Now open Audacity Portable, and now if you browse you will see
X:\PortableApps\AudacityPortable\App\Audacity\Portable Settings\
(you may need to refresh explorer)

This means that the OP's issue is likely that the folder isn't getting copied. Still points to the funky character as culprit...

I made this half-pony, half-monkey monster to please you.

GREENCARGUY
Offline
Last seen: 3 years 2 months ago
Joined: 2018-08-09 14:01
Only use the default folder paths for Libraries

I ran into a similar problem when trying to define the paths for the LAME and FFMPEG libraries. Since this is a portable app, the paths to locate the dll's are fixed - you can change them for the current session, but the config file is deleted as soon as you exit the program.

To get around this, simply copy & paste the DLL and EXE files into the default folder.

For LAME, it should be ~\AudacityPortable\App\LAME. Make sure the lame_enc.dll is in this folder.

For FFMPEG, you need to paste all of the FFMPEG files into the default folder ~\AudacityPortable\App\FFmpeg. Audacity is looking for the avformat-55.dll, but this file requires ffmpeg.exe and the other DLL's to be in the same folder in order to work properly.

Remember, the DLL's and EXE's must be in the default folders, not in any sub-folders (or anywhere else, for that matter).

Audacity will now automatically recognize the LAME and FFMPEG libraries.

Good Luck!
GCG

Log in or register to post comments