can't create torrent #116

Closed
opened 2026-02-21 14:53:02 -05:00 by deekerman · 5 comments
Owner

Originally created by @roninhaf on GitHub (Sep 30, 2012).

Originally assigned to: @cdumez on GitHub.

When trying to create a torrent, I get the following message: Torrent creation was unsuccessful, reason: vector T too long

I use the windows client, version 3.0.5 but the bug was already there in 3.0.4. Win7 x64 sp1.
I try to create a private torrent from a folder.
I hope this is going to help.

Originally created by @roninhaf on GitHub (Sep 30, 2012). Originally assigned to: @cdumez on GitHub. When trying to create a torrent, I get the following message: Torrent creation was unsuccessful, reason: vector T too long I use the windows client, version 3.0.5 but the bug was already there in 3.0.4. Win7 x64 sp1. I try to create a private torrent from a folder. I hope this is going to help.
Author
Owner

@sledgehammer999 commented on GitHub (Oct 1, 2012):

How many files are in the folder(including the ones in possible subfolders)?

@sledgehammer999 commented on GitHub (Oct 1, 2012): How many files are in the folder(including the ones in possible subfolders)?
Author
Owner

@roninhaf commented on GitHub (Oct 1, 2012):

2 files but one of them is a zip file weighing 18Go and containing 404
files. The other one is just an rtf file.

2012/10/1 sledgehammer999 notifications@github.com

How many files are in the folder(including the ones in possible
subfolders)?


Reply to this email directly or view it on GitHubhttps://github.com/qbittorrent/qBittorrent/issues/133#issuecomment-9050817.

@roninhaf commented on GitHub (Oct 1, 2012): 2 files but one of them is a zip file weighing 18Go and containing 404 files. The other one is just an rtf file. 2012/10/1 sledgehammer999 notifications@github.com > How many files are in the folder(including the ones in possible > subfolders)? > > — > Reply to this email directly or view it on GitHubhttps://github.com/qbittorrent/qBittorrent/issues/133#issuecomment-9050817.
Author
Owner

@woffko commented on GitHub (Oct 7, 2012):

There is similar issue under windows for me, I am not sure is it the same.
Reproducing:
Try to create torrent adding file from root of C:\ for example C:\myporn.avi, click "Create and SAVE" and you'll get "Torrent creation was unsucceful, reason: The filename, directory name or volume label syntax is incorrect"
If I select files from subdirectory c:\somexxx\myporn.avi there is no error messages and all OK

@woffko commented on GitHub (Oct 7, 2012): There is similar issue under windows for me, I am not sure is it the same. Reproducing: Try to create torrent adding file from root of C:\ for example C:\myporn.avi, click "Create and SAVE" and you'll get "Torrent creation was unsucceful, reason: The filename, directory name or volume label syntax is incorrect" If I select files from subdirectory c:\somexxx\myporn.avi there is no error messages and all OK
Author
Owner

@cdumez commented on GitHub (Oct 7, 2012):

The vector too long error is due to the fact that the torrent is too big to fit in a vector. While you are using a 64bit system, I believe the qBittorrent executable is still 32bit and therefore the vector size is limited to the maximum value of a 32bit unsigned integer. I will see what I can do to avoid storing the torrent in a vector in memory before writing it to a file. In the mean time, I suggest you select a bigger piece size, as this will result in a smaller torrent.

@cdumez commented on GitHub (Oct 7, 2012): The vector too long error is due to the fact that the torrent is too big to fit in a vector. While you are using a 64bit system, I believe the qBittorrent executable is still 32bit and therefore the vector size is limited to the maximum value of a 32bit unsigned integer. I will see what I can do to avoid storing the torrent in a vector in memory before writing it to a file. In the mean time, I suggest you select a bigger piece size, as this will result in a smaller torrent.
Author
Owner

@cdumez commented on GitHub (Oct 7, 2012):

@woffko: You need to select a folder, selecting a drive (e.g. C:) will not work as we need a root folder for the torrent. This is by design.

@cdumez commented on GitHub (Oct 7, 2012): @woffko: You need to select a folder, selecting a drive (e.g. C:) will not work as we need a root folder for the torrent. This is by design.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#116
No description provided.