sevenkatanas / flukeformac

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

Fluke doesn't work with SMB mounts #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I installed fluke_0.2.5b.zip under 10.5 with all the default choices in order 
to be able to use FLAC files from a filesystem on my server which is mounted 
via SMB under Mac. Unfortunately the program doesn't work in this case: 
clicking a file in the Finder or running it from the command line only results 
in a cryptic "Error: (-5000, '')" message. Here is an example of running it 
from Terminal (when opening a file from Finder the same output can be seen in 
Console):

% /Applications/Fluke.app/Contents/MacOS/Fluke somefile.flac
Traceback (most recent call last):
  File "/Applications/Fluke.app/Contents/Resources/__boot__.py", line 137, in <module>
    _run('flukeapp.py')
  File "/Applications/Fluke.app/Contents/Resources/__boot__.py", line 134, in _run
    execfile(path, globals(), globals())
  File "/Applications/Fluke.app/Contents/Resources/flukeapp.py", line 37, in <module>
    files.itunesAdd()
  File "fluke/__init__.pyc", line 20, in itunesAdd
  File "fluke/__init__.pyc", line 113, in setFileTypeToOggs
MacOS.Error: (-5000, '')
2010-11-09 21:32:58.595 Fluke[93620:10b] Fluke Error
2010-11-09 21:32:58.596 Fluke[93620:10b] Fluke Error
An unexpected error has occurred during execution of the main script

If I copy the same file to the local file system, it works as expected. Maybe 
it's a limitation of FSxxx functions used by setFileTypeToOggs?

BTW, I'm surprised by the liner number 113 in fluke/__init__.py: looking at the 
svn version of this file it doesn't even have that many lines so I have no idea 
where does it come from.

Original issue reported on code.google.com by vzeitlin@gmail.com on 9 Nov 2010 at 8:44

GoogleCodeExporter commented 8 years ago
Yes, I was confused by the line numbers as well. It turns out that the current 
release is from the branch, not from the trunk.

Regarding the actual issue you are having, I believe it should give a different 
error but just for your information: if you have FileVault enabled and your 
network share has the same name as your own username, it seems that it will 
always fail due to the peculiarities of AppleScript.

Original comment by chortos@inbox.lv on 12 Dec 2010 at 10:12