Re: [Boa Constr] ZOA.zexp can't be imported?
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2002-03-05 18:40:10
|
Hi Brian, Brian Wisti wrote: > > Hi all, > > I just installed Boa 0.1.0 yesterday, and I must say that I am _very_ > impressed. This is one awesome development environment, and I can't > wait to see it develop further! Thanks! Which areas would you like to see developing further? > > There is, however, one tiny problem. I'm trying to set Boa up for > working with my Zope pages, and wasn't able to get past the "import > ZOA" error message. Eventually the words connected together in my > head, and I placed the zoa.zexp file into Zope's import directory. > The thing is, import doesn't want to work. I'll copy and paste the > respective error message here. Yes this is what you should do. I not sure why your import failed, but traceback mentions Products. Did you try to import it into the Products folder? If so, this is wrong. It's not a Product, it's a simple folder object containing other folders and python scripts. You must import it in your Zope root folder. BTW, the Zope side support used to be just the one Python script called ZOA that you read about in the archives, this was refactored into the folders and scripts described above. It used to be automatically installed, but I have not yet updated the code to handle multiple Zope object installs. So it is an import for now. HTH, Riaan. |