CouchPotato Paid App not moving files after download

thegeebs
Posts: 32
Joined: Tue Feb 15, 2011 10:38 pm
Location: Michigan, USA

CouchPotato Paid App not moving files after download

Postby thegeebs » Fri Mar 11, 2011 4:16 pm

CouchPotato fails to create a directory in my Movies share which does exist at /var/hda/files/drives/drive2/Movies/

CouchPotato searched and grabbed a NZB and passed it to a Sabnzbd server. After download Sabnzbd server drops the movie into /var/hda/files/drives/drive1/Downloading/ via SMB. This portion works. What fails is when its moving to the Movies Share.

Code: Select all

IOError: [Errno 2] No such file or directory: u'/var/hda/files/drives/drive2/Movies/True Grit (2010)/True Grit Screener.avi' with open(dst, 'wb') as fdst: File "/usr/lib64/python2.7/shutil.py", line 82, in copyfile copyfile(src, dst) File "/usr/lib64/python2.7/shutil.py", line 127, in copy2 copy2(src, real_dst) File "/usr/lib64/python2.7/shutil.py", line 292, in move shutil.move(old, dest) File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 436, in _move if not _move(old, dest): File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 318, in renameFiles finalDestination = self.renameFiles(movie) File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 91, in doRename self.doRename() File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 47, in run 17:56:22 ERROR [ app.lib.cron.renamer] Traceback (most recent call last): 17:56:22 ERROR [ app.lib.cron.renamer] !!Uncought exception in renamer thread. 17:56:22 INFO [ app.lib.cron.renamer] Moving file "/var/hda/files/drives/drive1/Downloading/Movies/True Grit 2010 SCR XViD IMAGiNE/True Grit 2010 SCR XViD - IMAGiNE.avi" to /var/hda/files/drives/drive2/Movies/True Grit (2010)/True Grit Screener.avi. 17:56:22 INFO [ app.lib.cron.renamer] Quality Old: 0, New 1389. 17:56:22 ERROR [ app.lib.cron.renamer] Failed changing permissions /var/hda/files/drives/drive2/Movies/True Grit (2010) 17:56:22 INFO [ app.lib.cron.renamer] Creating directory /var/hda/files/drives/drive2/Movies/True Grit (2010)
Do I need to chmod something? The Movies folder was created on Amahi 5 and I am running Amahi 6 after fresh install.
Linux is not user friendly!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: CouchPotato Paid App not moving files after download

Postby bigfoot65 » Sat Mar 12, 2011 10:45 am

I would say that could be the issue....check the ownership and perms on that folder. IT should be 775 for perms and not owned by root.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

thegeebs
Posts: 32
Joined: Tue Feb 15, 2011 10:38 pm
Location: Michigan, USA

Re: CouchPotato Paid App not moving files after download

Postby thegeebs » Sat Mar 12, 2011 1:46 pm

I used

Code: Select all

chmod -R 775 /var/hda/files/drives/drive2/
Where .../drive2/ is the parent folder of all my shares including Movies, TV, Music, etc.

Hopefully this works :?:
Linux is not user friendly!

thegeebs
Posts: 32
Joined: Tue Feb 15, 2011 10:38 pm
Location: Michigan, USA

Re: CouchPotato Paid App not moving files after download

Postby thegeebs » Sat Mar 12, 2011 2:03 pm

Still not working. Permissions set to '775' and group is 'amahi users' and not root.

Code: Select all

IOError: [Errno 2] No such file or directory: u'/var/hda/files/drives/drive2/Movies/True Grit (2010)/True Grit Screener.avi' with open(dst, 'wb') as fdst: File "/usr/lib64/python2.7/shutil.py", line 82, in copyfile copyfile(src, dst) File "/usr/lib64/python2.7/shutil.py", line 127, in copy2 copy2(src, real_dst) File "/usr/lib64/python2.7/shutil.py", line 292, in move shutil.move(old, dest) File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 436, in _move if not _move(old, dest): File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 318, in renameFiles finalDestination = self.renameFiles(movie) File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 91, in doRename self.doRename() File "/var/hda/web-apps/cpotato/html/app/lib/cron/renamer.py", line 47, in run 16:01:40 ERROR [ app.lib.cron.renamer] Traceback (most recent call last): 16:01:40 ERROR [ app.lib.cron.renamer] !!Uncought exception in renamer thread. 16:01:40 INFO [ app.lib.cron.renamer] Moving file "/var/hda/files/drives/drive1/Downloading/Movies/True Grit 2010 SCR XViD IMAGiNE/True Grit 2010 SCR XViD - IMAGiNE.avi" to /var/hda/files/drives/drive2/Movies/True Grit (2010)/True Grit Screener.avi. 16:01:40 INFO [ app.lib.cron.renamer] Quality Old: 0, New 1389. 16:01:40 ERROR [ app.lib.cron.renamer] Failed changing permissions /var/hda/files/drives/drive2/Movies/True Grit (2010) 16:01:40 INFO [ app.lib.cron.renamer] Creating directory /var/hda/files/drives/drive2/Movies/True Grit (2010) 16:01:40 INFO [ app.lib.cron.renamer] Trying to find a home for: True Grit 2010 SCR XViD - IMAGiNE.avi 16:01:40 INFO [ app.lib.library] Retrieved metainfo: {'common': [{'comment': 'Has audio/video index (4.8 MB)', 'mime type': 'video/x-msvideo', 'image height': 304, 'frame rate': 24.0, 'image width': 720, 'endianness': 'Little endian', 'duration': '1:50:18', 'bit rate': 1800000.0}], 'audio stream': [{'compression rate': 7.3, 'compression': 'mp3', 'sample rate': 44100.0, 'duration': '1:50:18', 'bit rate': 192000.0, 'channel': 2}], 'video stream': [{'image height': 304, 'compression': 'xvid', 'image width': 720, 'bits/pixel': 24, 'duration': '1:50:18', 'frame rate': 24.0}]} 16:01:39 INFO [ app.lib.library] Found movie via MovieQueue. 16:01:38 INFO [ app.lib.cron.yarr] Finished search. 16:01:38 INFO [ app.lib.cron.yarr] Searching for new downloads, for all movies.
Linux is not user friendly!

caizer
Posts: 1
Joined: Wed Sep 12, 2012 1:31 pm

Re: CouchPotato Paid App not moving files after download

Postby caizer » Wed Sep 12, 2012 1:32 pm

Any fix for this?

I'm having the same issues :-/

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: CouchPotato Paid App not moving files after download

Postby bigfoot65 » Wed Sep 12, 2012 3:49 pm

I believe there is a bug report on this one. You can try following guidance there to see if that fixes it.

http://bugs.amahi.org/issues/973

If that is not the issue, then please file a bug report. We will take a look as soon as we can.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 24 guests