Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9010975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:36:20+00:00 2026-06-16T02:36:20+00:00

I am getting a TypeError with a very simple script on PAMIE, and I’m

  • 0

I am getting a TypeError with a very simple script on PAMIE, and I’m not sure what I can do. I had found an answer suggesting that the library, pywin32 might not have set a self argument for this particular method (getElementsByTagName) but I don’t know for sure, as I don’t know where to find the definition of it.

from  PAM30 import PAMIE

ie = PAMIE()
ie.navigate('google.com')
ie.getButtons()
ie.quit()
print 'done'

The error is:

Traceback (most recent call last):
  File "c:\pamie1.py", line 1, in <module>
    from  PAM30 import PAMIE
  File "C:\Python27\Lib\site-packages\PAM30.py", line 678, in getButtons
    return self.getElementsList("input", filter)
  File "C:\Python27\Lib\site-packages\PAM30.py", line 939, in getElementsList
    elements = self._ie.Document.getElementsByTagName(tag)
TypeError: getElementsByTagName() takes exactly 1 argument (2 given)

Here’s the offending line in PAM30

elements = self._ie.Document.getElementsByTagName(tag)

where _ie_ is

self._ie = win32com.client.dynamic.Dispatch('InternetExplorer.Application')

I’m using Windows 7×64 with Python2.7 32bit

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:36:21+00:00Added an answer on June 16, 2026 at 2:36 am

    sourceforge bug link

    “Workaround” seems to be enable Compatibility View (Tools > Compatibility
    View settings > Display all websites in Compatibility View
    ).

    it is a bug of IE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple script that monitors a file transfer progress, comparing its
I'm getting TypeError: coercing to Unicode: need string or buffer, int found This is
I'm trying to pickle a big class and getting TypeError: can't pickle module objects
I am using jquery-1.7.2.min.js I'm getting TypeError: $(#TextBox1).removeattr is not a function [Break On
So I made a very simple program that counts down from 99 (sings 99
I am getting process.nextTick error on this very basic example of node.js. Can someone
Why I am getting typeError value is null but In my firebug I can
I am getting TypeError: 'NoneType' object is not iterable when I try to find
I am creating a Word class and I am getting an error: TypeError: superclass
I'm getting the error: Uncaught TypeError: Cannot read property 'constructor' of undefined When declaring

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.