[Zope-CMF] export/import problem

Memo Rishel illieusion@yahoo.com
Sat, 16 Feb 2002 11:08:16 -0800 (PST)


Thank you for your valuable tips!

I am developing on a W2k machine and exporting
for import on a unix hosting site.

With your suggestions I was able to sort the matter
out:
1. I changed the file system path properties of
the folders under the skins directory to having
forward slashes. The forward slashes work on both
my windows box and on the unix system (so should
be the default for a new CMF instance on Windows,
yes?).
2. The second issue I had was that my CMF* products
were installed in INSTANCE_HOME/lib/python/Products,
and I had to move them to INSTANCE_HOME/Products
to match the unix host

Thanks,
Bill Rishel



--- Yuppie <schubbe@web.de> wrote:
> Hi!
> 
> Memo Rishel wrote:
> > I am developing a CMF-based website on my local 
> > machine and then putting it on a hosting site
> (Imeme).
> > The problem I am having is that when I export the
> > CMF site and then import it on the hosting site
> > it doesn't work as is. The reason is that many
> > files in the portal skins directory such as the
> > zpt_generic files are not included in the export.
> 
> Default skin directories are never included, they
> are 'Filesystem 
> Directory Views'.
> 
> On your local system, have a look at 'Properties' of
> zpt_generic. If 
> your local system is windows, your 'Filesystem path'
> is 
> 'Products\CMFDefault\skins\zpt_generic'.
> 
> I reported this to already to the Tracker: 
> http://www.zope.org/Products/PTK/Tracker/466/1
> 
> Meanwhile I found this:
> http://cvs.zope.org/CMF/CMFCore/DirectoryView.py
> 
> Revision 1.14 note says:
> "Enable use of Data.fs from unix on windows: when
> normalizing paths, do
> more to normalize for the platform.  (We'll need to
> add a bit more to
> work in the other direction.)"
> 
> Workaround:
> Start with the site on unix or change 'Filesystem
> path' on your windows 
> system to 'Products/CMFDefault/skins/zpt_generic'
> 
> yuppie
> 
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug
> reports and feature requests


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com