Skip to content

GitLab

  • Menu
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 839
    • Issues 839
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #225

Closed
Open
Created Mar 04, 2011 by Bitbucket Importer@bitbucket_importerOwner

AttributeError: 'NoneType' object has no attribute 'group'

Created originally on Bitbucket by Anonymous

{{{ #!python ** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues ** Mercurial version (1.8). TortoiseHg version (2.0) ** Command: --nofork workbench ** CWD: C:\Users\michael\Documents\Visual Studio 2010\Projects\Ab Cd Efghij ** Extensions loaded: fixfrozenexts ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] ** Windows version: (6, 1, 7601, 2, 'Service Pack 1') ** Processor architecture: x64 ** Qt-4.7.1 PyQt-4.8.2 Traceback (most recent call last): File "tortoisehg\hgqt\sync.pyo", line 520, in saveclicked File "tortoisehg\hgqt\sync.pyo", line 973, in init File "tortoisehg\hgqt\sync.pyo", line 37, in parseurl AttributeError: 'NoneType' object has no attribute 'group'

}}}

Was trying to add a Remote Repository to a very recently created project using ssh: {{{ hostname: ssh://hg3.xp-dev.com/ port: (blank) path: ABCdefg (not the actual name, but cased the same }}}

The line specifying remote repository had: Remote Repository: {{{ssh://ssh://hg3.xp-dev.com//ABCdefg}}} Changing the hostname entry to - hg3.xp-dev.com - resolved the issue. It's more a user error than anything else, but either trimming those characters or providing a more intuitive error message would be helpful. Thanks for the excellent work!

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