Skip to content

harpoon crashes on Apple ._ files #15

Description

@vidjya

When adding a torrent from a mac with the harpoon watch folder mounted as a smb share, harpoon seems to stop at apple resources forks (._filename.torrent).

There's no way to disable the creation of these files when moving a file to the share.

Here's the entry from the log:

Traceback (most recent call last):
File "./lib/apscheduler/scheduler.py", line 476, in _run_job
retval = job.func(*job.args, **job.kwargs)
File "./harpoon.py", line 1258, in Scanner
torrent_info = tinfo.main()
File "/home/user/harpoon/harpoon/rtorrent.py", line 172, in main
loadit = self.client.load_torrent(self.filepath, self.label, self.start, self.applylabel, self.basedir)
File "/home/user/harpoon/harpoon/torrent/clients/rtorrent.py", line 112, in load_torrent
torrent = self.conn.load_torrent(filepath, verify_load=True)
File "/home/user/harpoon/lib/rtorrent/init.py", line 167, in load_torrent
tp = TorrentParser(torrent)
File "/home/user/harpoon/lib/rtorrent/lib/torrentparser.py", line 54, in init
assert isinstance(self._torrent_decoded, dict), "Invalid torrent file."

As far as I can tell, it does not go past that point.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions