p-shu / flukeformac

Automatically exported from code.google.com/p/flukeformac
0 stars 0 forks source link

Incorrect handling of filenames with special characters #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select a number of FLAC files
2. Drag'n'Drop them onto Fluke app
3. Error dialog appears with options "Open console" and "Terminate"
4. Select "Open console"

What is the expected output? What do you see instead?
No error expected.

What version of the product are you using? On what operating system?
Latest as of today, running Snow Leopard with latest updates.

Please provide any additional information below.
An exceprt from the console log:

10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580] Traceback (most
recent call last):
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]   File
"/Applications/Fluke.app/Contents/Resources/__boot__.py", line 137, in <module>
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]    
_run('flukeapp.py')
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]   File
"/Applications/Fluke.app/Contents/Resources/__boot__.py", line 134, in _run
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]    
execfile(path, globals(), globals())
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]   File
"/Applications/Fluke.app/Contents/Resources/flukeapp.py", line 37, in <module>
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]    
files.itunesAdd()
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]   File
"fluke/__init__.pyc", line 25, in itunesAdd
10/28/09 7:04:55 PM [0x0-0x5c05c].com.kichenko.fluke[22580]
fluke.exceptions.GUIFormatError: app(u'/Applications/iTunes.app').add
10/28/09 7:04:55 PM Fluke[22580]    Fluke Error
10/28/09 7:04:55 PM Fluke[22580]    Fluke Error
An unexpected error has occurred during execution of the main script

GUIFormatError: app(u'/Applications/iTunes.app').add

Original issue reported on code.google.com by fisa...@gmail.com on 28 Oct 2009 at 6:08

GoogleCodeExporter commented 8 years ago
I get this error whenever a filename contains a forward slash '/' or backslash 
'\'. It appears that they are not 
being escaped in the script.

Original comment by adam.las...@gmail.com on 25 Jan 2010 at 11:30

GoogleCodeExporter commented 8 years ago
I am having the same issue. This is the dialogue box I get. 

Original comment by coreygra...@gmail.com on 25 Feb 2010 at 1:40

Attachments:

GoogleCodeExporter commented 8 years ago
These might be somewhat related. We won't know for sure until I sober up!

http://i43.tinypic.com/24m9n44.jpg
http://i41.tinypic.com/2u9pk7l.jpg

Original comment by dmitryki...@gmail.com on 20 Apr 2010 at 4:56

GoogleCodeExporter commented 8 years ago
This needs to go to the test cases as well

Original comment by dmitryki...@gmail.com on 20 Apr 2010 at 5:03

GoogleCodeExporter commented 8 years ago
Just updated to iTunes 9.2.1 and getting the exact same errors on ANY flac 
file. running fluke 0.2.5b on last version of Leopard.

Original comment by chris.is...@gmail.com on 24 Jul 2010 at 6:44

GoogleCodeExporter commented 8 years ago
Same problem still exists.  Bummer...

10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]   Traceback (most 
recent call last):
10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]     File 
"/Applications/Fluke.app/Contents/Resources/__boot__.py", line 137, in <module>
10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]       
_run('flukeapp.py')
10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]     File 
"/Applications/Fluke.app/Contents/Resources/__boot__.py", line 134, in _run
10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]       execfile(path, 
globals(), globals())
10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]     File 
"/Applications/Fluke.app/Contents/Resources/flukeapp.py", line 37, in <module>
10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]       files.itunesAdd()
10/27/10 4:57:46 PM [0x0-0x2b02b].com.kichenko.fluke[523]     File 
"fluke/__init__.pyc", line 25, in itunesAdd
10/27/10 4:57:46 
PM  [0x0-0x2b02b].com.kichenko.fluke[523]   fluke.exceptions.GUIFormatError: 
app(u'/Applications/iTunes.app').add
10/27/10 4:57:46 PM Fluke[523]  Fluke Error
10/27/10 4:57:46 PM Fluke[523]  Fluke Error
An unexpected error has occurred during execution of the main script

GUIFormatError: app(u'/Applications/iTunes.app').add

Original comment by speakerm...@gmail.com on 27 Oct 2010 at 11:58

GoogleCodeExporter commented 8 years ago
same here and really annoying, it happens every time I want to import a whole 
album.

Original comment by z.mgebri...@gmail.com on 11 Dec 2010 at 3:46

GoogleCodeExporter commented 8 years ago
Try this: drop the files in iTunes (10.1.1) directly! Or maybe just use import 
from the menu. 

Works for me®

Original comment by kozyme...@gmail.com on 23 Dec 2010 at 11:28

GoogleCodeExporter commented 8 years ago
Had the same problem, but it seems that it is, as kozyme said, possible to just 
drop flac files directly in the newest version of iTunes.

Original comment by lartpour...@gmail.com on 25 Feb 2011 at 10:24

GoogleCodeExporter commented 8 years ago
i have lion installed and its not working even when i try to add the files 
directly on iTunes :S

Original comment by xlaurit...@gmail.com on 20 Oct 2011 at 5:31

GoogleCodeExporter commented 8 years ago
i had the same issue, but it works on itunes with cmd+o and then selecting the 
files

Original comment by giuliano...@gmail.com on 2 Jul 2012 at 5:40

GoogleCodeExporter commented 8 years ago
Having this problem in Lion, and have for the past few releases.

Original comment by s...@auburnguitar.com on 14 Jul 2012 at 4:38

GoogleCodeExporter commented 8 years ago
Same for Mountain Lion

Original comment by jeffac...@gmail.com on 17 Oct 2013 at 1:12