Skip to content

Skipping due to encountered error: Failed to create torrent #20

@gravelfreeman

Description

@gravelfreeman

I spent hours setting up this script and it's not working despite all the efforts I've tried. First thing I want to point out is that --debug flag is useless and doesn't provide a debug.log file or doesn't show debug info in shell either. It makes it very complicated and frustrating to troubleshoot.

I'm running the script from my home folder at /home/***/Data/red_oxide

All of the files are in that folder except the torrent directory which is on an NFS share. I made sure that my user have read and write permissions to that share by creating and deleting a folder.

Here's my configuration file:

{
  "api_key": "***",
  "torrent_directory": "/home/***/Data/red_oxide/torrent",
  "content_directory": "/mnt/red_oxide", # NFS SHARE
  "transcode_directory": "/home/***/Data/red_oxide/transcode",
  "spectrogram_directory": "/home/***/Data/red_oxide/spectrogram",
  "move_transcode_to_content": true,
  "automatic_upload": true,
  "skip_hash_check": false,
  "skip_spectrogram": false,
  "allowed_transcode_formats": ["Flac", "Mp3320", "Mp3V0"],
  "concurrency": 16
}

Here's the shell output with the Failed to create torrent:

***@ubuntu:~/Data/red_oxide$ ./red_oxide transcode https://redacted.ch/torrents.php?id\=***\&torrentid\=***\#torrent***
[] Logged in as *** on the Redacted API
[] Got torrent *** from group ***
[] Found missing format(s) MP3 320,MP3 V0, for torrent *** in group ***
[] Local file torrent hash check succeeded for torrent *** in group ***
[⏸️] Created Spectrograms at /home/***/Data/red_oxide/spectrogram/***, please manual check if FLAC is lossless before continuing!
Do those spectrograms look good? yes
[✅] Transcoding Done!
[❌] Skipping due to encountered error: Failed to create torrent

I got intermodal, sox, flac and lame installed and added to path. I confirmed this by entering their name in console and I could see their version and information for each app.

I believe the script is broken. My friend who used the script successfully tried for the past 3 hours and wasn't able to figure out why I'm getting this error.

Please help me out, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions