|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Corrupt Wiz.bin
Every time I start up my computer my Wiz.bin file gets corrupted. If I delete Wiz.bin and Wiz.bak, run stopsage, run startsage, and then rerun the setup of the client everything works fine. Except of course my favorites and scheduled recordings are lost.
Here is my sagetv.txt file Code:
Sat 5/31 7:37:50.177 Error with DB file:java.lang.NullPointerException, attempting to restore backup. Sat 5/31 7:37:50.448 Error discovering new HDHR devices! (-1) Sat 5/31 7:37:50.536 detect 3 Sat 5/31 7:38:09.801 createEncoder /dev/video0 Sat 5/31 7:38:09.801 verifying interface compatibility Sat 5/31 7:38:09.801 Opened /dev/video0 with interface 1 Sat 5/31 7:38:09.856 Loaded Sat 5/31 7:38:09.858 setInput0 0 0 1 1 Sat 5/31 7:38:09.858 setting standard to 0x3000 Sat 5/31 7:38:09.920 updateColors0 b=128 c=128 h=128 s=128 Sat 5/31 7:38:10.053 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:38:10.054 sage.cc.run(Unknown Source) Sat 5/31 7:38:10.054 java.lang.Thread.run(Thread.java:619) Sat 5/31 7:38:10.055 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:38:10.055 sage.cc.run(Unknown Source) Sat 5/31 7:38:10.055 java.lang.Thread.run(Thread.java:619) Sat 5/31 7:38:16.095 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=1948||VH1|VH1||||||||| Sat 5/31 7:38:16.158 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2094||Guys Next Door|GUYS NEXT DOOR||||||||| Sat 5/31 7:38:17.283 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2685||Rainbow|RAINBOW||||||||| Sat 5/31 7:38:17.291 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2742||Race Around the World|RACE AROUND THE WORLD||||||||| Sat 5/31 7:38:17.404 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2906||The Brian Keith Show|BRIAN KEITH SHOW, THE||||||||| Sat 5/31 7:38:17.420 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2928||ABC Thursday Night Movie|ABC THURSDAY NIGHT MOVIE|ABC|In this coveted time slot, ABC presents various theatrical and made-for-television movies.|Seated against NBC's "Must See TV," ABC's Thursday Night Movie hopes to capture a different audience that will tune into various made-for-television movies starring an array of celebrities.|1998-09-24||Thursday|08:00am|| Sat 5/31 7:38:17.505 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2945||Thursday Night at the Movies|THURSDAY NIGHT AT THE MOVIES|UPN|For its first attempt at programming Thursday, UPN showcases a weekly two hour sci-fi Thursday night movie. These sci-fi flicks offer a more sexy, rock 'n' roll style to the traditional sci-fi fan.|Seated against NBC's "Must See TV," UPN's Way Out There Movie hopes to capture a different audience that will tune into sci-fi action. It also marks the first time UPN has programmed Thursday night.|1998-10-08||Thursday|08:00am|| Sat 5/31 7:38:17.516 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2946||CBS Tuesday Movie|CBS TUESDAY MOVIE|CBS|CBS showcases a variety of made-for-television movies featuring an array of celebrities.|CBS enjoyed such long-standing success of the Sunday Night Movie, the network decided to expand its movie programming to Tuesday.|||Tuesday|09:00am|| Sat 5/31 7:38:17.529 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2950||Feelin' All Right|FEELIN' ALL RIGHT|FOX|Set in the mood ring and polyester era of the '70s, "Feelin' All Right" is a retro-hip situation comedy about an eclectic group of friends on the verge of young adulthood. They live in the rural suburbs of Wisconsin, where they yearn for independence and do their best to prove that they are "feelin' all right."|."|||||| Sat 5/31 7:38:17.638 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=2993||NBC Sunday Night Movie|NBC SUNDAY NIGHT MOVIE|NBC|NBC showcases a variety of made-for-television movies featuring an array of celebrities.|This season, NBC will feature both historical epics and modern dramas. Among the expected movies to air this season are "Crime and Punishment," based on the famous novel, and "Exiled," a spin-off from NBC's hit series "Law & Order."|||Sunday|09:00am||Boyd|Lynda|Darla Mohr|Cuthbert|Jon|Vicennes|Dacascos|Marc|Eric Draven|Dreyfus|Julie|India Reyes|Gomes|Marc|Detective Daryl Albrecht|Karsenti|Sabine|Shelly Webster|Pyper-Ferguson|John|Top Dollar|Stuart|Katie|Sarah Mohr|Tiernam|Michael|Frank Voz| Sat 5/31 7:38:17.650 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=3005||Concentration|CONCENTRATION||||||||| Sat 5/31 7:38:20.378 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=3843||Athens|ATHENS|FOX|The creator of "The O.C." turns his attention from the lives of high school students in California to college students in New England. Just as Newport Beach may as well be 100 miles from Chino, the gap between the students and teachers at a prestigious university and the local townies is equally vast.|To premiere January 2005. Produced by Josh Schwartz, Bob DeLaurentis, McG and Stephanie Savage.|||Monday|08:00pm|http://images.zap2it.com/20040520/joshschwartz_athens_240.jpg| Sat 5/31 7:38:24.207 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=4613||Meet My Folks|MEET MY FOLKS|MyNetwork TV|Watching the Ben Stiller movie comedy "Meet the Parents" is a barrel of laughs, but finding yourself living it? Not so funny. In this new relationship show, prospective boyfriends are put to a series of tests and interrogations by the girl's parents in order to prove themselves worthy of dating daddy's little princess. And the folks actually do have veto power if they don't find the guy up to snuff.||2007-09-12||Wednesday|09:00pm|| Sat 5/31 7:38:30.431 ERROR w/ EPG data formatting for series ID:java.lang.NumberFormatException: For input string: "" data=5917||The Middleman|MIDDLEMAN, THE|ABC Family|Art school graduate Wendy Watson struggles to wrap her head around her bizarre new job, fighting dangers humanity isn't prepared to face, under the guidance of a handsome and relentlessly wholesome hero who calls himself The Middleman in this tongue-in-cheek adventure series based on the graphic novels of Javier Grillo-Marxuach.||2008-06-16||Monday|08:00pm||Morales|Natalie|Wendy Watson|Keeslar|Matt|The Middleman|Gleason|Mary Pat|Ida|Morgan|Brit|Lacey|Smollett|Jake|Noser| Sat 5/31 7:38:31.694 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:38:31.694 sage.cc.run(Unknown Source) Sat 5/31 7:38:31.694 java.lang.Thread.run(Thread.java:619) Sat 5/31 7:38:31.699 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:38:31.700 sage.cc.run(Unknown Source) Sat 5/31 7:38:31.700 java.lang.Thread.run(Thread.java:619) Sat 5/31 7:38:36.936 Error accessing file system:java.lang.NullPointerException Sat 5/31 7:38:36.979 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:38:36.980 sage.cc.run(Unknown Source) Sat 5/31 7:38:36.980 java.lang.Thread.run(Thread.java:619) Sat 5/31 7:43:38.582 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:43:38.582 sage.cc.run(Unknown Source) Sat 5/31 7:43:38.583 java.lang.Thread.run(Thread.java:619) Sat 5/31 7:48:38.584 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:48:38.584 sage.cc.run(Unknown Source) Sat 5/31 7:48:38.584 java.lang.Thread.run(Thread.java:619) Sat 5/31 7:53:38.589 SEEKER EXCEPTION THROWN:java.lang.NullPointerException Sat 5/31 7:53:38.589 sage.cc.run(Unknown Source) Sat 5/31 7:53:38.589 java.lang.Thread.run(Thread.java:619) I am a Linux newbie and I am not sure what to do. Any thoughts? Thanks. |
#2
|
|||
|
|||
You should try stopping the sagetv server then reentering your activation key using keygen.sh.
_Demo_ |
#3
|
|||
|
|||
Thanks for the quick response.
As suggested I stopped the sage server, deleted my Wiz files, ran the registration key script, and restarted the server. I got the same error after I restarted my computer. Any other thoughts? Thanks again. |
#4
|
|||
|
|||
Are you using the debian packages? Also could you verify your java version with java -version?
_Demo_ |
#5
|
||||
|
||||
I came across this about a month ago using 6.3.8 or 6.3.9...
The reason for my problem turned out to be a metadata issue with one of my imported videos. I was using IMDB search with RW Metadata stvi's to save metadata files for my imported videos and it turned out that one of the files was over 32KB which the database was unable to handle. Updating to 6.3.10 fix the problem for me.
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#6
|
|||
|
|||
I am using Ubuntu 8.04.
When I ran java - version I got java version "1.6.0"I installed the latest version I am still having the same problem. Do I create my install directories incorrectly? I really don't understand permissions and all that stuff. Thanks for the help. I'm not giving up yet. |
#7
|
||||
|
||||
I run sage under 8.04 as well... I use the Sun JDK (use Synaptic, seach by name for 'sun'). Maybe there is something withe OpenJDK??
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#8
|
|||
|
|||
I removed the OpenJDK and installed the Sun 6 JDK.
Same issue. Here is my log file Fri 6/6 9:13:33.702 Error with DB file:java.lang.NullPointerException, attempting to restore backup.Thanks again. |
#9
|
||||
|
||||
Quote:
And what version of Sage are you using? Did you install the debian packages for Sage or Manual install?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#10
|
|||
|
|||
I have run the sage client both as root, using sudo, and the logged in user.
I downloaded the lastest version the other day, which is 6.3.10.1. I did a manual install. After downloading the tarballs, I extracted the server tarball to /opt/sagetv/server and the client tarball to /opt/sagetv/client. I did the extractions using sudo. The crazy part is that I was previously using Ubuntu 7.10 and did have any problems. When I did that install I didn't know anything about Linux and it worked just fine. I thought I learned alittle over the last couple of months, but not enough to solve this problem. I really appreciate the help. |
#11
|
||||
|
||||
They only difference in our setups is that I used the deb... you can try download the sage server deb and then rename you current sage install....
Code:
# sudo mv /opt/sagetv /opt/sagetv.manual # sudo apt-get install sagetv-server.deb (have your lic key ready, it will ask for it) # sudo /etc/init.d/sagetv restart
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#12
|
|||
|
|||
Anyone have a fix for this issue? I am expericiang the same thing. I'm using Ubuntu 8.04 I used the Deb package to fresh install Sage 6.4.3
|
#13
|
|||
|
|||
Did you activate your license key?
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#14
|
||||
|
||||
Same issue here. Running SageTV 6.3.10, openSuSE 10.2, Sun JRE 1.5.0_10.
I shutdown to add an additional tuner, when I restarted, no recorded programs, no scheduled recordings, no favorites. Naturally, my wife is pissed because we had just added a bunch of programs for the fall lineup and, of course, some of her programs recorded tonight that are on disk, but not registering at all in SageTV. I would really love to be able to restore the favorites and recorded programs, but I can't even restore a Wiz.bin from backup. |
#15
|
|||
|
|||
I just observed this behavior today.
I was logged in to my CentOS server as regular user. I rearranged whole bunch of files. Then I run sudo bash, went to sage directory, stopped sage, modified Sage.properties and set force_full_content_reindex=true and started sage. Corrupted Wiz.bin Stopped sage, restored old backup of Wiz.bin, started sage, Corrupted Wiz.bin This happened every time I tried. Then I logged out of the server, logged in this time as root and went to sage directory, stopped sage, modified Sage.properties and set force_full_content_reindex=true, restored olf backup of Wiz.bin and started sage. Worked perfectly. Any idea why starting under "sudo bash" terminal let to Win.biz corruption while running as root didn't. Sage was originally installed as root user as it is described in the CentOS FAQ in here. |
#16
|
|||
|
|||
It is possible that when using a trick like this the SageTV server doesn't have access to all needed dependencies if the environment variables are different for that user compared to a standard root user.
_Demo_ |
#17
|
|||
|
|||
Is there a way how to verify it? I was assuming that when I do sudo bash I am basically running as a root.
|
#18
|
|||
|
|||
Quote:
$ echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin $ sudo echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin $ sudo su - [root@foo ~]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin [root@foo ~]# Drew |
#19
|
|||
|
|||
Thanks a lot, I will definitely try it this weekend. I am still surprised that even if something is wrong like this, Sage corrupts its file.
|
#20
|
|||
|
|||
So there is definitely difference between sudo bash and sudo su -. The path is slightly different, but nothing obvious related to Sage or Java which would explain why sage corrupts the Win.biz
Code:
[basta@storage ~]$ echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/basta/bin [basta@storage ~]$ sudo echo $PATH Password: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/basta/bin [basta@storage ~]$ sudo bash [root@storage ~]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/basta/bin [root@storage ~]# exit exit [basta@storage ~]$ sudo su - [root@storage ~]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin [root@storage ~]# [root@storage ~]# exit logout [basta@storage ~]$ printenv HOSTNAME=bastafidli TERM=xterm SHELL=/bin/bash HISTSIZE=1000 KDE_NO_IPV6=1 SSH_CLIENT=192.168.3.14 3728 22 SSH_TTY=/dev/pts/0 USER=basta LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: KDEDIR=/usr MAIL=/var/spool/mail/basta PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/basta/bin INPUTRC=/etc/inputrc PWD=/home/basta LANG=en_US.UTF-8 KDE_IS_PRELINKED=1 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1 HOME=/home/basta LOGNAME=basta SSH_CONNECTION=192.168.3.14 3728 192.168.3.12 22 LESSOPEN=|/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES=1 _=/usr/bin/printenv [basta@storage ~]$ sudo printenv HOSTNAME=bastafidli TERM=xterm HISTSIZE=1000 LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: KDEDIR=/usr MAIL=/var/spool/mail/basta PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/basta/bin INPUTRC=/etc/inputrc LANG=en_US.UTF-8 HOME=/home/basta SHELL=/bin/bash LOGNAME=root USER=root SUDO_COMMAND=/usr/bin/printenv SUDO_USER=basta SUDO_UID=500 SUDO_GID=500 [basta@storage ~]$ sudo su - [root@storage ~]# printenv HOSTNAME=bastafidli SHELL=/bin/bash TERM=xterm HISTSIZE=1000 KDE_NO_IPV6=1 USER=root LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: KDEDIR=/usr MAIL=/var/spool/mail/root PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin INPUTRC=/etc/inputrc PWD=/root LANG=en_US.UTF-8 KDE_IS_PRELINKED=1 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1 HOME=/root LOGNAME=root LESSOPEN=|/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES=1 _=/usr/bin/printenv [root@storage ~]# |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Corrupt Wiz.bin everytime I reboot | dvd_maniac | SageTV Software | 3 | 04-01-2008 07:52 AM |
Symptoms of a sick and dying wiz.bin | roadtoad | SageTV Software | 1 | 12-23-2007 01:37 PM |
Is there a Wiz.bin cleaner out there? | perfessor101 | SageTV Software | 10 | 04-18-2006 10:26 AM |
Corrupt Wiz.bin | Wakecrash | SageTV Beta Test Software | 0 | 08-24-2005 06:03 PM |
High CPU load, corrupt wiz.bin file feared with 1.4.7 | bling_bling_vr6 | SageTV Beta Test Software | 3 | 08-14-2003 12:42 PM |