Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 838
    • Issues 838
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurialmercurial
  • TortoiseHgTortoiseHg
  • thgthg
  • Issues
  • #5522
Closed
Open
Issue created Feb 27, 2020 by Bitbucket Importer@bitbucket_importerOwner

python2.7, thg 5.0.2, build from source, 'module' object has no attribute 'IGNORES'

Created originally on Bitbucket by Anonymous

OS: Fedora 25

I have both python 2.7 and python 3.5.4. /usr/bin/python is a symlink to python 3.5.4, which is my default python interpreter.

I have installed thg with the following commands: python2 ./setup.py build sudo python2 ./setup.py install

python2 is a symlink to python2.7 and the file /usr/bin/thg has a shebang /usr/bin/python2

The error:

[akamyshev@localhost tortoisehg-5.0.2]$ which thg /usr/bin/thg [akamyshev@localhost tortoisehg-5.0.2]$ thg Traceback (most recent call last): File "/usr/bin/thg", line 64, in demandimport.IGNORES.update([ AttributeError: 'module' object has no attribute 'IGNORES'

I get the same error if I tell it directly which python to use:

[akamyshev@localhost tortoisehg-5.0.2]$ python2.7 /usr/bin/thg Traceback (most recent call last): File "/usr/bin/thg", line 64, in demandimport.IGNORES.update([ AttributeError: 'module' object has no attribute 'IGNORES'

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking