[V4MD] Loaddump and error 2

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Oct 1 16:02:15 CDT 2003


on 10/1/03 3:57 PM, Steven Ophalvens at silversoft at skynet.be wrote:

>> But as I understand you HAVE db and you want make its dump, yes?
> 
> I allready had my Dump made, so I have a nice XML file :)
> 
>> Then you need at first call Dump(),
>> This will make for you XML file
> 
>> Then you need close your db,
>> Kill its instance
>> Create new instance
>> And then only
> 
>>    LoadDump( newDB, ... )
> 
> I got somewhat further now, but now the error I get is error 8
> I changed my code to this :
> 
> -------------------------------
> -------------------------------
> on LoadDumpvDB
> 
> 
> ValentinaInit(4 * 1024 * 1024, MacValSerial, WinValSerial)
> ValentinaDebugLevel(2)
> 
> lValDB = new(xtra "VDataBase")
> lValDB.setStructureEncryption(mCreateDatabasePWD())
> 
> LoadDump(lValDB, the moviepath & "rdkVDBDump.xml",the moviepath &
> "rkvdb_new.vdb",2)
> 
> end LoadDumpvDB
> -------------------------------
> -------------------------------
> 
> My output is :
> 
> * V4MD *: InitValentina...done
> * V4MD *: ValentinaSetDebugMode...done
> * V4MD *: new VDatabase...* V4MD *: new VDatabase...done
> * V4MD *: DB_SetStructureEncryption...done
> * V4MD *: DB_LoadDump...error 8
> * V4MD *: VDatabase_Destroy
> ...
> 
> Any Ideas?

1) error 8 is -- not enough storage to process this command.
    May be you have full HDD ?


2)
Try remove lValDB.setStructureEncryption() BEFORE LoadDump().
At first make Load, then encrypt db file.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list