Can not open window dialogue in audcaity

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
murtaza19
Posts: 6
Joined: Tue Nov 06, 2012 7:22 am
Operating System: Please select

Can not open window dialogue in audcaity

Post by murtaza19 » Tue Nov 06, 2012 7:58 am

Windows: Window 7
Operating System: 64 bit

Audacity Code: http://audacity.googlecode.com/svn

wxWidget: wxMSW-2.8.12

I have compiled wxWidget successfully and also compiled a sample scroll as well

All the functions are working fine in Audacity except the options under "File" Menu

1. Only Close file
2. New file works
3. Recent File works

nothing else

If i drag the file on audacity it also works fine.

PLEASE check the attached file.
Attachments
Error.jpg
Error detail in audacity
Error.jpg (222.82 KiB) Viewed 4345 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Can not open window dialogue in audcaity

Post by Gale Andrews » Wed Nov 07, 2012 5:46 am

Thanks but this is not useful as a bug report. You say everything is fine except three items, but then you say two of those "work".

If there is a problem with File > Open or File > Close, please give the steps 1, 2, 3... that will let us reproduce the issue. Also let us know if you launched Audacity by pressing the Play button in Visual Studio.

Also if you continue after the debug assert, what happens in the program? Is there a crash? Debug asserts are put into alert the developers to a possible problem. We would like to know when asserts happen but they do not necessarily make anything bad happen in the program.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Can not open window dialogue in audcaity

Post by Edgar » Thu Nov 08, 2012 4:10 am

I'm following this and will chime in (though I may be off base)...

I think this Assert is not in the Audacity code but in the wxWidgets code. I looks like it is complaining about a string passed to a parsing routine in wx's ArrayString code. I suspect that an unicode string is being poorly handled somewhere in the file open/save code. Is the problem in opening or saving a file? If so, what is the file's name you are using?

This should be a very easy problem to debug. If you run Audacity in the debugger (and are building and linking against unicode debug wxWidgets); when you hit the Assert, look at the stack trace and it will tell you exactly where the code is failing and the calls that got you there. Single step the code past the Assert and see what the offending value is (or put a break just before the offending line and re-run to the break and then observe the offending value. If you need more explicit instruction on this stuff let me know and I will step you through the process.

murtaza19
Posts: 6
Joined: Tue Nov 06, 2012 7:22 am
Operating System: Please select

Re: Can not open window dialogue in audcaity

Post by murtaza19 » Fri Nov 09, 2012 5:42 am

Thanks for your replies, I think VS was having some issue, when i clean the code and re build the solution this issue was removed.

Although i have another question, which i need an answer too http://forum.audacityteam.org/viewtopic ... 19&t=68954 .

Post Reply