469,935 Members | 1,466 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,935 developers. It's quick & easy.

HELP - Attribute Error, no matter what I do on PAMIE...

Greetings all. I'm new to PAMIE and I've watched / followed to PAMIE
videos on Show me Do. I've tried to duplicate the "scriptWrite"
function in an attempt to automate the forms process... without
success.

Can someone PLEASE Assist!?

I'm using the following code....

from cPAMIE import PAMIE
#Imports - used to setup / control finding files
import time
import os
import sys
import cReport
#import elementtree.ElementTree as ET

#Create New Pamie Object
ie=PAMIE()
ie=Visible =1
t=time

ie=PAMIE ()

ie.navigate ('http://bir1edptest2/iswebcommander/fi/default.aspx')
ie.scriptWrite()
And getting the following error....

Atribute Error:<unknown>.nameProp
File "C:\PYCODE\scriptWrite TEST.py", line 19, in ?
ie.scriptWrite()
File "C:\Python24\Lib\site-packages\cPAMIE.py", line 1837, in
scriptWrite
nameProp = getattr(x,"nameProp")
File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line
496, in __getattr__
raise AttributeError, "%s.%s" % (self._username_, attr)

Jul 31 '08 #1
1 1263
On Aug 1, 1:00*am, frankrentef <frankren...@yahoo.comwrote:
Greetings all. I'm new to PAMIE and I've watched / followed to PAMIE
videos on Show me Do. I've tried to duplicate the "scriptWrite"
function in an attempt to automate the forms process... without
success.
I haven't seen the video, bt by "duplicate the 'scriptWrite' function"
do you mean you've implemented that yourself? I couldn't any such
function in the PAMIE code.

If so, could you throw that code into http://pastebin.com/ and link
back to it here? That might help us with finding the problem.
Aug 1 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by calfdog | last post: by
7 posts views Thread by mike | last post: by
9 posts views Thread by mike | last post: by
6 posts views Thread by drec | last post: by
14 posts views Thread by brett | last post: by
4 posts views Thread by frankrentef | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.