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

Prashanth Mohan prashmohan at gmail.com
Sat Oct 29 00:44:33 PDT 2005


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
> 
> 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>
-------------- 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/20051029/888e2ed6/attachment.pgp


More information about the Ldtp-dev mailing list