new serialization code problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

new serialization code problem

Ferdinando M. Ametrano-3
Hi Eric

I've just checked out your last serialization code changeset and using
boost 1.44 and VC9 even the most simple serialization attempt fails
with broken files:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="7">
<object_list class_id="0" tracking_level="0" version="0">
        <count>1</count>
        <item_version>1</item_version>
        <item class_id="1" tracking_level="0" version="1">
                <px</boost_serialization>

should we revert the changeset until the problem is fixed ?

ciao -- Nando

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: new serialization code problem

eric ehlers
Hi Nando,

Yes you can revert the changeset, sorry for the trouble.

I'll have a look this weekend. I tested it before and it looked OK so I'd be grateful if you could send me a test case to recreate the problem.

Thanks,
Eric
------Original Message------
From: Ferdinando Ametrano
Sender: Ferdinando Ametrano
To: Eric Ehlers
To: QuantLib Mailing Lists
Subject: new serialization code problem
Sent: Nov 9, 2010 16:05

Hi Eric

I've just checked out your last serialization code changeset and using
boost 1.44 and VC9 even the most simple serialization attempt fails
with broken files:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="7">
<object_list class_id="0" tracking_level="0" version="0">
        <count>1</count>
        <item_version>1</item_version>
        <item class_id="1" tracking_level="0" version="1">
                <px</boost_serialization>

should we revert the changeset until the problem is fixed ?

ciao -- Nando


--   BlackBerry® from Mobistar    ---
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: new serialization code problem

Ferdinando M. Ametrano-3
On Tue, Nov 9, 2010 at 5:08 PM, eric.ehlers <[hidden email]> wrote:
> I'll have a look this weekend. I tested it before and it looked OK so
> I'd be grateful if you could send me a test case to recreate the problem.

just creating a SimpleQuote and serializing it returns the error
"ohObjectSave - unregistered class - derived class not registered or
exported"

anyway I've committed
trunk\QuantLibXL\Workbooks\Bugs\SerializationBug.xls just in case you
need it

ciao -- Nando

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev