Error by Debugging MovingPicturConfigTester please help me (1 Viewer)

RedMunich

Portal Member
April 4, 2009
19
4
NRW
Home Country
Germany Germany
hi,

sorry for my bad english, i hope you understand me. I get this error every time:

System.TypeInitializationException was unhandled
Message: Der Typeninitialisierer für "SQLite.NET.SQLiteClient" hat eine Ausnahme verursacht.

I have tested with lots of Compination with Media Portal with:
# MediaPortal 1.0/
# MediaPortal 1.0.0.0 RC1/
# MediaPortal 1.0.0.0 RC1 Refresh/
# MediaPortal 1.0.0.0 RC2/
# MediaPortal 1.0.0.0 RC3/
# MediaPortal 1.0.0.0 RC4/

and

moving-pictures - Revision 574: /tags/0.7/0.7.2

I read the DevelopmentEnvironmentMain again and again but the error comes always. I tested 8 hours an i hope her have everybody a Idee ?

I use Visual Studio 2008 Express
.NET Framework 2.0 SDK
TortoiseSVN

under WinVista 64 bit

When i Build Solution i become 28 warning but 0 errors:

Warning 1 The variable 'ex' is declared but never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Utils\Configuration\XmlSettingsProvider.cs 195 26 Utils
Warning 2 The member 'DirectShowLib.IMediaEventEx.GetEvent(out DirectShowLib.EventCode, out int, out int, int)' does not hide an inherited member. The new keyword is not required. C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\DirectShowLib\Control.cs 812 17 DirectShowLib
Warning 3 The member 'DirectShowLib.IMediaEventEx.FreeEventParams(DirectShowLib.EventCode, int, int)' does not hide an inherited member. The new keyword is not required. C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\DirectShowLib\Control.cs 832 17 DirectShowLib
Warning 4 'MediaPortal.GUI.Library.GUIMultiImage.Info' hides inherited member 'MediaPortal.GUI.Library.GUIControl.Info'. Use the new keyword if hiding was intended. C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\guilib\GUIMultiImage.cs 153 16 Core
Warning 5 The variable 'videoBitrate' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Dvrms2WMV.cs 501 15 Core
Warning 6 The variable 'audioBitrate' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Dvrms2WMV.cs 502 15 Core
Warning 7 The variable 'videoHeight' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Dvrms2WMV.cs 503 15 Core
Warning 8 The variable 'videoWidth' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Dvrms2WMV.cs 504 15 Core
Warning 9 The variable 'videoFps' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Dvrms2WMV.cs 505 18 Core
Warning 10 The variable 'videoBitrate' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\TSReader2WMV.cs 572 15 Core
Warning 11 The variable 'audioBitrate' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\TSReader2WMV.cs 573 15 Core
Warning 12 The variable 'videoHeight' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\TSReader2WMV.cs 574 15 Core
Warning 13 The variable 'videoWidth' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\TSReader2WMV.cs 575 15 Core
Warning 14 The variable 'videoFps' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\TSReader2WMV.cs 576 18 Core
Warning 15 'MediaPortal.Core.Transcoding.IWMInputMediaProps.GetType(out System.Guid)' hides inherited member 'MediaPortal.Core.Transcoding.IWMMediaProps.GetType(out System.Guid)'. Use the new keyword if hiding was intended. C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Wmlib.cs 778 9 Core
Warning 16 'MediaPortal.Core.Transcoding.IWMInputMediaProps.GetMediaType(System.IntPtr, ref uint)' hides inherited member 'MediaPortal.Core.Transcoding.IWMMediaProps.GetMediaType(System.IntPtr, ref uint)'. Use the new keyword if hiding was intended. C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Wmlib.cs 783 9 Core
Warning 17 'MediaPortal.Core.Transcoding.IWMInputMediaProps.SetMediaType(MediaPortal.Core.Transcoding.WmMediaType)' hides inherited member 'MediaPortal.Core.Transcoding.IWMMediaProps.SetMediaType(MediaPortal.Core.Transcoding.WmMediaType)'. Use the new keyword if hiding was intended. C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Core\Transcoding\Wmlib.cs 789 9 Core
Warning 18 The field 'MediaPortal.Music.Database.AudioscrobblerUtils._doCoverLookups' is assigned but its value is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MediaPortal\Databases\Music\Audioscrobbler\AudioscrobblerUtils.cs 480 18 Databases
Warning 19 The using directive for 'System.Reflection' appeared previously in this namespace C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\Cornerstone\Tools\WebGrabber.cs 7 7 Cornerstone
Warning 20 The variable 'e' is declared but never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\Cornerstone\ScraperEngine\ScraperNode.cs 160 50 Cornerstone
Warning 21 The field 'MediaPortal.Plugins.MovingPictures.ConfigScreen.MovieManagerPane.coverThumb' is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\ConfigScreen\MovieManager\MovieManagerPane.cs 31 23 MovingPictures
Warning 22 The field 'MediaPortal.Plugins.MovingPictures.LocalMediaManagement._DeviceVolumeMonitor.BroadcastHeader.Reserved' is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\LocalMediaManagement\DeviceVolumeMonitor.cs 62 25 MovingPictures
Warning 23 The field 'MediaPortal.Plugins.MovingPictures.LocalMediaManagement._DeviceVolumeMonitor.Volume.Reserved' is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\LocalMediaManagement\DeviceVolumeMonitor.cs 69 25 MovingPictures
Warning 24 The field 'MediaPortal.Plugins.MovingPictures.LocalMediaManagement.DeviceManager.monitor' is never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\LocalMediaManagement\DeviceManager.cs 165 44 MovingPictures
Warning 25 The variable 'e' is declared but never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\ConfigScreen\MovieManager\MovieManagerPane.cs 225 30 MovingPictures
Warning 26 The variable 'e' is declared but never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\LocalMediaManagement\DeviceManager.cs 504 30 MovingPictures
Warning 27 Unreachable code detected C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\MainUI\MovingPicturesGUI.cs 752 21 MovingPictures
Warning 28 The variable 'e' is declared but never used C:\Users\RedMunich\Documents\Visual Studio 2008\Projects\PluginDev\MovingPictures\MovingPictures\MainUI\MovingPicturesGUI.cs 1339 46 MovingPictures


I will use Moving Picture multiple. One for Xvid and One for HD, I Hope someone can help me.

Greetz Red
 

ZealotSix

Portal Pro
August 18, 2008
181
69
Home Country
United States of America United States of America
Hi,

SQLite.NET.SQLiteClient is part of the MediaPortal Databases project. Check the references to each of your projects, looking for references with yellow exclamation marks next to them. If there are any yellow exclamations, you will need to resolve those.

If you find a yellow exclamation mark next to "Databases" for example, you can resolve the problem by adding the MediaPortal Databases project to your solution, and then right clicking the references, to add a reference to that project. You should resolve all of your reference errors.

If it helps, I have the following projects in my solution:
Core
Cornerstone
Cornerstone.MP
Databases
Dialogs
DirectShowLib
MediaPortal.Support
MovingPictures
MovingPicturesConfigTester
MovingPicturesUnitTest
Utils

I hope this helps.
 

RedMunich

Portal Member
April 4, 2009
19
4
NRW
Home Country
Germany Germany
Hi,

thx for you Answer. Yes i have checked this but no better.

I have the the Same Projects in my Solution.

Can you me tell what OS and what Media Center and MovingPictures Resource you use ? And which Version of Visual C# you use ?
 

ZealotSix

Portal Pro
August 18, 2008
181
69
Home Country
United States of America United States of America
If you're comfortable with IRC, you might want to join #moving-pictures, on freenode. I'll go ahead and edit this message with responses to your questions though.

Edit - ok here's my setup:

MediaPortal:
https://mediaportal.svn.sourceforge.net/svnroot/mediaportal/tags/MediaPortal 1.0

Moving Pictures:
http://moving-pictures.googlecode.com/svn/trunk/

If you want a stable release of moving-pictures, go with this URL instead:
http://moving-pictures.googlecode.com/svn/tags/0.7/0.7.2/

I'm using Vista, but some of the other devs use XP.

I use Visual Studio 2008 Professional, but you should be able to use Express instead.

Hope this helps
 

RedMunich

Portal Member
April 4, 2009
19
4
NRW
Home Country
Germany Germany
hi,

thx for you help again. IRC cant use at the moment.

I have tested with the same Configuration at my laptop with vista 32bit but the same Problem again.

Can you answer my last questions ?

When i add a existing project from Media Portal for example Core to Moving Pictures Solution come the message the Core Project is build with a older Version of Visual Studio and i must it convert to use. Get you the self Message ?

When i will add the MovingPicturesUnitTest i get the Message cant open: The project type is not supported by this installation. Can you use the MovingPicturesUnitTest ?

What Size is you provided MovingPictures.dll when you have use merge.bat ? My Filesize is 880 kb.


I will test it with Visual Studio 2008 Professional in 2 Days by a Friend when this doesent work i dont now.


Can you build and sent me a MovingPicture.dll at RedMunich@gmx.net for test with the following characteristics:

Assembly Name: MovingPictureDVD.dll
Default Namespace: MediaPortal.Plugins.MyFilms

Assembly Informations:
Title: Moving Pictures DVD

Then i test multiple Moving Pictures at Media Portal.

Greetz Kai
 

ZealotSix

Portal Pro
August 18, 2008
181
69
Home Country
United States of America United States of America
MovingPicturesUnitTest probably won't load because Express doesn't do unit tests. This is just a guess, but either way you don't really need that project. Just don't load it. And yes, it gave me the messages about Media Portal projects being created with an older version of Visual Studio. Just let it convert the projects and it should be fine.

Your file size looks about right to me. Mine is a little over 1MB, but I built in debug mode, and I have some other code that isn't in SVN yet.

Sorry I don't think making a custom build for you would be possible. I don't mind helping you get your environment set up, but I'm not going to start making custom builds for people.
 

RedMunich

Portal Member
April 4, 2009
19
4
NRW
Home Country
Germany Germany
hi,

no Problem I undestand this the dont think making a custom build for me. I test it again.

thx again
 

Users who are viewing this thread

Top Bottom