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

Mauricio Lin mauriciolin at gmail.com
Thu Nov 3 06:57:30 PST 2005


Hi,

On 11/3/05, Prashanth Mohan <prashmohan at gmail.com> wrote:
>
> On Mon, 2005-10-31 at 10:32 -0400, Mauricio Lin wrote:
> > 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?
>
> seems so.. But i think its best to wait for Nags/prem to come back from
> their holiday to comment on this :-)


OK. Let' s wait for Nags/Prem.

>
> >
> > >
> > > 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-----
> >
> >
> >
> --
> Prashanth Mohan
> http://nerd.co.in/~prash/wordpress
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
>
> iD8DBQBDae6qVlZ1FOS28hIRAlJRAJ42NPa7WxSvcQkQ2HiPQV/+AKD8fQCgrs4h
> zBzg/Wc6tZ9k1Kx7UQeM6CI=
> =NLyI
> -----END PGP SIGNATURE-----
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20051103/6436b3b1/attachment.html


More information about the Ldtp-dev mailing list