Re: [webmin-devel] Using Inline in a Webmin module
Chris Nighswonger <[email protected]> Fri, 8 Mar 2013 08:07:11 -0500
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <CAP3yOonpkSA6eNgcHjFaGUmFcZeU_tTydt5jxDmebod_+3W4vg@mail.gmail.com> |
On Thu, Mar 7, 2013 at 1:45 PM, Jamie Cameron <[email protected]> wrote: > > On 07/Mar/2013 09:57 Chris Nighswonger <[email protected]> wrote .. <snip> > > > > "Can't locate object method "new" via package "FooBar" (perhaps you forgot > > to load "FooBar"?)" > > > > Where "FooBar" is the Perl name for a Python class "foobar". <snip> > > It could be that Webmin is modifying @INC, such as when you call code > in another Webmin module. You mentioned that this only happens when you > call the webmin pre-reqs .. which specific line of code triggers the problem? It happens when I call init_config() A brief reading of that sub seems to indicate plenty of potential for some sort of change which would result in the problem I'm seeing. Exactly what it is, I don't know. 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