failed to import external python module

David Hláčik david at hlacik.eu
Wed Jun 18 14:05:36 UTC 2008


Hello Julien, thank you very much, i will sent them as soon i will return
back home!

Regards,

D.

On Tue, Jun 17, 2008 at 11:17 PM, Julien ÉLIE <julien at trigofacile.com>
wrote:

> Hi David,
>
>  Everything work fine ,except i cant import my custom module named pdg.py.
>> Module is located in same directory as nnrpd_auth.py and nnrpd_access.py
>> I will import it on top of the file using import pdg.py, but still i cant
>> use it.
>>
>
> "import pdg" (and not "import pdg.py") I assume, according to one of your
> previous mails.
>
>
>  Import is fine, but first call of method inside this module will
>> stop with result in lod ... mod_auth.py returned wrong result.
>>
>
> Could you please send me the scripts you use? (either in this mailing-list
> or in private)
> or if you have a minimal sample which does not work, you can also post it
> so that we can see where the problem comes from.
>
> --
> Julien ÉLIE
>
> « C'est comme chercher une aiguille dans du foin en bottes ! »
>  (Jolitorax)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/inn-workers/attachments/20080618/eabc8874/attachment.html>


More information about the inn-workers mailing list