Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S sickrage
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SiCKRAGESiCKRAGE
  • sickrage
  • Issues
  • #94
Closed
Open
Issue created Oct 19, 2017 by TekGamer@TekGamer

manual post processing error

@echel0n

SR version 3182cdc2 , when trying to run manual post processing I am now getting this error every time:

Error

'PostProcessorItem' object has no attribute 'mode'

Traceback

Traceback (most recent call last): 
File "C:\SiCKRAGE\Python\lib\site-packages\tornado\web.py", line 1490, in _execute result = yield result 
File "C:\SiCKRAGE\Python\lib\site-packages\tornado\gen.py", line 1055, in run value = future.result() 
File "C:\SiCKRAGE\Python\lib\site-packages\tornado\concurrent.py", line 238, in result raise_exc_info(self._exc_info) 
File "C:\SiCKRAGE\Python\lib\site-packages\tornado\gen.py", line 1063, in run yielded = self.gen.throw(*exc_info) 
File "C:\SiCKRAGE\SiCKRAGE\sickrage\core\webserver\views.py", line 229, in prepare result = yield self.route(method, **self.request.arguments) 
File "C:\SiCKRAGE\Python\lib\site-packages\tornado\gen.py", line 1055, in run value = future.result() 
File "C:\SiCKRAGE\Python\lib\site-packages\concurrent\futures\_base.py", line 398, in result return self.__get_result() 
File "C:\SiCKRAGE\Python\lib\site-packages\concurrent\futures\thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) 
File "C:\SiCKRAGE\SiCKRAGE\sickrage\core\webserver\views.py", line 212, in route return function(**kwargs) 
File "C:\SiCKRAGE\SiCKRAGE\sickrage\core\webserver\views.py", line 2290, in processEpisode result = sickrage.srCore.POSTPROCESSORQUEUE.put(proc_dir, **pp_options) 
File "C:\SiCKRAGE\SiCKRAGE\sickrage\core\queues\postprocessor.py", line 135, in put item = self.find_in_queue(dirName, proc_type) 
File "C:\SiCKRAGE\SiCKRAGE\sickrage\core\queues\postprocessor.py", line 57, in find_in_queue if isinstance(cur_item, PostProcessorItem) and cur_item.dirName == dirName and cur_item.mode == proc_type: 
AttributeError: 'PostProcessorItem' object has no attribute 'mode' 

Request Info

body: proc_type=manual&proc_dir=E%3A%5CCompleted&process_method=move
files: {}
protocol: http
connection: 
body_arguments: {'proc_dir': ['E:\\Completed'], 'proc_type': ['manual'], 'process_method': ['move']}
uri: /home/postprocess/processEpisode
query_arguments: {}
_start_time: 1508419349.29
headers: Origin: http://localhost:8081 Content-Length: 62 Accept-Language: en-US,en;q=0.8 Accept-Encoding: gzip, deflate, br Connection: keep-alive Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Upgrade-Insecure-Requests: 1 Host: localhost:8081 Referer: http://localhost:8081/home/postprocess/ Cache-Control: max-age=0 Cookie: splunkweb_csrf_token_8000=2651153240338036388; user="2|1:0|10:1508347301|4:user|48:ImI0Y2U4NGJkY2I1OGM0N2JkNmFlZmQ4Yzg3N2EyNjU2Ig==|8d683edc0a2c98d1b7b729166d79a6dc95702cde161a00624190713d5da8d9a5" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Content-Type: application/x-www-form-urlencoded 
host: localhost:8081
version: HTTP/1.1
server_connection: 
host_name: localhost
_finish_time: None
query: 
arguments: {'proc_dir': ['E:\\Completed'], 'proc_type': ['manual'], 'process_method': ['move']}
path: /home/postprocess/processEpisode
_cookies: Set-Cookie: splunkweb_csrf_token_8000=2651153240338036388 Set-Cookie: user="2|1:0|10:1508347301|4:user|48:ImI0Y2U4NGJkY2I1OGM0N2JkNmFlZmQ4Yzg3N2EyNjU2Ig==|8d683edc0a2c98d1b7b729166d79a6dc95702cde161a00624190713d5da8d9a5"
method: POST
remote_ip: ::1
Assignee
Assign to
Time tracking