[mythtvnz] XMLTVNZ problems

Steven Ellis mythtvnz@lists.linuxnut.co.nz
Fri, 06 Jul 2007 20:43:33 +1200


Rama Madhusudhan wrote:
> I am having trouble with tv_grabber.  Here's the output when I execute
> the script. ~/TVNZ$ ./tv_grabber.sh
>
> ** (/home/mythtv/TVNZ/xmlTVNZ.exe:13917): WARNING **: The following
> assembly referenced from /home/mythtv/TVNZ/xmlTVNZ.exe could not be
> loaded:
>     Assembly:   System.Runtime.Serialization.Formatters.Soap   
> (assemblyref_index=3)
>     Version:    2.0.0.0
>     Public Key: b03f5f7f11d50a3a
> The assembly was not found in the Global Assembly Cache, a path listed
> in the MONO_PATH environment variable, or in the location of the
> executing assembly (/home/mythtv/TVNZ).
>
>
> ** (/home/mythtv/TVNZ/xmlTVNZ.exe:13917): WARNING **: Could not load
> file or assembly 'System.Runtime.Serialization.Formatters.Soap,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or
> one of its dependencies.
>
> Unhandled Exception: System.IO.FileNotFoundException: Could not load
> file or assembly 'System.Runtime.Serialization.Formatters.Soap,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or
> one of its dependencies.
>  at <0x00000> <unknown method>
>  at System.Collections.SortedList..ctor (IComparer comparer, Int32
> initialCapacity) [0x00000]
>  at System.Collections.SortedList..ctor () [0x00000]
>  at xmlTVNZ.SkyTV..ctor () [0x00000]
>  at xmlTVNZ.xmlTVNZ.Main (System.String[] args) [0x00000]
> ### bypassing grabbers, reading directly from file
> 2007-07-06 19:04:21.541 Using runtime prefix = /usr
> 2007-07-06 19:04:21.842 New DB connection, total: 1
> 2007-07-06 19:04:21.875 Connected to database 'mythconverg' at host:
> localhost
> Error unable to open '/home/mythtv/TVNZ/tvguide.xml' for reading.
>
>
> Its appears to be a problem with my mono environment.  Here's my mono
> installs.
>
>
> dpkg -l mono\*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name                Version             Description
> +++-===================-===================-======================================================
>
> ii  mono                1.2.3.1-1ubuntu1    Mono CLI (.NET) runtime
> un  mono-classlib-1.0   <none>              (no description available)
> un  mono-classlib-1.0-d <none>              (no description available)
> un  mono-classlib-2.0   <none>              (no description available)
> un  mono-classlib-2.0-d <none>              (no description available)
> ii  mono-common         1.2.3.1-1ubuntu1    common files for Mono
> ii  mono-gac            1.2.3.1-1ubuntu1    Mono GAC tool
> ii  mono-gmcs           1.2.3.1-1ubuntu1    Mono C# 2.0 compiler
> ii  mono-jit            1.2.3.1-1ubuntu1    fast CLI JIT/AOT compiler
> for Mono
> ii  mono-mcs            1.2.3.1-1ubuntu1    Mono C# compiler
> un  mono-nokia          <none>              (no description available)
> ii  mono-runtime        1.2.3.1-1ubuntu1    Mono runtime
> ii  mono-utils          1.2.3.1-1ubuntu1    Mono utilities
> ii  mono-xsp            1.2.1-1ubuntu1      simple web server to run
> ASP.NET applications
> ii  mono-xsp-base       1.2.1-1ubuntu1      base libraries for XSP 1.1
> ii  mono-xsp2           1.2.1-1ubuntu1      simple web server to run
> ASP.NET applications
> ii  mono-xsp2-base      1.2.1-1ubuntu1      base libraries for XSP 2.0
> un  monopd              <none>              (no description available)
>
>
You need mono-classlib-1.0 and mono-classlib-2.0 not mono-classlib.

Then it should work

-- 
Steven Ellis - Technical Director
OpenMedia Limited
email   - steven@openmedia.co.nz
sales   - sales@openmedia.co.nz
support - support@openmedia.co.nz
website - http://www.openmedia.co.nz