You are here

Error on Raspberry After Clean Install

16 posts / 0 new
Last post
hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years
Error on Raspberry After Clean Install

Hi everyone, I have already installed like mentioned on the documentation, but everytime I try to run it shows me this error:

WebGrab+Plus/w MDB & REX Postprocess -- version V3.0.0.0 -- build 2

Jan van Straaten
Francis De Paemeleere

thanks to Paul Weterings and all the contributing users
--------------------------------------------------------------------------------

Job started at 24/03/2020 08:18:05
Missing method System.Array::Empty<[1]>() in assembly /usr/local/lib/mono/4.5/mscorlib.dll, referenced in assembly /home/osmc/.wg++/bin/timezone.dll
Job finished at 24/03/2020 08:18:06 done in 0s

Method not found: 'System.Array.Empty'.

at WG.common.timezone.TimeZones+Database.LoadEmbeddedData (System.String resourcename) [0x00000] in :0
at WG.common.timezone.TimeZones.constructor (System.String file, System.String f) [0x00000] in :0
at WG.common.timezone.TimeZones..ctor () [0x00000] in :0
Unhandled Exception
For detailed info, see log file /home/osmc/.wg++/./WebGrab++.log.txt
Execution stopped

Nothing more on the log.txxt file. I also tried with the complete installation of mono, but the result is the same.

Can someone help me with that please?

Thanks.

hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years

Hi again, I managed to solve this issue using an old timezone.dll (I don't know if this can cause other problems), but now I have this error:

[ ] WebGrab++ license request and update log
[ ] 2020/03/24 14:09
[ ] Job finished at 24/03/2020 14:11:00 done in 1m 2s
[Critical]
Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
[Critical]
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[Boolean] (Microsoft.WindowsAzure.Storage.Core.Executor.RESTCommand`1 cmd, IRetryPolicy policy, Microsoft.WindowsAzure.Storage.OperationContext operationContext) [0x00000] in :0
at Microsoft.WindowsAzure.Storage.File.CloudFile.Exists (Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext) [0x00000] in :0
at WG_Azure.Azure_Access.DownloadFile (Microsoft.WindowsAzure.Storage.File.CloudFileDirectory dir, System.String filename, System.String& content, System.DateTime& lastmodified, System.Boolean& pass) [0x00000] in :0
at WG_Azure.Azure_Access.DownloadFile (Microsoft.WindowsAzure.Storage.File.CloudFileDirectory dir, System.String filename, System.String& content) [0x00000] in :0
at .<80><93>..ctor (System.Collections.Generic.Dictionary`2 , Boolean ) [0x00000] in :0
at .<80><85>..ctor (System.String ) [0x00000] in :0
[Critical] Unhandled Exception
[Critical] For detailed info, see log file /home/osmc/.wg++/./WGLicense.log.txt
[Critical] Execution stopped

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

change it back to latest timezone.dll
all your errors are mono related,make sure ur using the latest u can get for you device and install mono-complete,its the easiest way for novice users.you can get away with install less but u need to know what you are doing.

see here..
https://www.mono-project.com/download/stable/#download-lin-raspbian

in step 2 install mono-complete instead of mono-devel

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

link updated above for mono site for rpi

hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years

Hi, thanks for your answer. I already done all of that instructions. But still the same error. I have a raspberry Pi.
Thanks.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

upload ur wg log file.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

if u had done this already(from ur first post)

Missing method System.Array::Empty<[1]>() in assembly /usr/local/lib/mono/4.5/mscorlib.dll, referenced in assembly

as u can see your using mono 4.5(it doesn't have the mscorlib.dll file,hence the error)
6.8.0 is the latest for rpi

hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years

Strange, because I installed by apt... Attached the log file, and is the output of mono -V
Mono JIT compiler version 2.11.4 (tarball Thu Mar 14 14:32:54 CDT 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp(hardfp-abi)
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)

Attachments: 
hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years

If I put the other timezone.dll, here is the output on log file:
thanks to Paul Weterings and all the contributing users
--------------------------------------------------------------------------------

Job started at 24/03/2020 19:03:44
Missing method System.Array::Empty<[1]>() in assembly /usr/local/lib/mono/4.5/mscorlib.dll, referenced in assembly /home/osmc/.wg++/bin/timezone.dll
Job finished at 24/03/2020 19:03:45 done in 0s

Method not found: 'System.Array.Empty'.

at WG.common.timezone.TimeZones+Database.LoadEmbeddedData (System.String resourcename) [0x00000] in :0
at WG.common.timezone.TimeZones.constructor (System.String file, System.String f) [0x00000] in :0
at WG.common.timezone.TimeZones..ctor () [0x00000] in :0
Unhandled Exception
For detailed info, see log file /home/osmc/.wg++/./WebGrab++.log.txt
Execution stopped

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

from ur log..
[ Debug ] Mono version: 2.11.4 (tarball Thu Mar 14 14:32:54 CDT 2013)

so when u installed mono it most likely installed in a no-standard locaction(I am guessing in /opt)

the run.sh doesn't look for mono here(it loos in /usr/bin) so its finding the old mono version.

use a file explorer and check /opt
u will prob find /mono/[version_number]/bin/mono

so to run webgrab on the command line try
/opt/path_to_mono_binary/mono /path_to wg_exe /path_to_wg_config_folder
ex
/opt/mono/6.8/bin/mono /home/[username]/.wg++/bin/WebGrab+Plus.exe /home/[username]/.wg++

these file patch may not be 100% correct but you should get the idea as I have never used a rpi.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

just talked to a friend who has a rpi
here what u need todo,as root run..

sudo apt-get remove --purge mono

this will remove ur old mono versions,then reinstall mono as per instructions on the mono page I posted above.

hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years

Installed like you said, same result:

~/.wg++$ ./run.sh

WebGrab+Plus/w MDB & REX Postprocess -- version V3.0.0.0 -- build 2

Jan van Straaten
Francis De Paemeleere

thanks to Paul Weterings and all the contributing users
--------------------------------------------------------------------------------

Job started at 24/03/2020 20:40:21
Missing method System.Array::Empty<[1]>() in assembly /usr/local/lib/mono/4.5/mscorlib.dll, referenced in assembly /home/osmc/.wg++/bin/timezone.dll
Job finished at 24/03/2020 20:40:22 done in 0s

Method not found: 'System.Array.Empty'.

at WG.common.timezone.TimeZones+Database.LoadEmbeddedData (System.String resourcename) [0x00000] in :0
at WG.common.timezone.TimeZones.constructor (System.String file, System.String f) [0x00000] in :0
at WG.common.timezone.TimeZones..ctor () [0x00000] in :0
Unhandled Exception
For detailed info, see log file /home/osmc/.wg++/./WebGrab++.log.txt

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

maybe he is wrong,i don't know
did u check ur /opt folder for any mono versions installed?

also when u instralled via they website instruction did u have any error?

run mono - V in terminal and it will tell you what mono version ur using(one ur os finds).ur old one may be still installed and unless you tell it to use the one in /opt(I am assuming where latest is installed) then it will always use old one with missing .dll file you need.

I can help you create a new sh file to use the new mono but first u need to find where its installed.

hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years

I appreciate your help. When I run whereis mono:

mono: /usr/bin/mono /usr/lib/mono /etc/mono /usr/local/bin/mono /usr/local/etc/mono /usr/local/lib/mono /usr/share/mono /usr/share/man/man1/mono.1.gz

On /usr/lib/mono:

/usr/lib/mono$ ls
2.0-api 3.5-api 4.0 4.0-api 4.5 4.5-api 4.5.1-api 4.5.2-api 4.6-api 4.6.1-api 4.6.2-api 4.7-api 4.7.1-api 4.7.2-api 4.8-api aot-cache gac lldb mono-configuration-crypto monodoc msbuild xbuild xbuild-frameworks

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 3 hours

they are all old version,whereis also looks in same paths as it looks for the binary.
this doesn't mean u don't have the latest 6.8 installed,its just not looking for it where it may be.

did u check ur /opt folder?

see here to add /opt
https://www.techrepublic.com/article/how-to-add-directories-to-your-path...

it wont hurt anything,linux will just look there also ans use the latest it finds.

run as root
export PATH=$PATH:/opt
then mono -V
and it shud say 6.8 for version

hugomcsilva
Offline
Joined: 4 years
Last seen: 4 years

I managed to get it working, I removed everything including folders of old version. Installed everything again, and created a symlink. Now it is working. 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