File Name Too Long Error

General support for problems installing or using Deluge
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

File Name Too Long Error

Postby BK201 » Sat May 02, 2009 2:06 am

I get a "file name too long" error on a torrent with Japanese file names. Dunno if thats what caused the error or not, but if I hit "resume" it just gets stuck checking. My system is using utf-8 locale and has support for CJK so it could be something else. Deluge 1.1.3 Gentoo x86_64

tyle

Re: File Name Too Long Error

Postby tyle » Thu Jun 04, 2009 7:13 am

Seems to be a libtorrent issue.
http://libtorrent.rakshasa.no/ticket/1615

I have yet to find a linux bittorrent client that can handle really long filenames. The only workaround that has worked for me for such torrents is running utorrent through wine, which is far from being an optimal solution in my opinion.

There was a bug for the matter in Deluge:
http://dev.deluge-torrent.org/ticket/162

but it seems all old bugs were closed with the release of Deluge 1.0

johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
OS or Distro: Arch Linux x86_64
Location: Sydney, Australia

Re: File Name Too Long Error

Postby johnnyg » Thu Jun 04, 2009 11:56 am

tyle wrote:Seems to be a libtorrent issue.
http://libtorrent.rakshasa.no/ticket/1615


deluge uses rasterbar's libtorrent, not rakshasa's.

BK201 wrote:I get a "file name too long" error on a torrent with Japanese file names. Dunno if thats what caused the error or not, but if I hit "resume" it just gets stuck checking. My system is using utf-8 locale and has support for CJK so it could be something else. Deluge 1.1.3 Gentoo x86_64


could you see if you get the same error in 1.1.8?

BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

Re: File Name Too Long Error

Postby BK201 » Thu Jun 04, 2009 3:03 pm

Still get the same error with 1.1.8 on server and client.

johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
OS or Distro: Arch Linux x86_64
Location: Sydney, Australia

Re: File Name Too Long Error

Postby johnnyg » Thu Jun 04, 2009 3:35 pm

how long is this filename?

andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
OS or Distro: Gentoo
Location: Victoria, BC
Contact:

Re: File Name Too Long Error

Postby andar » Thu Jun 04, 2009 5:31 pm

BK201 wrote:Still get the same error with 1.1.8 on server and client.


What file system?

tyle

Re: File Name Too Long Error

Postby tyle » Fri Jun 05, 2009 6:40 am

The time I had a problem I was trying to save data to an ext3 drive. The file name consisted mainly of Japanese characters and was very long.

Browsing Wikipedia i have found a possible cause for the problem:

A file created on a NTFS system is allowed a filename consisting of up to 255 bytes of UTF-16 characters. Furthermore, some characters, mainly Chinese and Japanese, take up more space in UTF-8 than in UTF-16. I suppose that when the file is to be saved to my ext3 drive, the file name is converted to UTF-8, thus taking up more than 255 bytes, which is the filename limitation for ext3.

Does this sound as a plausible explanation? If that is the case, I suppose it is a file system issue.

andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
OS or Distro: Gentoo
Location: Victoria, BC
Contact:

Re: File Name Too Long Error

Postby andar » Fri Jun 05, 2009 9:19 pm

tyle wrote:The time I had a problem I was trying to save data to an ext3 drive. The file name consisted mainly of Japanese characters and was very long.

Browsing Wikipedia i have found a possible cause for the problem:

A file created on a NTFS system is allowed a filename consisting of up to 255 bytes of UTF-16 characters. Furthermore, some characters, mainly Chinese and Japanese, take up more space in UTF-8 than in UTF-16. I suppose that when the file is to be saved to my ext3 drive, the file name is converted to UTF-8, thus taking up more than 255 bytes, which is the filename limitation for ext3.

Does this sound as a plausible explanation? If that is the case, I suppose it is a file system issue.


Yes, that makes sense.

v3locim
New User
New User
Posts: 1
Joined: Tue Aug 22, 2017 2:57 pm
OS or Distro: Win 7 32 bit

Re: File Name Too Long Error

Postby v3locim » Tue Aug 22, 2017 2:59 pm

I would suggest to try "Long Path Tool" program.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 11 guests