Giter Site home page Giter Site logo

Comments (15)

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

Please check that the file "/Volumes/My Passport/untitled folder/untitled folder2/6a002c0f0d00808dab5b5bcfe40800cace6b945e.torrent" exists.

from aria2.

kax4 avatar kax4 commented on May 5, 2024

File exists and torrent file when add in /Users hard drive using ntfs with Tuxera NTFS (ntfs-3g).

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

May the spaces in the path cause this?

What happens if running aria2c with the path directly?

$ aria2c '/Volumes/My Passport/untitled folder/untitled folder2/6a002c0f0d00808dab5b5bcfe40800cace6b945e.torrent'

If it works on internal drive and only happens with external disk, then there may be some differences in tuxera stuff.

from aria2.

kax4 avatar kax4 commented on May 5, 2024

Spaces not a problem torrent download fine with it, may be tuxera suff right now i don't have other usb drive format to native file system report later in few days.

from aria2.

kax4 avatar kax4 commented on May 5, 2024

Hello, i want to report there nothing wrong with tuxera still same problem with HFS+ file system.

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

The external hard disk might not be mounted at the time when aria2 tried to read file?

from aria2.

kax4 avatar kax4 commented on May 5, 2024

May be because external hard drive alway plug in when reboot.

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

Could you tweak aria2 init script to wait for the hard drive plug in?

from aria2.

kax4 avatar kax4 commented on May 5, 2024

Ok, i will give it a try.

from aria2.

kax4 avatar kax4 commented on May 5, 2024

StartOnMount
This optional key causes the job to be started every time a filesystem is mounted.
Sill same problem, Apple document mention:
If your daemon depends on the availability of a mounted volume (whether local or remote), you can determine the status of that volume using the Disk Arbitration framework

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

Does that mean StartOnMount is not working as advertised or aria2 emits same error even after the hard disk is completely successfully mounted and its files can be accessed by other programs?

from aria2.

kax4 avatar kax4 commented on May 5, 2024

StartOnMount is a only thing mentioned filesystem mounted i could find on launchd manpage add it to init script do not solve the problem aria2 emits same error, may be it work as advertised started aria2 when filesystem mounted (local one) and aria sit there with --enable-rpc so it not execute aria again when external hard drive mounted.
I think the Disk Arbitration thing can help.

from aria2.

kax4 avatar kax4 commented on May 5, 2024

@tatsuhiro-t Any news on this, i see that transmission and utorrent make copy of torrent files to config folder if aria behave the same can it help?

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

No progress on this. If OS feature does not help, writing script which repeatedly checks filesystem is mounted (e.g., try to read file on that partition and if failed, sleep 1 seconds), and after success, launch aria2c, might work.
Even if .torrent files are copied into other locations, the actual file is still in extern drive and it cannot be read before mounting that file system.

from aria2.

kax4 avatar kax4 commented on May 5, 2024

Thank you for replying. Will try your suggestion.

from aria2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.