[Zope-Perl] Re: Python pyperl

anand d andzonline at rediffmail.com
Fri Mar 31 01:01:40 EST 2006


hi,

Your pyperl 1.0.1c is working perfect ,Thankz

However we encountered a certain error which has abruptly stopped our Progress.

When a module is required ,
we use perl.require(module)
and the function in that module can be directly used with command
perl.call(function).

This was working fine for some time , when suddenly pyperl started giving error that it could not find the function even though the required module was loaded . 


>>> perl.require("POSIX")
1
>>> x=perl.call('import') # import is a function in POSIX.pm
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
perl.PerlError: Undefined subroutine &main::import called.



It seems it is not able to find the function and by default searches in "&main"

The error occured just after we restarted Zope.Before this, it was working fine.We guess it might have to do something with the path environment set for perl.
We were up all nite trying to figure out a soultion but in vain.
plz help us out.


Anand 
GNOWSYS TEAM

On Sun, 26 Mar 2006 Felix Schwarz wrote :
>
>anand  d wrote:
> > I am using Debian as OS and pyperl version 1.0.1
>
>1.0.1 or 1.0.1c? You need 1.0.1c.
>
> > On Fri, 24 Mar 2006 Felix Schwarz wrote :
>...full quote snipped...
>
>Please read http://learn.to/quote
>Thank you very much.
>
>--
>Felix
>
>_______________________________________________
>Zope-perl maillist  -  Zope-perl at zope.org
>http://mail.zope.org/mailman/listinfo/zope-perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-perl/attachments/20060331/93b4aac9/attachment.htm


More information about the Zope-perl mailing list