[Modeling-users] Modeling on Windows with Zope
Status: Abandoned
Brought to you by:
sbigaret
|
From: Vladimir <vla...@gu...> - 2003-10-27 17:53:01
|
OK, I'm again here.
Sebastien helped me to install prodacts "ZModelizationTool" and =20
"ZEditingContextSessioning" but products "ZModelManager" and=20
"ZClassDescriptionManager" still remain broken. About those broken=20
products I've got these error messages from Zope server:
Import Traceback
Traceback (most recent call last):
File "C:\Zope262\lib\python\OFS\Application.py", line 522, in import_pr=
oduct
product=3D__import__(pname, global_dict, global_dict, silly)
File "C:\Zope262\lib\python\Products\ZModelManager\__init__.py", line 3=
3, in ?
import ZModelManager
File "C:\Zope262\lib\python\Products\ZModelManager\ZModelManager.py", l=
ine 43, in ?
from Interface import verify_class_implementation
ImportError: cannot import name verify_class_implementation
Import Traceback
Traceback (most recent call last):
File "C:\Zope262\lib\python\OFS\Application.py", line 522, in import_pr=
oduct
product=3D__import__(pname, global_dict, global_dict, silly)
File "C:\Zope262\lib\python\Products\ZClassDescriptionManager\__init__.=
py", line 29, in ?
import ZClassDescriptionManager
File "C:\Zope262\lib\python\Products\ZClassDescriptionManager\ZClassDes=
criptionManager.py", line 42, in ?
from Interface import verify_class_implementation
ImportError: cannot import name verify_class_implementation
So, if somebody knows how to solve this problem....
Regards,
Vladimir
> Vladimir,
>
>if you do not mind, I'd prefer if you could mail directly to the mailing=
-list
>instead of
>privately to me, so that others having the same kind of problems in the
>future can find some hints in the archives. Thanks!
>
> BTW: the short answer is: you need egenix mxDateTime.
>See the Installation guide at http://modeling.sourceforge.net/ for its u=
rl.
>
> Hope this helps,
>-- S=E9bastien.
>> Hi, Sebastien,
>> I've tried again and the product ZEditingContextSessioning is now=20
>> installed OK. But other products (ZModelizationTool, ZModelManager and
>>=20
>> ZClassDescriptionManager) remain broken. I've got this error message=20
>> from Zope:
>>=20
>>=20
>> Import Traceback
>>=20
>> Traceback (most recent call last):
>> File "C:\Zope262\lib\python\OFS\Application.py", line 522, in
>> import_product
>> product=3D__import__(pname, global_dict, global_dict, silly)
>> File "C:\Zope262\lib\python\Products\ZModelizationTool\__init__.py",
>> line 28, in ?
>> import ZModelizationTool
>> File
>> "C:\Zope262\lib\python\Products\ZModelizationTool\ZModelizationTool.py=
",
>> line 40, in ?
>> from Modeling.Entity import Entity
>> File "C:\Zope262\lib\python\Modeling\Entity.py", line 37, in ?
>> from Attribute import Attribute
>> File "C:\Zope262\lib\python\Modeling\Attribute.py", line 58, in ?
>> from mx.DateTime import DateTime, DateFrom
>> ImportError: No module named mx.DateTime
>>=20
>> Is it something wrong with the Zope version? I have Zope-2.6.2
>>=20
>> Regards,
>> Vladimir
>>=20
>>=20
>>=20
>> Sebastien Bigaret wrote:
>>=20
> =20
>
>>> > Hi Vladimir,
>>> >
>>> >Vladimir <vla...@gu...> wrote:
>>> > =20
>>> >
>> =20
>>
>>>> >>Hi to everyone!
>>>> >>I'm new to Modeling so I'll need lot of help....
>>>> >>I was looking for a tool in Zope envirenment, which should be able=
to
>>> =20
>>>
>> use
> =20
>
>>>> >>complex queries on two or more tables in a database. Modeling seem=
s
>>>> >>interesting and so I decided to try it.
>>>> >>Sebastien helped me to install it on windows:
>>>> >>=09
>>>> >>http://modeling.sourceforge.net/download/ModelingCore-0.9-pre-15.w=
in32.exe
>>>> >>http://modeling.sourceforge.net/download/NotificationFramework-0.6=
.win32.exe
>>>> >>But now I have this problem: How to make it working in Zope
>>> =20
>>>
>> environment?
> =20
>
>>>> >>Unfortunately the Modeling installation wizard can not find the
>>> =20
>>>
>> Zope's
> =20
>
>>>> >>python installation and by default installs it in other python
>>> =20
>>>
>> installation
> =20
>
>>>> >>directory.
>>>> >> =20
>>>> >>
>>> =20
>>>
>>> >
>>> >For the MDL-core, you should copy the
>>> >lib/python2.1/site-packages/Modeling into your Zope installation, in
>>> >lib/python2.1/site-packages/ also.
>>> >
>>> >For the tools, such as the ZModelizationTool, download and untar the
>>> >archive, and move the directories ZModelizationTool/ and
>>> >ZEditingContextSessioning/ into Zope's Products directory
>>> >(lib/python/Products/).
>>> >
>>> > In case this does not work, it would help a lot if you could send
>> =20
>>
>> the
> =20
>
>>> > error messages written by Zope.
>>> >
>>> > Now, could you elaborate on what you intend to do w/ Zope & the
>> =20
>>
>> MDL?
> =20
>
>>> >For the moment being, the ZModeler and the ZEditingContextSessioning
>> =20
>>
>> are
> =20
>
>>> >the only products available for Zope. This means in particular that
>> =20
>>
>> you
> =20
>
>>> >won't get a running product out-of-the-box to query your database,
>> =20
>>
>> based
> =20
>
>>> >on the model ; you'll need to design your own products for that. We
>>> >can discuss this if you want to.
>>> >
>>> >-- S=E9bastien.
>> =20
>>
|