Opened 11 years ago

Closed 9 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: Sensitive: no


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


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

at org.klomp.snark.Snark.fatal(
at org.klomp.snark.Snark.<init>(
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)


Change History (4)

comment:1 Changed 10 years ago by zzz

Owner: set to zzz
Status: newassigned

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 10 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 10 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 9 years ago by zzz

Milestone: 0.8.12
Resolution: fixed
Status: assignedclosed
Version: 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.