Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python2.4 compat issue: must be type, not classobj #155

Closed
shimizukawa opened this issue Jan 2, 2015 · 2 comments
Closed

python2.4 compat issue: must be type, not classobj #155

shimizukawa opened this issue Jan 2, 2015 · 2 comments
Labels

Comments

@shimizukawa
Copy link
Member

When the documentation is built with CentOS 5.3 (having python2.4), the following error is given:

#!python

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Sphinx-1.0dev_20090505-py2.4.egg/sphinx/cmdline.py", line 171, in main
    warningiserror, tags)
  File "/usr/lib/python2.4/site-packages/Sphinx-1.0dev_20090505-py2.4.egg/sphinx/application.py", line 97, in __init__
    self.setup_extension(extension)
  File "/usr/lib/python2.4/site-packages/Sphinx-1.0dev_20090505-py2.4.egg/sphinx/application.py", line 169, in setup_extension
    err)
  File "/usr/lib/python2.4/site-packages/Sphinx-1.0dev_20090505-py2.4.egg/sphinx/errors.py", line 31, in __init__
    super(ExtensionError, self).__init__(message)
TypeError: super() argument 1 must be type, not classobj

@shimizukawa
Copy link
Member Author

From Anonymous on 2009-05-05 12:16:59+00:00

Actually, the reason for the error //was not python2.4// but non-existing extension module:

If the there is non-existing module defined in extensions (in the conf.py), the error shown above is shown. Fortunatelly the //ExtensionError// gave a hint were to look from.

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2009-05-10 19:14:55+00:00

Fixed in <>, thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant