Re: [Audacity-devel] Audacity Error
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Al D. <bus...@gm...> - 2010-03-16 20:49:15
|
On Tuesday 16 March 2010 09:08:12 Todd Baker wrote:
> Dear All:
>
>
>
> I posted something about this earlier but never got a response, so
> maybe I can get someone to try this for me.
>
>
>
> I have run into a problem with my version of Audacity. It has to do
> with the Portable Settings Directory. If I rename this directory
> (say Poot Settings or something),
>
> And start Audacity, the Filenames.cpp code will attempt to make the
> Directory c:\Documents And Settings\{myuserid}\Application Data\
> Audacity as the gDataDir.
>
> (This happens around line 112 in my copy of FileNames.cpp). I am
> running this in Visual Studio on Windows XP..... Audacity version
> 3.11-alpha Dec 29 2009.
>
>
>
> But when I run this in the debugger this directory is never
> created, which eventually will affect my ability to Export into my
> database the actual sound file,
>
> I believe this is the root of the problem since the data directory
> that I think I am using doesn't actually exist.
>
>
>
> Can someone attempt this in their environment(s), with the
> debugger, and see if you are seeing the same behavior?
>
>
Everything works fine for me (Windows 7 x64, top-of-tree Audacity trunk
without modification, using wxWidgets 2.8.10, Audacity and wxWidgets
both configured Unicode Debug).
Looking at your earlier email, it appears you had a problem with
wxFileName::DirExists(). On my machine wxFileName::DirExists() returns
false when the directory in question is not there, so the directory is
created in Audacity.
This sounds like a problem with wxWidgets. If you're not using the
current stable release (2.8.10) you should probably try it. If it's
still a problem I'd suggest filing a bug against wxWidgets. Meanwhile,
if you just manually create a directory at ~/Application
Data/Audacity, does that work for you?
- Al
>
> I can Export and Import in files directly with Audacity, but when I
> attempt to do that with my database something gets confused and it
> writes out a blank sound file eventually.
>
> I am more curious about the FIleNames.cpp code and whether people
> see the same behavior in terms of the directory not being there. I
> am thinking the import/Export
>
> Stuff in Audacity proper works because it puts the file in the
> current working directory....and it defaults to there so it finds
> it.
>
>
>
> Thanks,
>
>
>
> Todd Baker
>
> Technical Operations
>
>
>
> Radio Free Asia
>
> 2025 M Street, NW
>
> Washington DC, 20036
>
> (202) 530-4900
>
>
>
> CONFIDENTIAL COMMUNICATION
>
> This e-mail message is intended only for the use of the addressee
> and may contain information that is privileged and confidential.
> Any unauthorized dissemination, distribution, or copying is
> strictly prohibited.
>
>
>
> If you receive this transmission in error, please contact
> ne...@rf....
>
>
>
> Visit us at www.rfa.org <http://www.rfa.org/>
>
>
>
> P Please consider the environment before printing this e-mail.
>
|