← Back to team overview

pytagsfs team mailing list archive

Question and Issue

 

Hi,

I didn't success to create a log file :/

The output on stdout is too verbose and I have my coveart stored in data field of my mp3. So the verbose is very long and as I control my server remotely, it's impossible to mount one partition and to obtain a logfile with this command :

        pytagsfs -d -o source_iocharset=iso-8859-1 -o format='/%a/%l/%t.%e' -o dstfilter='^/[0a-eA-E].*' -o allow_other -o uid=1000 -o gid=33 -o verbosity=warning -o logsize=100000000 /sharezone2/Musique/ /mnt/Music/Artist/0A-E/ > output.log

There is a way to minimize output or to turn off stdout ?

Some songs of my collection have an accentuated title or space in title. Is it a problem ?

Here an extract of the stdout :

[10:27:21,519] Explicitly excluded fake path: /St. Germain/Tourist/Rose Rouge.mp3; real path: /sharezone2/Musique/S/Saint Germain/Tourist/01 - Rose Rouge.mp3
[10:27:21,519] remove_source_file: PathNotFound: /sharezone2/Musique/S/Saint Germain/Tourist/02 - Montego Bay Spleen.mp3
[10:27:21,540] fill_path: substitutions = {'performer': u'St. Germain', u'performer:talking drum': u'Idrissa Diop', 'musicbrainz_albumstatus': u'official', 'p': u'Tourist
', 'releasecountry': u'FR', 'genre': u'Electronica', 'albumartistsort': u'Saint Germain', 'musicbrainz_albumartistid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'composer'
: u'Ludovic Navarre', 'tracknumber': u'2/9', 'musicbrainz_albumid': u'fbded8c0-5c42-4f31-83e9-c9250d6024fb', 'album': u'Tourist', 'asin': u'B00005J7VJ', 'musicbrainz_arti
stid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'title': u'Montego Bay Spleen', 'filename': u'02 - Montego Bay Spleen.mp3', 'artistsort': u'Saint Germain', u'performer:pe
rcussion instruments': u'Edmundo Carneiro', 'parent': u'Tourist', u'performer:keyboard': u'Alexandre Destrez', 'barcode': u'724353367107', 'g': u'Electronica', 'musicbrai
nz_albumtype': u'album', 'date': u'2000', u'performer:trumpet': u'Pascal Ohs\xe9', 'a': u'St. Germain', 'c': u'Ludovic Navarre', 'e': u'mp3', u'performer:saxophone and fl
ute': u'Edouard Labor', 'extension': u'mp3', 'artist': u'St. Germain', 'f': u'02 - Montego Bay Spleen.mp3', 'l': u'Tourist', 'musicbrainz_trackid': u'86af445d-c9f9-44af-8
db0-320c964a5523', u'performer:baritone saxophone': u'Claudio De Queiroz', 'length': u'342569', 't': u'Montego Bay Spleen', 'y': u'2000', 'organization': u'Blue Note'}
[10:27:21,541] Explicitly excluded fake path: /St. Germain/Tourist/Montego Bay Spleen.mp3; real path: /sharezone2/Musique/S/Saint Germain/Tourist/02 - Montego Bay Spleen.
mp3
[10:27:21,541] remove_source_file: PathNotFound: /sharezone2/Musique/S/Saint Germain/Tourist/AlbumArt_{BD80AD67-3A67-425F-9128-0C1D308D9163}_Small.jpg
[10:27:21,542] fill_path: substitutions = {'e': u'jpg', 'extension': u'jpg', 'parent': u'Tourist', 'f': u'AlbumArt_{BD80AD67-3A67-425F-9128-0C1D308D9163}_Small.jpg', 'fil
ename': u'AlbumArt_{BD80AD67-3A67-425F-9128-0C1D308D9163}_Small.jpg', 'p': u'Tourist'}
[10:27:21,542] Unrepresentable file: /sharezone2/Musique/S/Saint Germain/Tourist/AlbumArt_{BD80AD67-3A67-425F-9128-0C1D308D9163}_Small.jpg
[10:27:21,542] failed to fill expression u'%a' with substitutions {'e': u'jpg', 'extension': u'jpg', 'parent': u'Tourist', 'f': u'AlbumArt_{BD80AD67-3A67-425F-9128-0C1D30
8D9163}_Small.jpg', 'filename': u'AlbumArt_{BD80AD67-3A67-425F-9128-0C1D308D9163}_Small.jpg', 'p': u'Tourist'} (undefined parameters: u'a')
[10:27:21,552] remove_source_file: PathNotFound: /sharezone2/Musique/S/Saint Germain/Tourist/Tourist.jpg
[10:27:21,552] fill_path: substitutions = {'e': u'jpg', 'extension': u'jpg', 'parent': u'Tourist', 'f': u'Tourist.jpg', 'filename': u'Tourist.jpg', 'p': u'Tourist'}
[10:27:21,552] Unrepresentable file: /sharezone2/Musique/S/Saint Germain/Tourist/Tourist.jpg
[10:27:21,552] failed to fill expression u'%a' with substitutions {'e': u'jpg', 'extension': u'jpg', 'parent': u'Tourist', 'f': u'Tourist.jpg', 'filename': u'Tourist.jpg'
, 'p': u'Tourist'} (undefined parameters: u'a')
[10:27:21,557] remove_source_file: PathNotFound: /sharezone2/Musique/S/Saint Germain/Tourist/04 - Land Of....mp3
[10:27:21,567] fill_path: substitutions = {'performer': u'St. Germain', u'performer:talking drum': u'Idrissa Diop', 'musicbrainz_albumstatus': u'official', 'p': u'Tourist
', 'releasecountry': u'FR', 'genre': u'Electronica', 'albumartistsort': u'Saint Germain', 'musicbrainz_albumartistid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'composer'
: u'Ludovic Navarre', 'tracknumber': u'4/9', 'musicbrainz_albumid': u'fbded8c0-5c42-4f31-83e9-c9250d6024fb', 'album': u'Tourist', 'asin': u'B00005J7VJ', 'musicbrainz_arti
stid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'title': u'Land of...', 'filename': u'04 - Land Of....mp3', 'artistsort': u'Saint Germain', u'performer:percussion instrum
ents': u'Edmundo Carneiro', 'parent': u'Tourist', u'performer:keyboard': u'Alexandre Destrez', 'barcode': u'724353367107', 'g': u'Electronica', 'musicbrainz_albumtype': u
'album', 'date': u'2000', u'performer:trumpet': u'Pascal Ohs\xe9', 'a': u'St. Germain', 'c': u'Ludovic Navarre', 'e': u'mp3', u'performer:saxophone and flute': u'Edouard
Labor', 'extension': u'mp3', 'artist': u'St. Germain', 'f': u'04 - Land Of....mp3', 'l': u'Tourist', 'musicbrainz_trackid': u'a3665243-faf8-4853-b217-d2e3bf975dc0', u'per
former:baritone saxophone': u'Claudio De Queiroz', 'length': u'470177', 't': u'Land of...', 'y': u'2000', 'organization': u'Blue Note'}
[10:27:21,567] Explicitly excluded fake path: /St. Germain/Tourist/Land of....mp3; real path: /sharezone2/Musique/S/Saint Germain/Tourist/04 - Land Of....mp3
[10:27:21,568] remove_source_file: PathNotFound: /sharezone2/Musique/S/Saint Germain/Tourist/07 - Pont Des Arts.mp3
[10:27:21,577] fill_path: substitutions = {'performer': u'St. Germain', u'performer:talking drum': u'Idrissa Diop', 'musicbrainz_albumstatus': u'official', 'p': u'Tourist
', 'releasecountry': u'FR', 'genre': u'Electronica', 'albumartistsort': u'Saint Germain', 'musicbrainz_albumartistid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'composer'
: u'Ludovic Navarre', 'tracknumber': u'7/9', 'musicbrainz_albumid': u'fbded8c0-5c42-4f31-83e9-c9250d6024fb', 'album': u'Tourist', 'asin': u'B00005J7VJ', 'musicbrainz_arti
stid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'title': u'Pont des Arts', 'filename': u'07 - Pont Des Arts.mp3', 'artistsort': u'Saint Germain', u'performer:percussion i
nstruments': u'Edmundo Carneiro', 'parent': u'Tourist', u'performer:keyboard': u'Alexandre Destrez', 'barcode': u'724353367107', 'g': u'Electronica', 'musicbrainz_albumty
pe': u'album', 'date': u'2000', u'performer:trumpet': u'Pascal Ohs\xe9', 'a': u'St. Germain', 'c': u'Ludovic Navarre', 'e': u'mp3', u'performer:saxophone and flute': u'Ed
ouard Labor', 'extension': u'mp3', 'artist': u'St. Germain', 'f': u'07 - Pont Des Arts.mp3', 'l': u'Tourist', 'musicbrainz_trackid': u'8d4c4ec1-0dd6-471b-9dc5-ec7742c5c75
e', u'performer:baritone saxophone': u'Claudio De Queiroz', 'length': u'447738', 't': u'Pont des Arts', 'y': u'2000', 'organization': u'Blue Note'}
[10:27:21,578] Explicitly excluded fake path: /St. Germain/Tourist/Pont des Arts.mp3; real path: /sharezone2/Musique/S/Saint Germain/Tourist/07 - Pont Des Arts.mp3
[10:27:21,578] remove_source_file: PathNotFound: /sharezone2/Musique/S/Saint Germain/Tourist/09 - What You Think About....mp3
[10:27:21,587] fill_path: substitutions = {'performer': u'St. Germain', u'performer:talking drum': u'Idrissa Diop', 'musicbrainz_albumstatus': u'official', 'p': u'Tourist
', 'releasecountry': u'FR', 'genre': u'Electronica', 'albumartistsort': u'Saint Germain', 'musicbrainz_albumartistid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'composer'
: u'Ludovic Navarre', 'tracknumber': u'9/9', 'musicbrainz_albumid': u'fbded8c0-5c42-4f31-83e9-c9250d6024fb', 'album': u'Tourist', 'asin': u'B00005J7VJ', 'musicbrainz_arti
stid': u'9a04dc8c-82f1-457a-a25a-3ff19e1b471e', 'title': u'What You Think About...', 'filename': u'09 - What You Think About....mp3', 'artistsort': u'Saint Germain', u'pe
rformer:percussion instruments': u'Edmundo Carneiro', 'parent': u'Tourist', u'performer:keyboard': u'Alexandre Destrez', 'barcode': u'724353367107', 'g': u'Electronica',
'musicbrainz_albumtype': u'album', 'date': u'2000', u'performer:trumpet': u'Pascal Ohs\xe9', 'a': u'St. Germain', 'c': u'Ludovic Navarre', 'e': u'mp3', u'performer:saxoph
one and flute': u'Edouard Labor', 'extension': u'mp3', 'artist': u'St. Germain', 'f': u'09 - What You Think About....mp3', 'l': u'Tourist', 'musicbrainz_trackid': u'9c1e3
c65-d0f2-4958-883b-a3596b93f89b', u'performer:baritone saxophone': u'Claudio De Queiroz', 'length': u'288078', 't': u'What You Think About...', 'y': u'2000', 'organizatio
n': u'Blue Note'}
[10:27:21,588] Explicitly excluded fake path: /St. Germain/Tourist/What You Think About....mp3; real path: /sharezone2/Musique/S/Saint Germain/Tourist/09 - What You Think
 About....mp3
[10:27:21,588] remove_source_file: PathNotFound: /sharezone2/Musique/S/Saint Germain/Tourist/03 - So Flute.mp3

Cordially,

Laurent Pouget




----- Mail Original -----
De: "Forest Bond" <forest@xxxxxxxxxxxxxxxxxxx>
À: everfly@xxxxxxx
Cc: pytagsfs@xxxxxxxxxxxxxxxxxxx
Envoyé: Mardi 10 Août 2010 21h26:40 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [Pytagsfs] Question and Issue

Hi,

On Tue, Aug 10, 2010 at 09:28:32AM +0200, everfly@xxxxxxx wrote:
> I have a problem to compile the source on bazar.
> 
> After running ./setup.py build, I have the following error :
> 
> Traceback (most recent call last):
>   File "./setup.py", line 140, in <module>
>     class build_manpages(Command):
>   File "./setup.py", line 145, in build_manpages
>     stylesheet = find_docbook_manpage_stylesheet()
>   File "./setup.py", line 135, in find_docbook_manpage_stylesheet
>     from libxml2 import catalogResolveURI
> ImportError: No module named libxml2

You should install the python-libxml2 package.

> And a question :
> 
> The fuse filesystem implies that files are automatically hardlinked ?
> 
> Because I have a ~70Go music library on a 120Go logical device and I can’t
> create a virtual organization like this :
>  
> Artist/0A-E/…
> Artist/F-J/…
> …
> 
> I have an : IOError: [Errno 28] No space left on device
> 
> Any suggestion ?

pytagsfs only writes to disk when you modify virtual files and directories.  If
you are seeing this during filesystem initialization, that is not something I've
seen before.

Can you post the full error message?  If you can attach a log file, that would
be even more helpful.  Compress it with gzip if it is large.

To generate a log file, you can do this:

  pytagsfs -d [REST OF ARGUMENTS] >pytagsfs.log

That will not detach from the terminal (-d triggers foreground operation), so
you may need to unmount from a different terminal.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org



Follow ups