--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: positron: does case-sensitive searches on Neuros filesystem
- From: Hubert Chan <hubert@uhoreg.ca>
- Date: Fri, 22 Apr 2005 00:25:21 -0400
- Message-id: <87r7h3igjy.fsf@evinrude.uhoreg.ca>
Package: positron
Version: 1:1.1-1
Severity: important
I just tried to sync using positron. It gave the following message:
# positron sync
Synchronizing Neuros music database.
Checking for new music... Copying 778 new tracks.Madrigal_...
1. 01-Oboe Quartet in F (K370) - Allegro-American Baroque.ogg...
Traceback (most recent call last):
File "/usr/bin/positron", line 205, in ?
main(sys.argv)
File "/usr/bin/positron", line 187, in main
cmd.run(config, myNeuros, remaining[1:])
File "/usr/lib/python2.3/site-packages/positron/cmd_sync.py", line 131, in run add_track(neuros, sourcename, targetname, metadata)
File "/usr/lib/python2.3/site-packages/positron/add_file.py", line 79, in add_track
util.copy_file(sourcename, targetname)
File "/usr/lib/python2.3/site-packages/positron/util.py", line 40, in copy_file
os.makedirs(dirname) # Does not work with UNC paths on Win32
File "/usr/lib/python2.3/os.py", line 153, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.3/os.py", line 153, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.3/os.py", line 154, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/media/neuros/MUSIC'
After modifying /usr/lib/python2.3/site-packages/positron/config.py* to
replace "MUSIC" with "music", it now works better -- it now copies some
files.
AFAICT, when positron looks for the music directory, it does a
case-sensitive search. However, the FAT filesystem is case insensitive.
Since my Neuros has the directory /music instead of /MUSIC, positron
does not find the music directory, even though it is there, and when it
attempts to create it, it fails.
However, it still has some problems copying some files, even after the
change. On my Neuros, I have a directory /music/u2, while positron is
trying to create a directory /music/U2, and this is failing... (similar
error message as above.)
I deleted /music/u2, and now it is recopying that whole tree (although
for some reason the directory still gets created as "u2" rather than
"U2". So it seems to be working for now, until the next time I do a
sync, when it will attempt to create the /music/U2 directory again...
(I think that positron used to work correctly.)
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-mm3
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Versions of packages positron depends on:
ii python 2.3.5-2 An interactive high-level object-o
ii python-id3 1.2-6.1 Python module for id3-tags manipul
ii python-pyvorbis 1.3-1 A Python interface to the Ogg Vorb
-- no debconf information
--- End Message ---