Re: [webmin-devel] Using Inline in a Webmin module
"Jamie Cameron" <[email protected]> Fri, 08 Mar 2013 10:07:59 -0800 (PST)
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <[email protected]> |
On 08/Mar/2013 07:21 Chris Nighswonger <[email protected]> wrote .. > 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. Perhaps forcing a change of package (as happens in that block) is the cause of the problem? - Jamie ------------------------------------------------------------------------------ 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