DC won't add folders to queue.xml

Drop a note here when you delete a post and so on so we can keep track of troublemakers...

Moderator: Moderators

KOJV
Account Disabled Due to Policy
Posts: 8
Joined: 2006-08-28 23:45

DC won't add folders to queue.xml

Post by KOJV » 2006-08-28 23:47

Search for folder, download whole directory.

The folder is added to Queue.xml as Directory Target. Then DC downloads the source's file list. Then it removes the Directory Target, but never adds the files to Download Target; the target just vanishes from Queue.xml.

Thank you for helping!

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2006-09-01 01:16

It sounds like a bug, but I haven't seen it in my experiences. DC++ does need to get the file list to get the list of files in the directory. But they should (obviously) be added to the queue.

If you can narrow down how to reproduce it, feel free to enter a report in bugzilla.

KOJV
Account Disabled Due to Policy
Posts: 8
Joined: 2006-08-28 23:45

Post by KOJV » 2006-09-01 14:10

It's quite easy actually, it's the same on any 0.674 installation I make.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2006-09-02 14:21

KOJV wrote:It's quite easy actually, it's the same on any 0.674 installation I make.
Yes, but not on the 0.674 I have. That's the reproducibility part. Is it the same for all users? Are you sure the directory's contents are not showing up in your Download Queue? Does "Get file list" work from the search results? (It should take you to the directory that has the file you clicked on.)

KOJV
Account Disabled Due to Policy
Posts: 8
Joined: 2006-08-28 23:45

Post by KOJV » 2006-09-02 22:12

It's the same for me and my wife. I can't speak for other users.

Yes, I'm sure. I even hardscan the xml configuration. It doesn't add to the Queue.

I can get a File List and even Download from there, then the whole directory will add to the Queue. But it doesn't work if I choose to Download whole directory, right from the search list.

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 20:38

Post by Guitarm » 2006-09-02 23:31

I've tried to reproduce this error too with version 0.674. I can't see the problem. I do exactly as the poster suggests. It works fine here. The files are downloaded.
I also check what is happening on Queue.xml with File Monitor (sysinternals) and it looks fine. (Looking at Queue.xml with an editor as well and it looks perfectly ok.
Is it really standard DC++ 0.674 you're talking about?. Could you check it yourself with File Monitor?
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

KOJV
Account Disabled Due to Policy
Posts: 8
Joined: 2006-08-28 23:45

Post by KOJV » 2006-09-03 01:23

Guitarm, no need for File Monitor as I can monitor Queue.xml myself, manually, and see that it first adds the folder as Directory Target but never transfers it to Download Target.

I reproduce this error both with RevConnect and "real" DC++ 0.674, on two machines.

KOJV
Account Disabled Due to Policy
Posts: 8
Joined: 2006-08-28 23:45

Post by KOJV » 2006-09-03 01:26

Here's my DCPlusPlus.xml for reference, if there's something wrong with that. I didn't try reproducing the error on a clean install. My email was censored.

Code: Select all

<xml>
<DCPlusPlus>
	<Settings>
		<Connection>Cable</Connection>
		<DownloadDirectory>G:\downloaded\</DownloadDirectory>
		<EMail>dc --- kojv.net</EMail>
		<Nick>[0.6]KOJV</Nick>
		<Server>kojv.mine.nu</Server>
		<Font>MS Shell Dlg,6X7777YAAAAAAAAAAAAAAAAAACIACAAAAAAAAAAAAAAAA</Font>
		<MainFrameOrder>0,1,2,3,4,5,6,7,8,9</MainFrameOrder>
		<MainFrameWidths>150,100,250,75,75,175,100,200,50,75</MainFrameWidths>
		<HubFrameOrder>0,1,2,3,4,5</HubFrameOrder>
		<HubFrameWidths>100,75,75,100,75,100</HubFrameWidths>
		<LanguageFile>D:\program\RevConnect\Swedish_for_DC++_0674.xml</LanguageFile>
		<SearchFrameOrder>0,1,2,3,4,5,6,7,8,9,10</SearchFrameOrder>
		<SearchFrameWidths>200,100,80,80,100,40,70,150,80,100,125</SearchFrameWidths>
		<FavoritesFrameOrder>0,1,2,3,4,5,6</FavoritesFrameOrder>
		<FavoritesFrameWidths>200,290,100,125,100,100,125</FavoritesFrameWidths>
		<QueueFrameOrder>0,1,2,3,4,5,6,7,8,9,10,11,12</QueueFrameOrder>
		<QueueFrameWidths>200,75,110,75,75,75,75,200,75,200,100,125,75</QueueFrameWidths>
		<PublicHubsFrameOrder>0,1,2,3,4,5,6,7,8,9,10,11</PublicHubsFrameOrder>
		<PublicHubsFrameWidths>200,290,50,100,100,100,100,100,100,100,100,100</PublicHubsFrameWidths>
		<UsersFrameOrder>0,1,2,3,4</UsersFrameOrder>
		<UsersFrameWidths>200,150,300,125,200</UsersFrameWidths>
		<LogFormatPostDownload>%Y-%m-%d %H:%M: %[target] downloaded from %[user], %[size] (%[chunksize]), %[speed], %[time]</LogFormatPostDownload>
		<LogFormatPostUpload>%Y-%m-%d %H:%M: %[source] uploaded to %[user], %[size] (%[chunksize]), %[speed], %[time]</LogFormatPostUpload>
		<LogFormatMainChat>[%Y-%m-%d %H:%M] %[message]</LogFormatMainChat>
		<LogFormatPrivateChat>[%Y-%m-%d %H:%M] %[message]</LogFormatPrivateChat>
		<TempDownloadDirectory>D:\download\</TempDownloadDirectory>
		<ConfigVersion>0.674</ConfigVersion>
		<CID>RI4DPY2ZYFQMU</CID>
		<LogFileMainChat>%[hubaddr].log</LogFileMainChat>
		<LogFilePrivateChat>%[user].log</LogFilePrivateChat>
		<LogFileStatus>%[hubaddr]_status.log</LogFileStatus>
		<LogFileUpload>Uploads.log</LogFileUpload>
		<LogFileDownload>Downloads.log</LogFileDownload>
		<LogFileSystem>system.log</LogFileSystem>
		<LogFormatSystem>[%Y-%m-%d %H:%M] %[message]</LogFormatSystem>
		<LogFormatStatus>[%Y-%m-%d %H:%M] %[message]</LogFormatStatus>
		<DirectoryListingFrameOrder>0,1,2,3,4</DirectoryListingFrameOrder>
		<DirectoryListingFrameWidths>300,60,100,100,200</DirectoryListingFrameWidths>
		<InPort>505</InPort>
		<Slots>8</Slots>
		<Rollback>4096</Rollback>
		<AutoFollow>1</AutoFollow>
		<ClearSearch>1</ClearSearch>
		<BackgroundColor>16777215</BackgroundColor>
		<TextColor>0</TextColor>
		<UseOemMonoFont>0</UseOemMonoFont>
		<ShareHidden>0</ShareHidden>
		<FilterMessages>1</FilterMessages>
		<MinimizeToTray>1</MinimizeToTray>
		<AutoSearch>1</AutoSearch>
		<TimeStamps>1</TimeStamps>
		<ConfirmExit>1</ConfirmExit>
		<IgnoreOffline>0</IgnoreOffline>
		<PopupOffline>0</PopupOffline>
		<ListDuplicates>1</ListDuplicates>
		<BufferSize>4</BufferSize>
		<DownloadSlots>0</DownloadSlots>
		<MaxDownloadSpeed>0</MaxDownloadSpeed>
		<LogMainChat>0</LogMainChat>
		<LogPrivateChat>0</LogPrivateChat>
		<LogDownloads>0</LogDownloads>
		<LogUploads>0</LogUploads>
		<StatusInChat>1</StatusInChat>
		<ShowJoins>0</ShowJoins>
		<PrivateMessageBeep>0</PrivateMessageBeep>
		<PrivateMessageBeepOpen>0</PrivateMessageBeepOpen>
		<UseSystemIcons>1</UseSystemIcons>
		<PopupPMs>1</PopupPMs>
		<MinUploadSpeed>0</MinUploadSpeed>
		<GetUserInfo>1</GetUserInfo>
		<UrlHandler>1</UrlHandler>
		<MainWindowState>3</MainWindowState>
		<AutoAway>1</AutoAway>
		<SmallSendBuffer>0</SmallSendBuffer>
		<SocksResolve>1</SocksResolve>
		<KeepLists>0</KeepLists>
		<AutoKick>0</AutoKick>
		<QueueFrameShowTree>1</QueueFrameShowTree>
		<CompressTransfers>1</CompressTransfers>
		<ShowProgressBars>1</ShowProgressBars>
		<SFVCheck>0</SFVCheck>
		<AutoUpdateList>1</AutoUpdateList>
		<FinishedDirty>1</FinishedDirty>
		<QueueDirty>1</QueueDirty>
		<TabDirty>1</TabDirty>
		<AntiFrag>1</AntiFrag>
		<MDIMaxmimized>1</MDIMaxmimized>
		<NoAwayMsgToBots>1</NoAwayMsgToBots>
		<SkipZeroByte>0</SkipZeroByte>
		<AdlsBreakOnFirst>0</AdlsBreakOnFirst>
		<TabCompletion>1</TabCompletion>
		<HubUserCommands>1</HubUserCommands>
		<AutoSearchAutoMatch>0</AutoSearchAutoMatch>
		<DownloadBarColor>3620045</DownloadBarColor>
		<UploadBarColor>5614135</UploadBarColor>
		<LogSystem>0</LogSystem>
		<LogFilelistTransfers>1</LogFilelistTransfers>
		<SendUnknownCommands>1</SendUnknownCommands>
		<GetUserCountry>1</GetUserCountry>
		<FavShowJoins>0</FavShowJoins>
		<LogStatusMessages>0</LogStatusMessages>
		<PopunderPm>0</PopunderPm>
		<PopunderFilelist>0</PopunderFilelist>
		<MagnetRegister>1</MagnetRegister>
		<AddFinishedInstantly>0</AddFinishedInstantly>
		<UseUPnP>0</UseUPnP>
		<DontDLAlreadyShared>0</DontDLAlreadyShared>
		<UseCTRLForLineHistory>1</UseCTRLForLineHistory>
		<ConfirmHubRemoval>1</ConfirmHubRemoval>
		<OpenNewWindow>0</OpenNewWindow>
		<UDPPort>505</UDPPort>
		<SearchOnlyTTH>1</SearchOnlyTTH>
		<ConfirmItemRemoval>1</ConfirmItemRemoval>
		<AdvancedResume>1</AdvancedResume>
		<ToggleActiveWindow>1</ToggleActiveWindow>
		<SearchHistory>10</SearchHistory>
		<OpenPublic>0</OpenPublic>
		<OpenFavoriteHubs>0</OpenFavoriteHubs>
		<OpenFavoriteUsers>0</OpenFavoriteUsers>
		<OpenQueue>0</OpenQueue>
		<OpenFinishedDownloads>0</OpenFinishedDownloads>
		<OpenFinishedUploads>0</OpenFinishedUploads>
		<OpenSearchSpy>0</OpenSearchSpy>
		<OpenNetworkStatistics>0</OpenNetworkStatistics>
		<OpenNotepad>0</OpenNotepad>
		<UseKademlia>1</UseKademlia>
		<UseEncoding1252>0</UseEncoding1252>
		<UsersFreeSlots>0</UsersFreeSlots>
		<SelPos>0</SelPos>
		<BoolPos>0</BoolPos>
		<PriorityPlacer>2</PriorityPlacer>
		<DirectoryPlacer>0</DirectoryPlacer>
		<RememberGroupPositions>0</RememberGroupPositions>
		<AutoCloseGroups>1</AutoCloseGroups>
		<GroupWise>0</GroupWise>
		<TotalUpload>51285785616</TotalUpload>
		<TotalDownload>628230189</TotalDownload>
	</Settings>
	<Share>
		<Directory>E:\share\-= gamez =-\</Directory>
		<Directory>E:\share\-= moviez =-\</Directory>
		<Directory>E:\share\-= mp3 =-\</Directory>
		<Directory>F:\cdburn\</Directory>
		<Directory>H:\Playstation\</Directory>
		<Directory>H:\rar\</Directory>
		<Directory>F:\share\-= rar =-\</Directory>
		<Directory>F:\share\-= appz =-\</Directory>
		<Directory>F:\share\-= macintosh =-\</Directory>
		<Directory>F:\share\-= porn =-\</Directory>
		<Directory>I:\RAR\</Directory>
		<Directory>J:\RAR\</Directory>
	</Share>
</DCPlusPlus>

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 20:38

Post by Guitarm » 2006-09-03 02:33

Actually, you're right and I'm wrong. And I'll gladly be the first one to admit it.
I've found a directory that when I try to download it, it seems to only download the filelist and nothing more. But I see a difference from your case: I don't see any writing in Queue.xml at all(?). I use WinTail to look at Queue.xml and it doesn't change a bit.

I tested the same thing in 0.691 and it behaves the same so I hope we can investigate this further and have some more people verifying this.
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 20:38

Post by Guitarm » 2006-09-03 03:04

Although I didn't have much time testing it I noticed this: It happens to directories with a extended character in the path. In this case an ' ä '. I'm not sure if there's other cases.
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

Xan1977
Forum Moderator
Posts: 627
Joined: 2003-06-06 01:15

Post by Xan1977 » 2006-09-03 04:28

There's a Playstation directory in his shares.

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 20:38

Post by Guitarm » 2006-09-03 05:41

Oh, I'm sorry, I'm blind, thanks
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 19:37

Post by TheParanoidOne » 2006-09-03 11:07

Xan1977 wrote:There's a Playstation directory in his shares.
Plus gamez and moviez. Anyone who ends things with a Z deserves to go straight to the dump. :)
The world is coming to an end. Please log off.

DC++ Guide | Words

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 20:38

Post by Guitarm » 2006-09-03 11:11

The problem is interresting though. I've noticed that none of the alternatives of direct downloading directories from searchresult works. It only downloads the filelist and then nothing happens.
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

ullner
Forum Moderator
Posts: 333
Joined: 2004-09-10 16:00

Post by ullner » 2006-09-03 12:57

Oh, I so hope this is a NMDC-bug... :twisted:

Who is online

Users browsing this forum: Google [Bot] and 0 guests