Page 1 of 1

error unable to open target file

Posted: Tue Dec 28, 2010 10:31 pm
by ANMB
Hi all. I posted this question in another thread, but it is the wrong version of Audacity and Windows. So I thought I would copy it to the correct board:


Re: unable to open target file for writing
by ANMB ยป Tue Dec 28, 2010 2:06 pm

I am having the same issue; using Audacity 1.3.12 beta on Windows 7 (64 bit) while exporting multiple labels and on the 9th - 11th track, it gives me the error message; i also checked to see if i inadvertantly had any of the charchters not allowed, and don't . . . perhaps it is the length of the label name because i am transiterating arabic words and phrases, by syllable:

tracks 1 - 8 are exported as mp3 files, while tracks 9 - 11 are not?

track 1 = spell reading kal-3ih-nil-man-fuu-shi 22.1.1
track 2 = spell reading lay-la-tul-qad-ri 22.1.2
track 3 = spell reading akh-ra-ja-til-ar-DHu 22.2.1
track 4 = spell reading min-ah-lil-ki-taa-bi 22.2.2
track 5 = spell reading 3in-da-dhil-3ar-shi 22.3.1
track 6 = spell reading yam-na-3uu-nal-maa-3uu-na 22.3.2
track 7 = spell reading wa-hu-wal-gha-fuu-rul-wa-duu-du 22.4.1
track 8 = spell reading dhuul-3ar-shil-ma-jii-du 22.4.2

track 9 = spell reading la-qad-kha-laq-naal-in-saa-na-feeeee-aH-sa-ni-taq-wii-min 22.5.1
track 10 = spell reading a3-Tay-naa-kal-kaw-tha-ra 22.6.1
track 11 = spell reading a-aaaal-aa-na 22.6.2

I think it is track 9 that is causing the issue. What is the maximum length of characthers for a label name?

Thank you.
ANMB

Posts: 12
Joined: Mon Nov 09, 2009 1:43 pm
http://forum.audacityteam.org/viewtopic ... 58&start=0

* * *

9:20 PM EST

I reduced the number of characthers in track # 9; and was able to successfully re-export multiple labels and all 11 were fine.

Until I was listening to them, the last three tracks (#9 - #11) it sounded very loud and had a vibration to it; so I played around with original track again, and the "gain" had somehow increased. I readjusted it and attempted to re-export multiple again; and was surpised to receive the same error message; 8 of 11 tracks were exported. Will reboot my system and see if that works. :roll:


9:34 PM EST

I rebooted and was able to re-export multiple labels; and all 11 were fine, even the sound quality. I am unsure if it was the length of the label name, or perhaps I just needed to reboot.

Any insights would be appreciated because I have more 5 tracks to split, and the examples are longer; hence the label names will be longer.

Thanks.

Re: error unable to open target file

Posted: Wed Dec 29, 2010 2:03 pm
by steve
I'm not sure if the numbers at the end of the file names are part of the file name, or if you are just indicating the length of the file, but you should avoid using dots in file names.
The maximum length of a fully qualified file name (including its full directory path) should normally be less than 256 characters (I think there may be some workarounds on recent versions of Windows to allow longer paths, but as a general rule stick to 255 characters or less.)

Re: error unable to open target file

Posted: Wed Dec 29, 2010 2:47 pm
by ANMB
Thank you Mr. Steve.

The numbers and "dots" are part of the label name which indicate to me the particular " page # . row number . cell number " of the particular sound clip being recited, so that I can actually match it up to the corresponding jpeg in a flashcard based program. I have used this format since beginning this project beginning with Lesson 1, and I am currently on Lesson 11; and have not had a problem with it until yesterday.

I was unaware of the directory path being included as part of the count. It is:

C:UsersM AhmedDesktopDoman Sets 12.08.09How to Teach Your Baby to ReadQur'an al-KareemNoorani English LessonsNoorani English Lesson 11 soundclips mp3Lesson 11 page 22 soundclips mp3 * name of soundclip *

And according to http://www.lettercount.com/, this particular file path (as it appears above) is 215.

So, I now understand that it is very long. So, perhaps I will reduce future label names; and/or reduce/adjust the filepath name levels. And I am unfortunately unable to change the filepath name for any of the previous lessons (which don't have any problems to begin with) because the flashcard software program is based on Microsoft Access databases, and it uses the file path name for any multi-media (jpegs or soundclips) when playing back the category or playlist. And if the filepath name changes from the original, it won't work. I had issues with this before and don't want to experience it again.

Thank you again! This forum certainly helps me as a novice with Audacity.

Respectfuly,
ANMB

Re: error unable to open target file

Posted: Wed Dec 29, 2010 3:49 pm
by steve
ANMB wrote:And according to http://www.lettercount.com/, this particular file path (as it appears above) is 215
Spaces also count as characters. I think that the () may also count but I'm not sure about that.
The apostrophe (') is a dodgy character to use and although it should be supported it would be better to avoid.

The safe characters to use are letters, numbers, space, hyphen (-) and underscore (_)
To be really safe, replace spaces with a hyphen or underscore (this allows compatibility with other operating systems and the Internet).

Note that Windows also has certain other combinations of (upper-case) letters that are illegal - see here for details: http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Re: error unable to open target file

Posted: Wed Dec 29, 2010 6:29 pm
by ANMB
While using the lettercount.com , I was curious if it included spaces and punctuation, and saw this note at the bottom of the box where you type in the text:

"Twitter's character limit is 140. An SMS text message limit is 160. Google AdSense ads can have 25 characters for the title, 70 characters for the ad text, and 35 characters for the displayed URL. N.B. a space or punctuation are a "character". "

When I previously tried to use the slash " / " in the label names; upon exporting, Audacity actually converted it to " - ", and I just began using the character with the label names in this lesson and future ones.

And for this particular track in question below; the count is 255!

C:UsersM AhmedDesktopDoman Sets 12.08.09How to Teach Your Baby to ReadQur'an al-KareemNoorani English LessonsNoorani English Lesson 11 soundclips mp3Lesson 11 page 22 soundclips mp3la-qad-kha-laq-naal-in-saa-na-feeeee-aH-sa-ni-taq-wii-min 22.5.1

I will see if it will export or not; and I will probably just use shorter transliterated names and the "page # . row # . cell # " that corresponds with the book, and individual jpegs.

Thanks again for your help.

Re: error unable to open target file

Posted: Wed Dec 29, 2010 9:02 pm
by billw58
Don't know if this would break the links to your flashcards, but could you change

Noorani English LessonsNoorani English Lesson 11 soundclips mp3Lesson 11 page 22 soundclips mp3

to

Noorani English LessonsLesson 11 soundspage 22 sounds

-- Bill