Joshua Parker Ruehlig
Hall of Famer
- Joined
- Dec 5, 2011
- Messages
- 5,949
nice, I'll take a look. supporting these Python programs pulled from github aren't too bad if they have autopgrade built in.
I just finished building this plugin. It should be available in the FreeNAS repository tomorrow.
this usually isn't an issue with the plugin but your jail having unreliable networking. can you from the jail ping your computer?Tried the plugin tonight...would not let me enable it...saw this in the messages:
Nov 4 01:32:06 freenas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.3.116/plugins/nzbhydra/15/_s/status: No JSON object could be decoded
Nov 4 01:32:07 freenas manage.py: [freeadmin.navtree:631] An error occurred while unserializing from http://192.168.3.116/plugins/nzbhydra/15/_s/treemenu: No JSON object could be decoded
Nov 4 01:32:32 freenas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.3.116/plugins/nzbhydra/15/_s/status: No JSON object could be decoded
yes, all plugins are disabled by default. you should be able to enable then from the Plugins > Installed tab. but sometimes that doesn't work because of unreliable jail networking.
hmm, when the plugin shows as off, what does this command output
service jackett onestatus
so no relevant logs in /var/db/jackett?
Apr 25 12:01:31 nzbhydra_1 newsyslog[30882]: logfile first created Apr 25 12:01:31 nzbhydra_1 syslogd: kernel boot file is /boot/kernel/kernel Apr 25 12:19:05 nzbhydra_1 syslogd: exiting on signal 15 Apr 25 12:23:19 nzbhydra_1 syslogd: kernel boot file is /boot/kernel/kernel Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "newz69.keagaming.com IN AAAA", got type "A" Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" Apr 30 22:57:52 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" Apr 30 22:58:05 nzbhydra_1 python2.7: gethostby*.getanswer: asked for "* IN AAAA", got type "A" May 1 04:55:35 nzbhydra_1 syslogd: kernel boot file is /boot/kernel/kernel May 4 03:31:51 nzbhydra_1 syslogd: kernel boot file is /boot/kernel/kernel May 6 20:44:41 nzbhydra_1 pkg: pkg upgraded: 1.6.4_1 -> 1.10.1 May 6 20:53:29 nzbhydra_1 pkg: indexinfo upgraded: 0.2.4 -> 0.2.6 May 6 20:53:29 nzbhydra_1 pkg: gettext-runtime upgraded: 0.19.7 -> 0.19.8.1_1 May 6 20:53:29 nzbhydra_1 pkg: gdbm upgraded: 1.11_2 -> 1.12 May 6 20:53:30 nzbhydra_1 pkg: expat upgraded: 2.1.0_3 -> 2.2.0_1 May 6 20:53:32 nzbhydra_1 pkg: db5 upgraded: 5.3.28_3 -> 5.3.28_6 May 6 20:53:33 nzbhydra_1 pkg: apr upgraded: 1.5.2.1.5.4 -> 1.5.2.1.5.4_2 May 6 20:53:33 nzbhydra_1 pkg: libunistring-0.9.7 installed May 6 20:53:33 nzbhydra_1 pkg: sqlite3 upgraded: 3.11.1 -> 3.18.0 May 6 20:53:33 nzbhydra_1 pkg: serf upgraded: 1.3.8_1 -> 1.3.9_1 May 6 20:53:37 nzbhydra_1 pkg: perl5 upgraded: 5.20.3_8 -> 5.24.1_1 May 6 20:53:37 nzbhydra_1 pkg: gettext-tools upgraded: 0.19.7 -> 0.19.8.1 May 6 20:53:37 nzbhydra_1 pkg: libidn2-2.0.2 installed May 6 20:53:37 nzbhydra_1 pkg: wget upgraded: 1.16.3_1 -> 1.19.1 May 6 20:53:38 nzbhydra_1 pkg: subversion upgraded: 1.9.3_3 -> 1.9.5 May 6 20:53:41 nzbhydra_1 pkg: python27 upgraded: 2.7.11_1 -> 2.7.13_3 May 6 20:53:41 nzbhydra_1 pkg: pkgconf upgraded: 0.9.12_1 -> 1.3.5,1 May 6 20:53:42 nzbhydra_1 pkg: pcre upgraded: 8.38 -> 8.40 May 6 20:53:42 nzbhydra_1 pkg: m4 upgraded: 1.4.17_1,1 -> 1.4.18,1 May 6 20:53:42 nzbhydra_1 pkg: lzo2 upgraded: 2.09 -> 2.10_1 May 6 20:53:42 nzbhydra_1 pkg: libxml2 upgraded: 2.9.3 -> 2.9.4 May 6 20:53:42 nzbhydra_1 pkg: libidn upgraded: 1.31 -> 1.33_1 May 6 20:53:43 nzbhydra_1 pkg: libiconv upgraded: 1.14_9 -> 1.14_10 May 6 20:53:43 nzbhydra_1 pkg: iconv reinstalled: 2.0_4 -> 2.0_4 May 6 20:53:43 nzbhydra_1 pkg: gettext upgraded: 0.19.7 -> 0.19.8.1 May 6 20:53:44 nzbhydra_1 pkg: compat9x-amd64 upgraded: 9.3.903000.20160128 -> 9.3.903000.20161027 May 6 20:53:45 nzbhydra_1 pkg: ca_root_nss upgraded: 3.22.2 -> 3.30.2 May 11 13:10:45 nzbhydra_1 pkg: nano-2.8.2 installed
hmm, was nzbhydra crashing before you switched to the plugin? And were they both using the same version of nzbhydra?
I thought I read that from your previous comments. yeah, sometimes these not highly used/developed programs are actually more stable on develop branch since that's what the developer likely uses. =/Since I was running the "development" version they wouldn't match up to the stable (and yes the dev branch was running just fine). Ironically I did this to have a more stable setup but in fact it's been more of an issue that the development branch.
I'm assuming you need to install py27-sqlite3
root@nzbhydra:/usr/local/share/nzbhydra # pkg install py27-sqlite3 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The most recent version of packages are already installed root@nzbhydra:/usr/local/share/nzbhydra # python nzbhydra.py --nobrowser Traceback (most recent call last): File "nzbhydra.py", line 24, in <module> from nzbhydra import indexers File "/usr/local/share/nzbhydra/nzbhydra/indexers.py", line 11, in <module> from nzbhydra import config, database File "/usr/local/share/nzbhydra/nzbhydra/database.py", line 16, in <module> from playhouse.sqliteq import SqliteQueueDatabase File "/usr/local/share/nzbhydra/libs/playhouse/sqliteq.py", line 18, in <module> from playhouse.sqlite_ext import SqliteExtDatabase File "/usr/local/share/nzbhydra/libs/playhouse/sqlite_ext.py", line 75, in <module> FTS_VER = sqlite3.sqlite_version_info[:3] >= (3, 7, 4) and 'FTS4' or 'FTS3' AttributeError: 'NoneType' object has no attribute 'sqlite_version_info'