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

Prashanth Mohan prashmohan at gmail.com
Thu Nov 3 03:04:10 PST 2005


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 :-)
> 
> 
>         >
>         > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/ldtp-dev/attachments/20051103/8521da4c/attachment.pgp


More information about the Ldtp-dev mailing list