NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) SearchWiz & MovieWiz v
« Previous 1 2 3 4 5 … 16 Next »
MovieWiz exception

 
  • 0 Vote(s) - 0 Average
MovieWiz exception
7ore
Offline

Senior Member

Posts: 598
Threads: 68
Joined: Mar 2006
#1
2010-01-07, 08:36 PM
I have moved over to win 7 and when I searched for new movies I got a nasty exception before anything where found.
A small thing; If I want to run the stand alone UI, I have to start as Administrator or else it crash immediately.

Back to the exception. I found that the reason where that I had deleted a movie and it's folder. Earlier Moviewiz could handle that, but not in win7.

After I removed the movie from the MovieWiz db as well, all works as expected.

The exception I got where:

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Film\Passion.Of.The.Christ.DVDRiP.XViD-DvP'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at WizPlugin.MovieEntry.FoldedFiles()
at WizPlugin.MovieWizConfigForm.FilterFiles(ArrayList inputFiles)
at WizPlugin.MovieWizConfigForm.cmdSearch_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2010-01-08, 04:46 AM
I believe I have a fix for the exception in the next version of MovieWiz.

As far as starting as Administrator, is there any error message or logfile created? I don't have Vista or Win7, so I cannot recreate.
7ore
Offline

Senior Member

Posts: 598
Threads: 68
Joined: Mar 2006
#3
2010-01-08, 07:26 AM
Hmm, I can't reproduce the other problem now. Maybe it was connected with the removed folder problem...
7ore
Offline

Senior Member

Posts: 598
Threads: 68
Joined: Mar 2006
#4
2010-01-09, 01:16 PM
I have reproduced the problem now. Sort of, anyway.

If I start the external Moviewiz without the "Run as Administrator" I get an exception when I try to save stuff. I got the exception below when I addad movies to a category. When I press save I get the exception below.
I can use it fine when started from the plugin tab, as config.exe is started as admin by default.

************** Exception Text **************
System.Data.SQLite.SQLiteException: Attempt to write a read-only database
attempt to write a readonly database
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteTransaction..ctor(SQLiteConnection connection, Boolean deferredLock)
at System.Data.SQLite.SQLiteConnection.BeginTransaction(Boolean deferredLock)
at System.Data.SQLite.SQLiteConnection.BeginTransaction()
at WizPlugin.MovieWizCore.chgMovieInfo(MovieEntry me, Boolean saveThumbnail)
at WizPlugin.MovieWizConfigForm.tsbSave_Click(Object sender, EventArgs e)
at WizPlugin.MovieWizConfigForm.MovieWizConfigForm_FormClosing(Object sender, FormClosingEventArgs e)
at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#5
2010-01-09, 06:39 PM
I doubt that it will help, but could you try the version found in this thread: http://forums.nextpvr.com/showthread.php?t=44833
7ore
Offline

Senior Member

Posts: 598
Threads: 68
Joined: Mar 2006
#6
2010-01-10, 09:09 AM
You were correct. It did not help. Actually it got worse.
It works when I run from config.exe, but I get an exception when I start the manager s stand alone. Same if I start as an administrator.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MovieWizManager.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#7
2010-01-11, 04:30 AM
Can you give this version a try?

It will pop message boxes as it starts up.

If all steps work, you should see:
  • [SIZE=2]Form1() - Constructor complete
    [/SIZE]
  • [SIZE=2][SIZE=2][SIZE=2]Form1_Load() - BEGIN.
    [/SIZE]
    [/SIZE]
    [/SIZE]
  • [SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2]Form1_Load() - Step 1.
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
  • [SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2]Form1_Load() - Step 2.
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
  • [SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2]Form1_Load() - Step 3.
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
  • [SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2]Form1_Load() - END.
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
    [/SIZE]
[SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2]If not, let me know what the last message box you see is, that should help isolate the problem.

I believe you have just switched to Win7, I have not upgraded yet, so cannot re-create the problem.
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
[/SIZE]
7ore
Offline

Senior Member

Posts: 598
Threads: 68
Joined: Mar 2006
#8
2010-01-11, 09:35 PM
I have only tried this as standalone.
This one starts, both normal and as a administrator.
And the last message is Form1_Load() - Step 3.
But when run as admin, I also get the END when I close the app.

It is possible to edit the db as a administrator with this version. But as a "Normal user", I get the exception below. Looks like I have no right to edit the db.

************** Exception Text **************
System.Data.SQLite.SQLiteException: Attempt to write a read-only database
attempt to write a readonly database
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteTransaction..ctor(SQLiteConnection connection, Boolean deferredLock)
at System.Data.SQLite.SQLiteConnection.BeginTransaction(Boolean deferredLock)
at System.Data.SQLite.SQLiteConnection.BeginTransaction()
at WizPlugin.MovieWizCore.SaveMovieByCategoriesArray(ArrayList list)
at WizPlugin.MovieWizConfigForm.cmdSaveSort_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#9
2010-01-13, 06:03 AM
Can you try this version of MovieWizManager.exe. Copy it to your plugins/MovieWiz directory. Run it, then zip and post the logfile (plugins/MovieWiz/logs/MovieWizManager.exe.log)
7ore
Offline

Senior Member

Posts: 598
Threads: 68
Joined: Mar 2006
#10
2010-01-13, 07:06 PM
I just made a super simple test. Started it as a standalone, changed a category, saved and closed. Then I did the same from inside config.exe. And it worked perfect both ways. When I started as standalone, I got the security clearance dialog and after that it worked as expected.
Perfect!

I add the log as requested, if there is some confirmation you want to do.
The file is only from the standalone run.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  MovieWiz movie folder structure? jfm 5 7,011 2011-03-13, 07:47 PM
Last Post: dljones8053
  MovieWiz: no movie data ga_mueller 6 7,760 2011-01-12, 01:22 AM
Last Post: ga_mueller
  A couple of problems with MovieWiz Lookups JP23 2 5,627 2010-05-19, 12:55 AM
Last Post: ga_mueller
  MovieWiz Descriptions now short Jaggy 3 5,617 2010-04-25, 04:01 PM
Last Post: JavaWiz
  MovieWiz: Wishlist 7ore 2 2,591 2010-02-25, 07:02 AM
Last Post: 7ore
  MovieWiz support for mymovies.xml file? daneo 42 18,979 2010-02-24, 04:31 AM
Last Post: 7ore
  MovieWiz - Plot field not being found/displayed JuicyFruits 4 2,715 2010-02-24, 04:20 AM
Last Post: JavaWiz
  Moviewiz not getting IMDB ratings. JP23 5 3,655 2010-02-23, 08:41 PM
Last Post: tbeaux
  Exception when folding / language hype 3 2,396 2010-02-22, 05:21 AM
Last Post: JavaWiz
  MovieWiz - Offline Import & Images meccano 8 3,957 2010-02-08, 01:48 PM
Last Post: meccano

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode