Re: [webmin-devel] Using Inline in a Webmin module

Chris Nighswonger <[email protected]> Fri, 8 Mar 2013 10:21:18 -0500
Newsgroups gmane.comp.web.webmin.devel
Message-ID <CAP3yOomSXF_Pn7PO6Dg3Tnp4d3xnmJ729cU1aNNaYsN2CC2Xww@mail.gmail.com>
On Fri, Mar 8, 2013 at 9:19 AM, Chris Nighswonger
<[email protected]> wrote:
> On Fri, Mar 8, 2013 at 8:07 AM, Chris Nighswonger
> <[email protected]> wrote:
>
> It may be something with miniserv rather than Webmin proper. I can
> write a script which does not load/require any code related to Webmin
> or my module, but uses Inline in the same fashion. This script will
> also run from the cli, but errors in the exact same way when served by
> miniserv.

Sorry for replying to myself again.

Things appear to go bad with the eval block here:

https://github.com/webmin/webmin/blob/master/miniserv.pl#L2337

So I'm guessing that its a problem with the environment in which the
eval is executed. Though what it is, I am unsure.

Kind Regards,
Chris

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel