Failed to load the file list

Bug #1661951 reported by infector
This bug report is a duplicate of:  Bug #1665900: Case-sensitivity in filelists. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AirDC++
New
Undecided
Unassigned

Bug Description

Can't open user list.

Failed to load the file list USER_NAME: The directory Music\Library\E\DIR_NAME\ contains items with duplicate names (DIR_NAME, FILE_NAME)

g57715

Revision history for this message
maksis (maksis) wrote :

The filelist is malformed.

"each file or directory name must be unique in a case-insensitive context."

http://adc.sourceforge.net/ADC.html#_file_names_and_structure

Revision history for this message
infector (infectormp) wrote :

ok, file list from EiskaltDC++ 2.2.9.

Can we change error message to something like this:

ADC protocol violation, file or directory name not unique: Failed to load the file list USER_NAME: The directory Music\Library\E\DIR_NAME\ contains items with duplicate names (DIR_NAME, FILE_NAME)

this will more clear to user, because user not know all ADC protocol restrictions.

Revision history for this message
infector (infectormp) wrote :

Related to linux, user have same directory with different case. EiskaltDC hash it, AirDC++ can't open.

Revision history for this message
maksis (maksis) wrote :

What do you mean with "AirDC++ can't open"? AirDC++ should merge such directories when generating filelist.

Revision history for this message
infector (infectormp) wrote :

If i try open this file list window closed after 1 second with error "Failed to load the file..."

Revision history for this message
maksis (maksis) wrote :

Yes, eiskaltdcpp seems to (intentionally) generate malformed lists and disobey the spec: https://github.com/eiskaltdcpp/eiskaltdcpp/commit/cbc3ae53a1259b5c7a1549e7c824e0b6bc497b6d

The same happens with FlylinkDC++ as well, while AirDC++ and DC++ will handle shared duplicates correctly via merging/renaming. At the moment, AirDC++ is probably only client that validates the lists for duplicates, which is problematic indeed if no one else cares about the validity. I'll create a new issue for DC++ a bit later.

ps. https://bugs.launchpad.net/dcplusplus/+bug/311818

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.