From: Chris N. <cni...@fo...> - 2013-03-08 18:36:10
|
On Fri, Mar 8, 2013 at 1:07 PM, Jamie Cameron <jca...@we...> wrote: > On 08/Mar/2013 07:21 Chris Nighswonger <cni...@fo...> wrote .. >> >> 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? I thought the same thing. So I ran a one-liner from the cli doing and eval and forcing a package change. Sure enough: it threw the same error. Sadly, though, when I commented out the package change in miniserv, it still borked. Also, when using the very simple script in which the actual Python was embedded, forcing a package change made no difference. The simple script worked either way. Kind Regards, Chris |