Modify

Ticket #612 (new defect)

Opened 3 years ago

Last modified 2 years ago

[Error 13] Permission denied - It looks nicotine no longer builds my library from an external HDD

Reported by: firebuster Owned by: quinox
Priority: normal Milestone: Release 1.2.14
Component: nicotine Version: 1.2.12
Keywords: 1.2.12 Cc:

Description

It looks nicotine no longer builds my library from an external HDD, though the directory is listed in My shares.

Scanning Directory Error: [Errno 13] Permission denied: '/media/My Studio/Music?' Path: /media/My Studio/Music? 18:55:59 Traceback: OSError: [Errno 13] Permission denied: '/media/My Studio/Music?' 18:55:59 File "/usr/lib/pymodules/python2.6/pynicotine/utils.py", line 240, in getDirsMtimes

contents = dircache.listdir(directory)

18:55:59 File "/usr/lib/python2.6/dircache.py", line 28, in listdir

mtime = os.stat(path).st_mtime

18:56:00 18:56:01 Scanning File Error: Requested 0xe5be of 0x4380 (/home/NAME/Music/Income/Incomplete/INCOMPLETEe06c1a84d7185b4c143e1aa31cf8e34201 - Good Lies.mp3) Path: /home/NAME/Music/Income/Incomplete/INCOMPLETEe06c1a84d7185b4c143e1aa31cf8e34201 - Good Lies.mp3 18:56:01 Traceback: EOFError: Requested 0xe5be of 0x4380 (/home/NAME/Music/Income/Incomplete/INCOMPLETEe06c1a84d7185b4c143e1aa31cf8e34201 - Good Lies.mp3) 18:56:01 File "/usr/lib/pymodules/python2.6/pynicotine/utils.py", line 451, in getFileInfo

info = metadata.detect(pathname)

18:56:01 File "/usr/lib/pymodules/python2.6/pynicotine/metadata_mutagen.py", line 18, in detect

audio = mutagen.File(path)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/init.py", line 202, in File

if score > 0: return Kind(filename)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/init.py", line 73, in init

self.load(filename, *args, kwargs)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/id3.py", line 1949, in load

try: self.tags = ID3(filename, kwargs)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/id3.py", line 74, in init

super(ID3, self).init(*args, kwargs)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/_util.py", line 103, in init

super(DictProxy?, self).init(*args, kwargs)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/init.py", line 37, in init

self.load(*args, kwargs)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/id3.py", line 135, in load

data = self.fullread(self.size - 10)

18:56:01 File "/usr/lib/python2.6/dist-packages/mutagen/id3.py", line 82, in fullread

(long(size), long(self.filesize), self.filename))

Attachments

Change History

comment:1 Changed 3 years ago by anonymous

I found the problem: after updating to Ubuntu 10.4 it has crated a dir called My Studio_ and locked My Studio dir. Nicotine was trying to access My Studio which was locked.

comment:2 Changed 3 years ago by quinox

Thanks for the report and the follow-up, I'll look into it next week to see if it's something we can improve (continue scanning on errors perhaps)

comment:3 Changed 2 years ago by anonymous

i wrote chmod 777 /directory and I fixed the problem

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.