Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.
Moderators: Klaus , FourthWorld , heatherlaine , kevinmiller , robinmiller
paulclaude
Posts: 121 Joined: Thu Mar 27, 2008 10:19 am
Post
by paulclaude » Wed Nov 11, 2009 6:16 pm
It seems that, using the defaultfolder to access any iDisk folder with accented chars in the folder name, gives a "can't open directory" error and automatically unmount the iDisk volume.
Example:
Code: Select all
set the directory to "/Volumes/userName/Web/Sites/recettes/Recettes_réalisées_avec_du_matériel_files"
gives this error.
Any suggestion?
Janschenkel
VIP Livecode Opensource Backer
Posts: 977 Joined: Sat Apr 08, 2006 7:47 am
Contact:
Post
by Janschenkel » Thu Nov 12, 2009 8:31 am
Could you first use
answer folder to select the iDisk folder, and then check its path?
Code: Select all
on mouseUp
answer folder
if the result is not "Cancel" then
answer it
end if
end mouseUp
Jan Schenkel.
paulclaude
Posts: 121 Joined: Thu Mar 27, 2008 10:19 am
Post
by paulclaude » Thu Nov 12, 2009 8:50 am
Janschenkel wrote: Could you first use
answer folder to select the iDisk folder, and then check its path?
Code: Select all
on mouseUp
answer folder
if the result is not "Cancel" then
answer it
end if
end mouseUp
Jan Schenkel.
Yes, Jan, without problems: the path is displayed correctly. The problem is that defaultFolder gives this error anyway, and it seems to me that it doesn't accept encoded paths.
Janschenkel
VIP Livecode Opensource Backer
Posts: 977 Joined: Sat Apr 08, 2006 7:47 am
Contact:
Post
by Janschenkel » Thu Nov 12, 2009 10:27 am
In that case, you should file a report in the
Quality Control Center
Make sure to include your MacOSX version in the report.
Jan Schenkel.
paulclaude
Posts: 121 Joined: Thu Mar 27, 2008 10:19 am
Post
by paulclaude » Thu Nov 12, 2009 10:43 am
Done. But I hoped that somebody could suggest a solution
Last edited by
paulclaude on Fri Nov 13, 2009 3:36 pm, edited 1 time in total.
paulclaude
Posts: 121 Joined: Thu Mar 27, 2008 10:19 am
Post
by paulclaude » Fri Nov 13, 2009 3:35 pm
Only to inform everybody: the same problem happens with the "there is" operator (it return false and the iDisk is unmounted).