Reply to topic  [ 7 posts ] 
V2.1 won't load last used database. 
Author Message
Extra
User avatar

Joined: Mon Feb 11, 2008 12:39 pm
Posts: 19
Post V2.1 won't load last used database.
Hi all! :D

I can't make the last version (2.1) load the last opened base.
Moreover the program ask to backup the base (even an empty one) at each start. :lol:

I've followed the instructions about the movinizer.ini from v2.0 to be placed in the new "script" folder,
I've deleted the registry entries several times,
It just won't load the base I used when I last closed the program :(

I'm using the "portable.bat" as a launcher.

Any clues :?:

Thanks
llimimill

PS : will update the french.lng in a few days... :roll:


Fri Aug 28, 2009 9:25 pm
Profile
Black Belt Squirrel
User avatar

Joined: Fri Feb 20, 2009 3:34 pm
Posts: 1096
Location: France
Post Re: V2.1 won't load last used database.
Hello llimimill,

I'v checked portable version without any pb, i've :
- unzipped v2.1 over v2.0 (same folder, files replaced)
- downloaded and unzipped latest scripts (imdb_movie.pas and JeF_program.pas) in scripts folder of portable version
- started Movienizer, said no to save database question : database updated ok (structure upgrade)
- changed user interface to JeF without any pb
- restarted portable version : all is ok

What could i say more to help ?
- I've not modified or copied Movinizer.ini in any way before or after v2.1 install
- focus on the fact I've downloaded latest scripts

Quote:
PS : will update the french.lng in a few days...
If you said 'update' for 'upload' French.lng for v2.1, it is already on line : see Movienizer 2.1 in French

Hope this will help ;)
JeF


Sat Aug 29, 2009 8:53 am
Profile
Extra
User avatar

Joined: Mon Feb 11, 2008 12:39 pm
Posts: 19
Post [half solved] Re: V2.1 won't load last used database.
Hi All!

Thanks Jef for your response but I still had the problem! I've found the solution in the portable.bat script : I've erased everything except the "moviniezer /portable" instruction of course ;)

Maybe this will help for future cases. Those are the tests i've done :
The base was located on another drive than the program: copied the .dmo file into the same folder and everything on the desktop to simplify the paths.
The program created a my_base_name.dmo file with 0 octets, and a my_base_name.dmo-journal of 20 octets in the program folder.
The program aslo created a copy of the base and the "cover" folder at the root of my C drive. These one was 0 octet in size too.
When trying to put my base into the program's directory, it won't load anything but the empty base on my root c drive on each restart, even if I load my good base!

I think the "pdrive" variables in the batch file don't get the right info on the location of the program. I must say that my program file path contains spaces and a "!". :oops:

Hope this helps.

llimimill


Sat Sep 05, 2009 10:16 pm
Profile
Black Belt Squirrel
User avatar

Joined: Fri Feb 20, 2009 3:34 pm
Posts: 1096
Location: France
Post Re: V2.1 won't load last used database.
Hello llimimill,

The first lines in portable.bat are to extract database directory and filename, no problem whith that.
But this portable.bat assumes it faces a full portable instance of your movienizer collection (program + database) : typically, both are on the same removable disk (ext HDD or USB Key) which drive letter could change when you plug it in other PCs...( sometimes E:,sometimes F:, and so...)
So it assumes that the Database is on the same drive as the Movienizer .exe which is being run, whatever the drive letter is !

Here is an extended version with the ability to set only the program as portable and keep full database path from Movienizer.ini file.
In your case :
- coment the first line with /portable (type REM at the begining of line)
- uncomment the second line with /portable (delete REM at the begining of line)

This should work as you expected ;) (let me know)
JeF

Edit : Obsolete File removed


Sun Sep 06, 2009 9:38 am
Profile
Passerby

Joined: Fri Sep 18, 2009 4:19 pm
Posts: 3
Post Re: V2.1 won't load last used database.
the same problem
when open movienizer second time it copy database to the root of drive and cover folder and always start from this database

try the new portable.bat but the same problem
try change dbpath in setting.ini to the program path put when restart the setting.ini change with it self again to f:\ (i dont know why?)
Note: every try i delete any line with movinizer in regedit
thanks jaf


Sat Sep 19, 2009 5:23 pm
Profile
Extra
User avatar

Joined: Mon Feb 11, 2008 12:39 pm
Posts: 19
Post Re: V2.1 won't load last used database.
JeF,
Sorry for the delay.
I've just tested build 80's portable.bat (REM the 1rst line and unREM the second) and it doesn't work! :(
If I open a base on, say, drive E:, close MovieNizer, re open it, the base is empty! The program has created a dmo file with the same base name in it's "installed" directory and open this file, wich is empty!

If I remember right, it used to work with a less sofisticated "portable.bat" launcher. I'll stick with that for now... :(

kind regards!


Tue Oct 06, 2009 7:50 pm
Profile
Developer
User avatar

Joined: Wed Jan 23, 2008 11:37 am
Posts: 2535
Post Re: V2.1 won't load last used database.
llimimill, does Movienizer erase the existing database, or does it simply create a database with the same name? What is the size of such database? Do you have some logs in \Movienizer\logs\ ?

_________________
ImageImage


Wed Oct 07, 2009 10:23 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.