[Zope] Importing a site with missing products
Dale Strickland-Clark
zope at d.strickers.org.uk
Fri Jul 14 05:41:27 EDT 2006
I decided to install mxODBC but there isn't one for my combination of Zope and
Python versions so I'm now off on an unplanned upgrade trail...bum!
Thanks for the help.
On Thursday 13 July 2006 22:47, Dieter Maurer wrote:
> Dale Strickland-Clark wrote at 2006-7-13 09:48 +0100:
> >I need to duplicate (for testing) a site currently running on Windows on
> > to Linux.
> >
> >This isn't a big deal. I've done the reverse direction without grief.
> >
> >However, on this occasion, I want to change the database connector from MS
> > SQL Server to (mxodbc) to PostgreSQL (zpsycopgda) .
> >
> >Having exported the live site, I am unable to import it again in the test
> >environment because of the following errors:
>
> You can only import a zexp when all modules and classes referenced in the
> "zexp" are available in the importing instance.
>
> What you want to do is not possible.
>
>
> Your options:
>
> * Install "ZmxODBC" in the destination instance (I can run under Linux,
> too)
>
> * Install "ZPsycopgDA" in the source instance, change
> your DA's to use "ZPsycopgDA".
>
> * Export and import
>
> * maybe, change your DAs back to the previous state.
--
Dale Strickland-Clark
Riverhall Systems Ltd - www.riverhall.co.uk
London UK
More information about the Zope
mailing list