Opened 9 years ago

Closed 7 years ago

#61 closed defect (fixed)

i2psnark - errors reading seed (completed) torrents ../i2p/i2psnark (Ubuntu)

Reported by: fort1 Owned by: zzz
Priority: minor Milestone: 0.8.12
Component: apps/i2psnark Version: 0.8
Keywords: i2psnark, DirectoryMonitor Cc:
Parent Tickets:

Description

After i2p start only about 4 seed (completed) torrents are loaded.
There is not a question of "creating storage" - the files are completed.

LOG:

16:32:36.148 ERROR [k DirMonitor?] org.klomp.snark.SnarkManager? : Error in the DirectoryMonitor?
java.lang.RuntimeException?: Could not create storage: java.io.IOException: Permission denied

at org.klomp.snark.Snark.fatal(Snark.java:737)
at org.klomp.snark.Snark.<init>(Snark.java:440)
at org.klomp.snark.SnarkManager?.addTorrent(SnarkManager?.java:504)
at org.klomp.snark.SnarkManager?.monitorTorrents(SnarkManager?.java:758)
at org.klomp.snark.SnarkManager?.access$500(SnarkManager?.java:28)
at org.klomp.snark.SnarkManager?$DirMonitor?.run(SnarkManager?.java:716)
at java.lang.Thread.run(Thread.java:636)
at net.i2p.util.I2PThread.run(I2PThread.java:77)

Subtickets

Change History (4)

comment:1 Changed 9 years ago by zzz

  • Owner set to zzz
  • Status changed from new to assigned

yes, the error handling needs to be fixed (one bad torrent shouldn't kill the DirectoryMonitor? and prevent other torrents from loading) but the problem for you appears to be that the storage directory or file for the torrent can't be read.

comment:2 Changed 9 years ago by fort1

zzz, I am sure, that the torrents are ok and the respective files exist and are readable (read-only though). Maybe instead of periodical re-scanning the torrent directory, it would be wiser to add a button "Refresh" ?

comment:3 Changed 8 years ago by zzz

fort1, thanks for the update.

ok, fixed so one error doesnt kill the DirMonitor?. This fix will be in 0.8.1.

It should only rescan if the files were modified since the torrent was completed.
i2psnark doesn't always handle RO files well, even for seeding, this needs to be improved, leaving ticket open.

comment:4 Changed 7 years ago by zzz

  • Milestone set to 0.8.12
  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version set to 0.8

Old ticket, but there's been much improvement in last 16 months (in addition to the fix in 0.8.1 referenced above), error handling is better. RO files should be fine. Please reopen if there's still a problem.

Note: See TracTickets for help on using tickets.