[LDTP-Dev] setappmap is not working (NameError: name 'setappmap' is not defined()

Mauricio Lin mauriciolin at gmail.com
Mon Oct 31 06:32:23 PST 2005


Hi,

On 10/29/05, Prashanth Mohan <prashmohan at gmail.com> wrote:
>
> On Fri, 2005-10-28 at 17:10 -0400, Mauricio Lin wrote:
> > Hi all,
> >
> > I was trying to use the setappmap function but it is not being found.
>
> seems that the implementation part has been removed


So there is no setappmap function anymore, right?

>
> > This problem happens for 0.2.0 and 0.2.1 versions.
> >
> > ***************************************************************
> > from ldtp import *
> > from ldtputils import *
> > import sys, string, os
> >
> > ...
> > initappmap('%s/gpdf_2.map' % os.getcwd())
> >
> > ... more code here
> >
> > setappmap('%s/gpdf_3.map' % os.getcwd())
> >
> > ***************************************************************
> >
> > Look the error.
> >
> > Traceback (most recent call last):
> > File "./gpdf_3.py", line 38, in ?
> > setappmap('%s/gpdf_3.map' % os.getcwd())
> > NameError: name 'setappmap' is not defined
> >
> > The setappmap function is presented at API reference
> > (http://gnomebangalore.org/ldtp/index.php/API_Reference)
> >
> > Any idea?
> >
> > BR,
> >
> > Mauricio Lin.
> > _______________________________________________
> > Ldtp-dev mailing list
> > Ldtp-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
> --
> Prashanth Mohan <prashmohan at gmail.com>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
>
> iD8DBQBDYyhgVlZ1FOS28hIRAnugAKChR8ibrpES4FoE/ewPgZlFgKYd2QCgwlZB
> 0ZCCd7Y80Y+tqOMaWuyF4XQ=
> =xYi4
> -----END PGP SIGNATURE-----
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20051031/de43dc0a/attachment.html


More information about the Ldtp-dev mailing list