kannibalox / pyrosimple

An overhauled fork of the pyrocore tools for rTorrent
https://kannibalox.github.io/pyrosimple/
GNU General Public License v3.0
52 stars 5 forks source link

rtcontrol -V error #40

Closed laplacesdaemon closed 1 year ago

laplacesdaemon commented 1 year ago

Calling rtcontrol with the - V option fails with an error:

Traceback (most recent call last): File "/home/rtorrent/.local/bin/rtcontrol", line 8, in sys.exit(run()) ^^^^^ File "/home/rtorrent/.local/pipx/venvs/pyrosimple/lib/python3.11/site-packages/pyrosimple/scripts/rtcontrol.py", line 1006, in run RtorrentControl().run() File "/home/rtorrent/.local/pipx/venvs/pyrosimple/lib/python3.11/site-packages/pyrosimple/scripts/base.py", line 177, in run self.mainloop() File "/home/rtorrent/.local/pipx/venvs/pyrosimple/lib/python3.11/site-packages/pyrosimple/scripts/rtcontrol.py", line 914, in mainloop self.show_in_view(view, matches) File "/home/rtorrent/.local/pipx/venvs/pyrosimple/lib/python3.11/site-packages/pyrosimple/scripts/rtcontrol.py", line 680, in show_in_view targetname = self.engine.show(

AttributeError: 'NoneType' object has no attribute 'show'

Version 2.7.1 works. The two versions above don't work for me.

kannibalox commented 1 year ago

Sorry about that, should be fixed now.