<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/pamie/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/pamie/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/pamie/bugs/</id><updated>2014-12-12T16:31:08.386000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#26 PAMIE 3a getElementsByTagName(tag) </title><link href="https://sourceforge.net/p/pamie/bugs/26/?limit=25#930c" rel="alternate"/><published>2014-12-12T16:31:08.386000Z</published><updated>2014-12-12T16:31:08.386000Z</updated><author><name>Rob Marchetti</name><uri>https://sourceforge.net/u/rmarchetti/</uri></author><id>https://sourceforge.netb7ba9774bd27ad741a20a95c0a0a25d0f19e8099</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Looking into the getElementsByTagName() takes exactly 1 positional argument (2 given)  issue - will post when it is resolved&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PAMIE 3a getElementsByTagName(tag) </title><link href="https://sourceforge.net/p/pamie/bugs/26/" rel="alternate"/><published>2012-08-30T08:40:33Z</published><updated>2012-08-30T08:40:33Z</updated><author><name>Raveesh</name><uri>https://sourceforge.net/u/spaniard81/</uri></author><id>https://sourceforge.net594c22f35cfcf326e33e1eb749d4a1034b383b9a</id><summary type="html">I'm trying to execute the instructions that you have provided here: http://mail.python.org/pipermail/python-announce-list/2009-March/007279.html

I have the exact versions of Python and win32python as suggested by you: Python 3.0.1 \(r301:69561, Feb 13 2009, 20:04:18\) \[MSC v.1500 32 bit \(Intel\)\] on win32

but on executing the simple code, i get the following errors:

Traceback \(most recent call last\):
File "testPAM.py", line 10, in &amp;lt;module&amp;gt;
ie.setTextBox\("q", "python"\)
File "C:\Users\raveesh\Dropbox\myCode\SSSB\PAM30.py", line 2093, in setTextBox
foundElement = self.getTextBox\(name\)
File "C:\Users\raveesh\Dropbox\myCode\SSSB\PAM30.py", line 1717, in getTextBox
foundElement = self.findElement\("input", "id;name;value", name\)
File "C:\Users\raveesh\Dropbox\myCode\SSSB\PAM30.py", line 445, in findElement
elements = self.getElementsList\(tag\)
File "C:\Users\raveesh\Dropbox\myCode\SSSB\PAM30.py", line 939, in getElementsList
elements = self.\_ie.Document.getElementsByTagName\(tag\)
TypeError: getElementsByTagName\(\) takes exactly 1 positional argument \(2 given\)

The bug has also been reported on http://stackoverflow.com/questions/11580340/typeerror-with-pamie, but with no solution\!
Could you see what it the issue? I am running Win7, 64 bit, Intel</summary></entry><entry><title>can't get the object using getLink function</title><link href="https://sourceforge.net/p/pamie/bugs/25/" rel="alternate"/><published>2010-05-02T16:32:13Z</published><updated>2010-05-02T16:32:13Z</updated><author><name>Eric</name><uri>https://sourceforge.net/u/renyuf2004/</uri></author><id>https://sourceforge.net9c03fcc47a5efaca56f0b65ac7d38b0d26395d6d</id><summary type="html">Try to identify a hyperlink using getLink function. If the innerText is ascii everything is Ok, but if the innerText is Chinese\(I'm not suret about other lanuage\), this function returns None.

from PAM30 import PAMIE
ie=PAMIE\('www.baidu.com'\)
ie.getLink\('hao123'\)
ie.getLink\('空间'\)   \# this one returns None, but there's a innerText "空间" . 

This root cause is in PAM30.py line 465. I'm not sure how to fix.</summary></entry><entry><title>Frame not identified.</title><link href="https://sourceforge.net/p/pamie/bugs/24/" rel="alternate"/><published>2010-04-21T12:16:39Z</published><updated>2010-04-21T12:16:39Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netec79ff95d61040d81db57522c9e0d4c39f98704a</id><summary type="html">&amp;gt;&amp;gt;&amp;gt; ie.getFramesValue\(\)
\[u'', u'resultFrame',u'genericFrame'\]
getframe returns an unknown COM object.
&amp;gt;&amp;gt;&amp;gt; ie.getFrame\('resultFrame'\)
&amp;lt;COMObject &amp;lt;unknown&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt;</summary></entry><entry><title>PAM 30's  sys.path.append</title><link href="https://sourceforge.net/p/pamie/bugs/23/" rel="alternate"/><published>2009-06-05T07:22:29Z</published><updated>2009-06-05T07:22:29Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete2f982f6503e34e9365b3c4bb9ea020188e959e4</id><summary type="html">in the PAM30 ,there is "sys.path.append\(r'c:\python24\lib'\)"  ,but now  the version of python is 3.0,so i change it with 30
sys.path.append\(r'c:\python30\lib'\)"    </summary></entry><entry><title>PAM 30 's Methond of findWindow</title><link href="https://sourceforge.net/p/pamie/bugs/22/" rel="alternate"/><published>2009-06-05T07:19:24Z</published><updated>2009-06-05T07:19:24Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd6d50bff58bb005474aeb23fabb4193ef69663d4</id><summary type="html">while i used the methond of findWindow,the error show that NameError: name 'DispatchEx' is not defined

and i change it with :win32com.client.DispatchEx\('Shell.Application'\) 
</summary></entry><entry><title>The PAM30 's method of changeWidnow </title><link href="https://sourceforge.net/p/pamie/bugs/21/" rel="alternate"/><published>2009-06-05T07:16:19Z</published><updated>2009-06-05T07:16:19Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd0dfec3382004d4dbd4e38c875e838e6750aa2e6</id><summary type="html">def changeWindow\(self, wintext\):
"""  changeWindow\(\)
changes control to new or existing window
Parms:
wintext - title of window to control
"""
\# Grab the POP-UP Window
newWin = self.Windowfind\(wintext\)

\# Use Pamie for COM object for POP-UP Window
self.\_ie = newWin
return self.\_ie


the mentod of  Windowfind is not exist,so i change it myself ,and replace with the methon of findWindow
</summary></entry><entry><title>Doesnt wait page finish loading on WinVista</title><link href="https://sourceforge.net/p/pamie/bugs/20/" rel="alternate"/><published>2008-09-02T19:32:02Z</published><updated>2008-09-02T19:32:02Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf501986fbf2d0b23a3a4ad4015e9dd00cc98d0e2</id><summary type="html">I was implementing a software i did using PAMIE on a new Vista machine here at the office and it didn't work properly. After a little debug i found that PAMIE it isn't waiting until navegate\(\) loads to textBoxSet\(\) and thats what is crashing my software logic.</summary></entry><entry><title>PAMIE fails if MakePY is run on IE object</title><link href="https://sourceforge.net/p/pamie/bugs/19/" rel="alternate"/><published>2007-05-17T11:44:30Z</published><updated>2007-05-17T11:44:30Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete93052c57cf30489d2fdf5aeb952a3ebadf0ac07</id><summary type="html">If MakePY is run on Microsoft Internet Controls and/or Browser Helpers PAMIE will fail with an attribute error.  The underlying problem is that PAMIE assumes late binding will occur.  If MakePY has been run on the IE objects then Python will early bind and the IE objects attribute structure is dramatically changed.  

The fix is to force late binding with win32com.client.dynamic.Dispatch\(\) in place of DispatchEX\(\).  You can find a good explanation of the issues in Python Programming on Win32 Forcing Early or Late Binding.

Regards
Richard</summary></entry><entry><title>filter for elementsGetList doesn't work</title><link href="https://sourceforge.net/p/pamie/bugs/18/" rel="alternate"/><published>2006-03-10T19:06:25Z</published><updated>2006-03-10T19:06:25Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.neta4dd9dd97cb9c524818be8be3576e8e2d4fa8a62</id><summary type="html">Hello.
First, excellent program.  Love it. Thanks for writing
it.  I just downloaded the latest version 2.0 Revised
on Feb 13th, 2006.

I have a web page on which I'm trying to selecting only
those hyperlinks which contain a certain tag.  However,
the filter logic is implemented backwards.  It starts
out with everything being true, and only those elements
that match are excluded.  It should only allow those
elements that do a match.

It should be this:
if filter:
myElements = \[\]
filters = filter.split\(";"\)
for el in allElements:
match = False   \#CHANGED
for f in filters\[:\]:
atts = f.split\("="\)
valText = el.getAttribute\(atts\[0\]\)
print valText
if valText &amp;lt;&amp;gt; None:
valText = str\(valText\)
valText = valText.strip\(\)
valText = valText.lower\(\)
wantText = atts\[1\].lower\(\)
if valText == wantText: 
\#CHANGED
match = True \#CHANGED
if match:
myElements.append \(el\)


Thanks,
Perry Tew
perry . tew at cibavision . com</summary></entry></feed>