Re: [Zope-dev] import error in python2.6

2008-07-21 Thread Lennart Regebro
On Mon, Jul 21, 2008 at 15:56, Bristow Thankachan
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I asked about the import error in python2.6 while trying to port zope2. The
> error message is given below.
>
>  File "/home/zope/ztrunk26/lib/python/AccessControl/ImplC.py", line 30, in
> 
> from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
> ImportError: No module named ImplPython
>
> It works well in python2.4 and 2.5. Please give your suggestions.

ImplPython is a python module in Zope. It likely has some sort of
syntax error under 2.6 that is not a syntaxerror under 2.5, so the
import fails, or the C-modules that it uses fail it's compile during
setup, so import of them failed.

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] import error in python2.6

2008-07-21 Thread Bristow Thankachan
Hi all,

I asked about the import error in python2.6 while trying to port zope2. The
error message is given below.

 File "/home/zope/ztrunk26/lib/python/AccessControl/ImplC.py", line 30, in

from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
ImportError: No module named ImplPython

It works well in python2.4 and 2.5. Please give your suggestions.

with regards

Bristow
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] import error in python2.6

2008-07-21 Thread Baiju M

Bristow Thankachan wrote:

Hi all,

During the porting of Zope2, I am stuck with import errors in many 
modules. The same code works well in python2.5 and 2.4. Can anybody 
give the details of this import error in python2.6 and how to get the 
error corrected?


Please provide details about failure.   Please don't send these kind of 
mails to python-dev list,

this will be off-topic there.

Regards,
Baiju M

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] import error in python2.6

2008-07-21 Thread Bristow Thankachan
Hi all,

During the porting of Zope2, I am stuck with import errors in many modules.
The same code works well in python2.5 and 2.4. Can anybody give the details
of this import error in python2.6 and how to get the error corrected?

with regards

Bristow
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )