Opened 5 years ago

Last modified 5 years ago

#1148 closed defect

Copying torrents+files into a new snark folder sometimes results in snark not being able to find the associated files — at Version 2

Reported by: calvin Owned by: zzz
Priority: minor Milestone: 0.9.15
Component: apps/i2psnark Version: 0.9.9
Keywords: Cc:
Parent Tickets:

Description (last modified by zzz)

Can be reproduced by copying Snark torrents somewhere else. Usually, either copying your snark directory somewhere else and then into a fresh I2P install or copying the entire I2P directory elsewhere will trigger it. Seemingly random what torrents it affects. (This was reproduced on a ext4->fat32->ntfs move and a same-FS ntfs copy)

screenshot:
http://i.imgur.com/Rke0nOg.png

Subtickets (add)

Change History (2)

comment:1 Changed 5 years ago by calvin

Forgot:

I2P version: 0.9.9-0
Java version: Oracle Corporation 1.7.0_45 (Java(TM) SE Runtime Environment 1.7.0_45-b18)
Wrapper version: 3.5.17
Server version: 7.6.13.v20130916
Servlet version: Jasper JSP 2.1 Engine
Platform: Windows 8 x86 6.2
Processor: Pentium IV (65 nm) (pentium4)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: Cp1252
Charset: windows-1252

comment:2 Changed 5 years ago by zzz

  • Description modified (diff)

You can't see it in the screenshot but you can see it here http://tracker2.postman.i2p/index.php?view=TorrentDetail&id=18948 and by inspecting the .torrent file:

Every file name starts with a space.

When a seeder restarts he will "lose" files with mapped chars. Snark also trims leading whitespace from files which has the same effect. See #571 for details. Blocked by #1132 which is in progress.

Note: See TracTickets for help on using tickets.