Bug 607913 - [abrt] crash in mercurial-1.5.3-1.fc12: posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'
[abrt] crash in mercurial-1.5.3-1.fc12: posixpath.py:311:normpath:AttributeEr...
Product: Fedora
Classification: Fedora
Component: mercurial (Show other bugs)
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Neal Becker
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-06-25 03:46 EDT by Salman El Farisi
Modified: 2010-06-25 14:51 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-25 14:51:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (879 bytes, text/plain)
2010-06-25 03:46 EDT, Salman El Farisi
no flags Details

  None (edit)
Description Salman El Farisi 2010-06-25 03:46:08 EDT
abrt 1.0.9 detected a crash.

architecture: i686
cmdline: python /usr/bin/mercurial-convert-repo
component: mercurial
executable: /usr/bin/mercurial-convert-repo
package: mercurial-1.5.3-1.fc12
reason: posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'
release: Fedora release 12 (Constantine)

posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
  File "/usr/bin/mercurial-convert-repo", line 27, in <module>
    convert.convert(u, src, dest, revmapfile, **opts)
  File "/usr/lib/python2.6/site-packages/hgext/convert/__init__.py", line 238, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/usr/lib/python2.6/site-packages/hgext/convert/convcmd.py", line 370, in convert
    dest = hg.defaultdest(src) + "-hg"
  File "/usr/lib/python2.6/site-packages/mercurial/hg.py", line 92, in defaultdest
    return os.path.basename(os.path.normpath(source))
  File "/usr/lib/python2.6/posixpath.py", line 311, in normpath
    initial_slashes = path.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'

Local variables in innermost frame:
path: None
Comment 1 Salman El Farisi 2010-06-25 03:46:12 EDT
Created attachment 426786 [details]
File: backtrace
Comment 2 Neal Becker 2010-06-25 14:51:11 EDT
mercurial-convert-repo is obsolete.  Use hg convert instead.  Will be
removed in next version.

Note You need to log in before you can comment on or make changes to this bug.