| Issue 66: | Movies Torrents Extract, Rename, Create Folder but Do Not Move | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Complete a torrent containing RARed video files in transmission (unbuntu) What is the expected output? What do you see instead? Expected 1. Create temp folder 2. Unrar into the temp folder 3. Rename file 4. Create Folder in Destination 5. Move file to destination folder 1-4 seems to work correctly, then at step 5. the file does not move and the temp directory is deleted. Leaving an empty folder in the destination. Have reproduced with single file and multiple file torrents containing avi and mkv files. With non-movie RARs this seems to be successful and the data is moved. What version of the product are you using? On what operating system? v.20 tranmission unbuntu Latest releases (new build) Please provide any additional information below. Extracting manually using the gui is successful.
Jul 1, 2012
Project Member
#1
addicted...@gmail.com
Jul 1, 2012
Can you advise how I turn on logs and locate the log files? Thank you
Jul 1, 2012
Just run torrentexpander manually : /path/to/torrentexpander.sh /path/to/your/torrent Then copy paste the output there
Jul 1, 2012
Torrentexpander_settings.ini current_version=176 last_update=734590 unrar_bin=/usr/bin/unrar unzip_bin=/usr/bin/unzip wget_curl=/usr/bin/wget ccd2iso_bin=incorrect_or_not_set text_editor_bin=/bin/nano mkvdts2ac3_bin=incorrect_or_not_set torrent_daemon_bin=/usr/bin/transmission-remote all_files_script=incorrect_or_not_set processed_torrent_script=incorrect_or_not_set post_run_script=incorrect_or_not_set destination_folder=/home/dan/Downloads/Extracted/ tv_shows_post_path=/home/dan/TV/ movies_post_path=/home/dan/Movies/ music_post_path=no third_party_log=no destructive_mode=no user_defined_other_movies_patterns= user_defined_scene_patterns= tv_shows_fix_numbering=yes clean_up_filenames=yes movies_rename_schema=type_1 subtitles_handling=no repack_handling=no wii_post=no img_post=no tv_shows_post=copy tv_shows_post_path_mode=s movies_post=copy force_single_file_movies_folder=yes music_post=no imdb_poster=no imdb_poster_format=normal imdb_nfo=no imdb_fanart=no imdb_fanart_format=w1280 disable_nmj_scan=no dts_post=no user_perm_post=no group_perm_post=no files_perm_post=no folder_perm_post=no edit_perm_as_sudo=no reset_timestamp=no supported_extensions=avi,mkv,divx,mp4,ts,iso,img,mp3,m4a,wav,srt,idx,sub,dvd tv_show_extensions=avi,mkv,divx,mp4,srt,idx,sub movies_extensions=avi,mkv,divx,mp4,ts,iso,img,srt,idx,sub music_extensions=mp3,m4a,wav debug_mode=yes auto_update_script=yes remove_torrent_from_client=no torrent_daemon_login= torrent_daemon_password= torrent_daemon_port=9091 all_files_script_enabled=no all_files_script_variable_1= all_files_script_variable_2= all_files_script_variable_3= all_files_script_variable_4= all_files_script_variable_5= processed_torrent_script_enabled=no processed_torrent_script_variable_1= processed_torrent_script_variable_2= processed_torrent_script_variable_3= processed_torrent_script_variable_4= processed_torrent_script_variable_5= post_run_script_enabled=no ************************************ Output from running torrent expander manually Your Destination Folder is /home/dan/Downloads/Extracted Step 1 : Expanding / moving content of the torrent UNRAR 4.00 beta 3 freeware Copyright (c) 1993-2010 Alexander Roshal Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.rar Extracting /home/dan/Downloads/Extracted/torrentexpander_temp/ironsky-done.avi 2% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r00 ... ironsky-done.avi 4% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r01 ... ironsky-done.avi 6% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r02 ... ironsky-done.avi 8% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r03 ... ironsky-done.avi 10% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r04 ... ironsky-done.avi 12% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r05 ... ironsky-done.avi 14% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r06 ... ironsky-done.avi 16% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r07 ... ironsky-done.avi 18% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r08 ... ironsky-done.avi 20% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r09 ... ironsky-done.avi 22% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r10 ... ironsky-done.avi 24% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r11 ... ironsky-done.avi 26% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r12 ... ironsky-done.avi 28% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r13 ... ironsky-done.avi 30% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r14 ... ironsky-done.avi 32% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r15 ... ironsky-done.avi 34% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r16 ... ironsky-done.avi 36% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r17 ... ironsky-done.avi 38% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r18 ... ironsky-done.avi 40% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r19 ... ironsky-done.avi 42% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r20 ... ironsky-done.avi 45% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r21 ... ironsky-done.avi 47% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r22 ... ironsky-done.avi 49% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r23 ... ironsky-done.avi 51% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r24 ... ironsky-done.avi 53% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r25 ... ironsky-done.avi 55% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r26 ... ironsky-done.avi 57% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r27 ... ironsky-done.avi 59% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r28 ... ironsky-done.avi 61% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r29 ... ironsky-done.avi 63% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r30 ... ironsky-done.avi 65% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r31 ... ironsky-done.avi 67% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r32 ... ironsky-done.avi 69% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ir onsky-done.r33 ... ironsky-done.avi 71% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r34 ... ironsky-done.avi 73% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r35 ... ironsky-done.avi 75% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r36 ... ironsky-done.avi 77% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r37 ... ironsky-done.avi 79% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r38 ... ironsky-done.avi 81% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r39 ... ironsky-done.avi 83% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r40 ... ironsky-done.avi 85% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r41 ... ironsky-done.avi 88% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r42 ... ironsky-done.avi 90% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r43 ... ironsky-done.avi 92% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r44 ... ironsky-done.avi 94% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r45 ... ironsky-done.avi 96% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r46 ... ironsky-done.avi 98% Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/ironsky-done.r47 ... ironsky-done.avi OK All OK Step 2 : Cleaning up filenames - Renaming ironsky-done.avi to Ironsky-Done.avi Step 3 : Taking care of TV Shows, Music and Movie files That's All Folks ************* Manually, on a single file torrent, selecting the destination folder using the gui I ended up with the video file in the Extracted location ls /home/dan/Downloads/Extracted/ Ironsky-Done.avi I have been testing by refreshing the view of the torrentexpander temp folder, and I can see the files being successfully unrar'd, then the name changes, but they are not moved to the destination folder. Then the temp folder is deleted along with the video files.
Jul 1, 2012
Definitely weird What about your : ls /home/dan/Downloads/Extracted/ It seems that the file is there, then it disappears, is that it ? What about the /home/dan/Movies/ directory ? Did you expect the file to be copied there ? What I understand is that you selected the rar archive instead of the torrent itself in the GUI (/home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.rar instead of /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE), so torrentexpander cannot recognize the movie pattern. That's the reason why the file in unrared in /home/dan/Downloads/Extracted/ but isn't copied to /home/dan/Movies/
Jul 1, 2012
Thank you again for looking into this. I changed to look at the torrent folder instead of the rar archive, and everything worked perfectly in manual mode: * Extracting from /home/dan/Downloads/Torrents/Iron.Sky.LIMITED.DVDRip.XviD-DoNE/i ronsky-done.r47 ... ironsky-done.avi OK All OK Step 2 : Cleaning up filenames - Renaming Iron.Sky.LIMITED.DVDRip.XviD-DoNE.avi to Iron Sky.avi Step 3 : Taking care of TV Shows, Music and Movie files Oops, are you sure you want to move your files and not simply copy them ? Your processed torrent may not show up in your destination folder 1) Yes, I'm sure 2) You may be right, I'd rather copy them 1 Duly noted - Moving Iron Sky.avi to /home/dan/Movies/Iron Sky/ That's All Folks * I then deleted some files from the torrent file and forced tranmission to verify and download/complete again to start the automated process. I could see the extraction taking place in /Downloads/Extracted, but then at the end of the extraction nothing is moved and the temp folder with the video is deleted. *dan@xxxPC:~$ ls Downloads/Extracted/ torrentexpander is running torrentexpander_temp dan@xxxPC:~$ ls Downloads/Extracted/torrentexpander_temp/ ironsky-done.avi dan@xxxPC:~$ ls Downloads/Extracted/* It definitely works correct when run manually, but fails the final move when called by tranmission.
Jul 1, 2012
I'm pretty sure this is just a permissions issue. If I'm not mistaken, Transmission is run by a different user. Just make sure this user has write access to all folders used by torrentexpander.
Jul 1, 2012
Yes transmission does run as a different user, I will try changing the user it runs as and let you know if that resolves the issue.
Jul 1, 2012
Yes, you were absolutely right. It was a permissions issue, I am not exactly sure which permissions but changing transmission-daemon to run as the user account where the files are stored (home/*user*) fixed the issue. By default the transmission daemon runs as debian-transmission For reference, this is changed in the following location. sudo nano /etc/init.d/transmission-daemon *#!/bin/sh -e ### BEGIN INIT INFO # Provides: transmission-daemon # Required-Start: $local_fs $remote_fs $network # Required-Stop: $local_fs $remote_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start or stop the transmission-daemon. ### END INIT INFO NAME=transmission-daemon DAEMON=/usr/bin/$NAME USER=*user* STOP_TIMEOUT=30* Thanks again for looking
Dec 2, 2012
I'll add that to the wiki Thanks for your input Addictedtoscreens
Status:
WontFix
|