Page 9 of 14
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 17th, 2012, 7:17 pm
by Diviance
Hansvon wrote:done!
You rock, thanks!
Edit: Errors out when trying to launch.
Starting SABnzbd: python: /builddir/build/BUILD/Python-2.7/Objects/dictobject.c:759: PyDict_SetItem: Assertion `value' failed.
bash: line 1: 4324 Aborted (core dumped) /usr/share/SABnzbd/SABnzbd.py
Edit 2: Errors the same way when installed directly from source.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 19th, 2012, 9:36 am
by Hansvon
I've tried to run the code in a F14 environment (mock chroot) and it seems to work.
I don't know what's wrong with your python...
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 19th, 2012, 8:56 pm
by Diviance
I have no idea. Might just switch to the Ubuntu version of Amahi, use an up to date OS instead of a few years old. Sigh.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 22nd, 2012, 5:40 pm
by fly
I'm having the same issue. Did you ever figure out a fix?
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 24th, 2012, 1:10 pm
by Nefarious
I'm getting this same error on one of my boxes, but not all of them. I have several all setup the same. Seems like after the SAB 7.0 update, this started.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 25th, 2012, 8:47 pm
by Nefarious
I downgraded back to SABnzbd-0.6.15-1.fc14 and all is fine now. Something is dorked up in the latest release when installed on one specific server. It runs fine on some other servers of identical setup though. Very weird.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 26th, 2012, 6:43 am
by fly
Hey, I'll be darned. YUM can downgrade. I never knew that. Guess I'll try that tonight.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 26th, 2012, 6:52 am
by Hansvon
Yes, "yum downgrade SABnzbd". 0.6.15 is still available.
if I understood correctly, it also doesn't work with the "source" package, right?
http://downloads.sourceforge.net/projec ... src.tar.gz
So you should try reporting your problem here:
https://forums.sabnzbd.org/viewforum.php?f=3 . Since I can't reproduce the problem, it's difficult to debug (and I'm not a python guru either in fact...)
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: July 11th, 2012, 2:59 am
by paul m
Hi,
I'm new to linux and I'm new to sabnzb, so bear with me please.
I installed the package on my Centos-6 box. All seems well, but I'm struggling with the sabnzbd.ini file.
I have no clue what I need to fill in and where.
My intention is to use sabnzb without a webinterface, but just to pick up .nzb files from a directory, log on to my usenet provider and download the files I need.
Whatever settings I try in de .ini file, I can't get it working..
This is the error I get now:
Code: Select all
2012-07-11 10:33:43,897::INFO::[SABnzbd:1261] --------------------------------
2012-07-11 10:33:43,898::INFO::[SABnzbd:1262] SABnzbd.py-0.7.1 (rev=0a0d00930afca5de3d281bf0c5d29cc8e141cba4)
2012-07-11 10:33:43,899::INFO::[SABnzbd:1274] Platform = posix
2012-07-11 10:33:43,900::INFO::[SABnzbd:1275] Python-version = 2.6.6 (r266:84292, Jun 18 2012, 14:18:47)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
2012-07-11 10:33:43,901::INFO::[SABnzbd:1276] Arguments = ./SABnzbd.py
2012-07-11 10:33:43,902::INFO::[SABnzbd:1289] Read INI file /home/paul/.sabnzbd/sabnzbd.ini
2012-07-11 10:33:43,906::INFO::[__init__:904] Loading data for bookmarks.sab from /home/paul/.sabnzbd/admin/bookmarks.sab
2012-07-11 10:33:43,908::INFO::[__init__:904] Loading data for rss_data.sab from /home/paul/.sabnzbd/admin/rss_data.sab
2012-07-11 10:33:43,909::INFO::[__init__:904] Loading data for totals9.sab from /home/paul/.sabnzbd/admin/totals9.sab
2012-07-11 10:33:43,911::INFO::[__init__:907] /home/paul/.sabnzbd/admin/totals9.sab missing, trying old cache
2012-07-11 10:33:43,912::INFO::[__init__:910] /home/paul/.sabnzbd/cache/totals9.sab missing
2012-07-11 10:33:44,006::INFO::[postproc:90] Loading postproc queue
2012-07-11 10:33:44,007::INFO::[__init__:904] Loading data for postproc1.sab from /home/paul/.sabnzbd/admin/postproc1.sab
2012-07-11 10:33:44,009::INFO::[__init__:904] Loading data for queue9.sab from /home/paul/.sabnzbd/admin/queue9.sab
2012-07-11 10:33:44,020::INFO::[__init__:904] Loading data for watched_data.sab from /home/paul/.sabnzbd/admin/watched_data.sab
2012-07-11 10:33:44,023::INFO::[downloader:208] Resuming
2012-07-11 10:33:44,024::INFO::[__init__:314] All processes started
2012-07-11 10:33:44,025::INFO::[SABnzbd:333] Web dir is /usr/share/SABnzbd/interfaces/Plush
2012-07-11 10:33:44,026::INFO::[SABnzbd:333] Web dir is /usr/share/SABnzbd/interfaces/Config
2012-07-11 10:33:44,047::INFO::[SABnzbd:462] _yenc module... found!
2012-07-11 10:33:44,048::INFO::[SABnzbd:470] par2 binary... found (/usr/bin/par2)
2012-07-11 10:33:44,049::INFO::[SABnzbd:478] unrar binary... found (/usr/bin/unrar)
2012-07-11 10:33:44,050::INFO::[SABnzbd:483] unzip binary... found (/usr/bin/unzip)
2012-07-11 10:33:44,051::INFO::[SABnzbd:489] nice binary... found (/bin/nice)
2012-07-11 10:33:44,052::INFO::[SABnzbd:493] ionice binary... found (/usr/bin/ionice)
2012-07-11 10:33:44,052::INFO::[SABnzbd:498] pyOpenSSL... found (True)
2012-07-11 10:33:44,069::INFO::[SABnzbd:1472] Starting web-interface on reader2.newsxs.nl:124
2012-07-11 10:33:45,098::INFO::[_cplogging:55] [11/Jul/2012:10:33:45] ENGINE Bus STARTING
2012-07-11 10:33:45,108::INFO::[_cplogging:55] [11/Jul/2012:10:33:45] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-07-11 10:33:45,268::ERROR::[_cplogging:55] [11/Jul/2012:10:33:45] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/usr/share/SABnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "/usr/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1644, in start
raise socket.error, msg
error: [Errno 99] Cannot assign requested address
it is trying to connect to my usenetprovider (newsxs) on port 124... I changed that in the ini file to port 563, but it gets changed back into 124 no matter what..
Can someone please shed some light on this.
perhaps post a sample sabnzbd.ini file (anonymized of course)
Thanks,
Paul
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: July 11th, 2012, 3:13 am
by Hansvon
The servers appear at the end of the ini file like this in a [servers] section:
[servers]
[[NICKNAME]]
username = ...
enable = 1
name = (=host for me)
fillserver = 0
connections = ... (10?)
ssl = 0/1
host = ...
timeout = 30
password = ...
optional = 0
port = ...
retention = 0
In the [misc] part of the .ini file. host/port/username/password are for the webinterface. It should be set to localhost/8080/""/"" by default, I guess.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: July 11th, 2012, 3:41 am
by paul m
hansvon, thanks for the speedy reply
In the sabnzbd.ini file that was created during installation there is no [servers] section
this is what was copied:
Code: Select all
__version__ = 19
[misc]
win_menu = 1
queue_complete = ""
https_port = 9090
folder_rename = 1
allow_64bit_tools = 1
password_file = ""
movie_rename_limit = 100M
ionice = ""
https_key = server.key
cleanup_list = ,
cache_limit = ""
ignore_unrar_dates = 0
par_option = ""
web_color = ""
pre_check = 0
replace_spaces = 0
web_color2 = ""
dirscan_speed = 5
enable_filejoin = 1
create_group_folders = 0
api_key = 87fd6893092983746b917c51e2e91208
never_repair = 0
no_penalties = 0
osx_speed = 1
bandwidth_limit = 0
dirscan_dir = ""
disable_api_key = 0
quota_period = m
email_to = ,
rss_filenames = 0
password = ""
permissions = ""
quota_day = ""
auto_disconnect = 1
use_pickle = 0
quota_size = ""
osx_menu = 1
enable_date_sorting = 0
replace_dots = 0
movie_sort_extra = -cd%1
rss_rate = 60
enable_unzip = 1
download_free = ""
port = 8085
email_dir = ""
wait_ext_drive = 5
pre_script = None
email_full = 0
log_dir = logs
admin_dir = admin
nzb_backup_dir = ""
tv_sort_countries = 1
date_categories = tv,
ssl_type = v23
sfv_check = 1
date_sort_string = ""
schedlines = ,
host = localhost
ignore_samples = 0
req_completion_rate = 100.2
enable_tsjoin = 1
auto_browser = 1
fsys_type = 0
pause_on_post_processing = 0
allow_incomplete_nzb = 0
uniconfig = 1
enable_unrar = 1
email_rss = 0
email_account = ""
email_server = ""
allow_streaming = 0
config_lock = 0
quota_resume = 0
api_warnings = 1
tv_sort_string = ""
username = ""
unpack_check = 1
no_ipv6 = 0
download_dir = Downloads/incomplete
size_limit = 0
enable_par_cleanup = 1
safe_postproc = 1
cache_dir = cache
random_server_ip = 1
complete_dir = Downloads/complete
replace_illegal = 1
nomedia_marker = ""
max_art_opt = 0
par2_multicore = 1
warned_old_queue = 0
language = en
check_new_rel = 1
enable_https = 0
no_dupes = 0
top_only = 0
quick_check = 1
movie_sort_string = ""
email_from = ""
max_art_tries = 3
movie_extra_folder = 0
email_endjob = 0
tv_categories = ""
pause_on_pwrar = 1
login_realm = SABnzbd
send_group = 0
refresh_rate = 0
movie_categories = movies,
script_dir = ""
email_pwd = ""
ignore_wrong_unrar = 0
nice = ""
enable_movie_sorting = 0
https_cert = server.cert
web_dir2 = ""
fail_on_crc = 1
nzb_key = 28688e7d60c0e718fabe40c9fa3cc891
auto_sort = 0
ampm = 0
start_paused = 0
web_dir = Plush
queue_complete_pers = 0
enable_tv_sorting = 0
folder_max_length = 256
[logging]
log_new = 0
max_log_size = 5242880
log_level = 1
log_backups = 5
enable_cherrypy_logging = 0
[newzbin]
username = ""
url = www.newzbin2.es
bookmark_rate = 60
bookmarks = 0
password = ""
unbookmark = 1
[nzbmatrix]
username = ""
apikey = ""
del_bookmark = 1
[growl]
ntfosd_enable = 1
growl_password = ""
growl_enable = 1
growl_server = ""
When I add the [servers] section, I guess I will have to refer to the [[NICKNAME]] of the server somewhere in the [misc] section
Thanks,
Paul
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: July 11th, 2012, 3:46 am
by Hansvon
No, I guess sabnzbd just uses all the servers with "enable=1"
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: July 11th, 2012, 4:06 am
by paul m
This is proving harder then I thought
changed things back to localhost, as it was in the originally installed config, added a [servers] section, but now I get a different error during startup:
Code: Select all
2012-07-11 11:56:06,524::INFO::[SABnzbd:1472] Starting web-interface on 127.0.0.1:124
2012-07-11 11:56:06,526::INFO::[_cplogging:55] [11/Jul/2012:11:56:06] ENGINE Bus STARTING
2012-07-11 11:56:06,536::INFO::[_cplogging:55] [11/Jul/2012:11:56:06] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-07-11 11:56:06,544::ERROR::[_cplogging:55] [11/Jul/2012:11:56:06] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/usr/share/SABnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "/usr/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1644, in start
raise socket.error, msg
error: [Errno 13] Permission denied
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: July 11th, 2012, 4:09 am
by Hansvon
You still have port=124. You should use 8080 or something. Port < 1024 can only be used by root.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: July 11th, 2012, 4:21 am
by paul m
that did the trick
Code: Select all
2012-07-11 12:19:22,216::INFO::[SABnzbd:1472] Starting web-interface on 127.0.0.1:8085
2012-07-11 12:19:22,218::INFO::[_cplogging:55] [11/Jul/2012:12:19:22] ENGINE Bus STARTING
2012-07-11 12:19:22,228::INFO::[_cplogging:55] [11/Jul/2012:12:19:22] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-07-11 12:19:22,333::INFO::[_cplogging:55] [11/Jul/2012:12:19:22] ENGINE Serving on 127.0.0.1:8085
2012-07-11 12:19:22,335::INFO::[_cplogging:55] [11/Jul/2012:12:19:22] ENGINE Bus STARTED
2012-07-11 12:19:22,337::INFO::[panic:247] Lauching browser with http://localhost:8085/sabnzbd
2012-07-11 12:19:22,339::INFO::[notifier:87] Sending registration to localhost:23053
2012-07-11 12:19:23,093::INFO::[SABnzbd:1541] Starting SABnzbd.py-0.7.1
2012-07-11 12:19:23,101::INFO::[dirscanner:265] Dirscanner starting up
2012-07-11 12:19:23,103::INFO::[urlgrabber:78] URLGrabber starting up