kannibalox / pyrosimple

An overhauled fork of the pyrocore tools for rTorrent

Home Page:https://kannibalox.github.io/pyrosimple/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kind_N field throws error when used

BristleBeard opened this issue · comments

When using kind_N as a field, I get the below error:

  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/torrent/rtorrent.py", line 841, in items
    raw_items = multi_call(*tuple(multi_args))
  File "/usr/lib/python3.9/xmlrpc/client.py", line 1122, in __call__
    return self.__send(self.__name, args)
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/util/rpc.py", line 222, in __request
    return self.__request_switch(methodname, params)
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/util/rpc.py", line 243, in __request_switch
    raise exc
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/util/rpc.py", line 235, in __request_switch
    return self.__request_xml(methodname, params)
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/util/rpc.py", line 127, in __request_xml
    response = self.__transport.request(
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/io/scgi.py", line 140, in request
    return self.parse_response(io.BytesIO(response))
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/io/scgi.py", line 59, in parse_response
    return super().parse_response(response)
  File "/usr/lib/python3.9/xmlrpc/client.py", line 1354, in parse_response
    return u.close()
  File "/usr/lib/python3.9/xmlrpc/client.py", line 668, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -503: 'Command "kind_95" does not exist.'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/scripts/base.py", line 183, in run
    self.mainloop()
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/scripts/rtcontrol.py", line 715, in mainloop
    matches = futures[url].get()
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 771, in get
    raise self._value
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/scripts/rtcontrol.py", line 706, in fetch
    matches = list(e.items(view=view, prefetch=prefetch))
  File "/home/youser/.local/lib/python3.9/site-packages/pyrosimple/torrent/rtorrent.py", line 864, in items
    raise error.EngineError(
pyrosimple.error.EngineError: While getting download items from RtorrentEngine connected to rhea.whatbox.ca:10494 [rTorrent 0.13.8/0.9.8, up 31w  2d] via 'scgi+unix:///config/youser/rtorrent/socket': <Fault -503: 'Command "kind_95" does not exist.'>

I'm able to reproduce these results using this command: rtcontrol is_complete=yes -o custom_1,name,realpath,kind_95,hash,directory