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

F

frankrentef

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)
 
A

alex23

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top