You are here

Object reference not set to an instance of an object at license check(?)

14 posts / 0 new
Last post
mabene
Offline
Donator
Joined: 1 year
Last seen: 10 months
Object reference not set to an instance of an object at license check(?)

Trying to install WebGrabPlus_V3.3_install.tar.gz on ubuntu 18.04

Config:
<?xml version="1.0"?>
<settings>
<!-- for detailed info about the settings see http://webgrabplus.com/documentation/configuration/webgrabconfigxml
and http://webgrabplus.com/sites/default/files/downloads/Misc/Documented_Con... -->
<filename>guide.xml</filename>
<mode>
</mode>
<postprocess grab="n" run="n">rex</postprocess>
<user-agent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 Edg/79.0.309.71</user-agent>
<!--<decryptkey site="site-name">decrypt_userkey</decryptkey>-->
<license wg-username="myuser" registered-email="myemail" password="license pass code">To force a license update; replace this text with the letter f</license>
<logging>on</logging>
<retry time-out="5">4</retry>
<timespan>0</timespan>
<update>F</update>
<channel update="i" site="sky.at" site_id="116##13thstreethd_b" xmltv_id="13th Street HD">13th Street HD</channel>
</settings>

License log:
mythtv@pvr-sw2:~/.wg++$ cat WGLicense.log.txt
[ ] WebGrab++ license request and update log
[ ] 2023/02/24 23:01

log:
[ ]
[ ] WebGrab+Plus/w MDB & REX Postprocess -- version V3.3.0.0
[ ]
[ ] Jan van Straaten
[ ] Francis De Paemeleere
[ ]
[ ] thanks to Paul Weterings, Mat8861, Blackbear199 and all the contributing users
[ ] --------------------------------------------------------------------------------
[ ]
[ ] Job started at 24/02/2023 23:01:28
[ Debug ]
[ Debug ] Running on: Unix 4.15.0.202
[ Debug ] Environment: 4.0.30319.42000
[ Debug ] Mono version: 6.12.0.182 (tarball Tue Jun 14 22:29:01 UTC 2022)
[ Debug ]
[ Debug ] Loading timezone data
[ Debug ] Embedded timezones source: timezone.timezonesdata.txt
[ Debug ] Reading config file: /home/mythtv/.wg++/./WebGrab++.config.xml
[ Info ] Checking License ..
[ Info ] For License request/update data, see WGLicense.log.txt
[ ] Job finished at 24/02/2023 23:01:28 done in 0s
[Critical]
Object reference not set to an instance of an object
[Critical]
at  . ..ctor (System.String ) [0x0138d] in <86e27bf513e345f3b815dd4f534eb13f>:0
at  .—.  (System.String[] ) [0x0034b] in <86e27bf513e345f3b815dd4f534eb13f>:0
[Critical] Unhandled Exception
[Critical] For detailed info, see log file /home/mythtv/.wg++/./WebGrab++.log.txt
[Critical] Execution stopped

Any ideas what I'm doing wrong would be greatly appreciated.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 13 hours

Check your vps dns, best is to use google 8.8.8.8 and 8.8.4.4

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 min

few things,
1. you dont have epg grabbing enabled.
<postprocess grab="n" run="n">rex</postprocess>
should be
<postprocess grab="y" run="n">rex</postprocess>

2. remove this text from your license line..
To force a license update; replace this text with the letter f
only valid settings options are..
f == force license update
h == force hardware update

3. i would fill in your license info,username,email,pass code(visit your my account page for the pass code,its different from your forum login password)

see the documentation tab at the top of the forums for a explaination of settings.

neither of these should cause the error your getting though.
one common problem that does cause it is your dns settings.
many users change this to use google dns 8.8.8.8 and 8.8.4.4 to fix the issue.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 13 hours

This is team work ;)

mabene
Offline
Donator
Joined: 1 year
Last seen: 10 months

Tried that - no change unfortunately

mabene
Offline
Donator
Joined: 1 year
Last seen: 10 months

1. : Yes had changed that trying to find out what's going on, set back to recommended value
2. That text was inserted by webgrab after ruunng with just the letter f; completely removed now
3. those are filled in, just didn't want to post them on the forum

mabene
Offline
Donator
Joined: 1 year
Last seen: 10 months

I tried checking DNS traffic using tcpdump, only saw

A? bing.com
AAAA? bing.com.

queries going out when trying to run webgrab.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 min

webgrab checks for a internet connection by pinging bing.com
if that fails it will cause the error your getting.

whats linux distro are you using?
recently a different user had a similar issue,see..
http://webgrabplus.com/content/hardcoded-paths-binping

mabene
Offline
Donator
Joined: 1 year
Last seen: 10 months

That's on ubuntu 18.04 with mono from

deb https://download.mono-project.com/repo/ubuntu stable-bionic main

it seems to be an issue calling ping. output from strace:

execve("/bin/ping", ["/bin/ping", "-q", "-n", "-c", "1", "-w", "4", "-t", "128", "-M", "dont", "204.79.197.200"]
read(7, "/bin/ping: unsupported packet type: 128\n", 1024) = 40

in addition to not liking the -t 128 parameter, my ping also does not support -M

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 min

interesting,have you checked with ping --help to see what it says.
i have ubuntu 22.04 and both those settings are fine for me.
i think mono may be causing trouble?

mike@mike-Standard-PC-i440FX-PIIX-1996:~$ ping -t 128 -M dont bing.com
PING bing.com (13.107.21.200) 56(84) bytes of data.
64 bytes from 13.107.21.200 (13.107.21.200): icmp_seq=1 ttl=114 time=26.2 ms
64 bytes from 13.107.21.200 (13.107.21.200): icmp_seq=2 ttl=114 time=25.1 ms
64 bytes from 13.107.21.200 (13.107.21.200): icmp_seq=3 ttl=114 time=23.7 ms
64 bytes from 13.107.21.200 (13.107.21.200): icmp_seq=4 ttl=114 time=25.1 ms

mabene
Offline
Donator
Joined: 1 year
Last seen: 10 months

Yes I have. no mention of -M and -t 128 results in "invalid packet type"
$ ping -V
ping (GNU inetutils) 1.9.4

So, I decided to install .net6 and try the beta.

That looks somewhat better but license check still fails, possibly because the donor badge hasn't been activated yet (has only been a couple of hours)

WebGrab++ license request and update log
2023/02/25 09:20

License request/update
Username 'mabene'
There is no registered user 'mabene'
Correct the username in the license request :

License has expired !
The program will run with performance settings : 'un_registered_user'
License check .. done

the actual channels are then skipped because of encrypted SiteIni

( 1/20 ) SKY.AT -- chan. (xmltv_id=13th Street HD) -- skipped --> encrypted SiteIni

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 min

try again,i just ran a user update..

Changed/new expiry dates :
mabene : new expiry date 2024-02-25
update success !!

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 min

also it appears 18.04 and 22.04 use different ping versions.
22.04 use it from iputils

mike@mike-Standard-PC-i440FX-PIIX-1996:~$ ping -V
ping from iputils 20211215

mabene
Offline
Donator
Joined: 1 year
Last seen: 10 months

Thanks, that did it. License check worked, downloading EPG right now.

Many thanks for your help!

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl