Bug 607913 - [abrt] crash in mercurial-1.5.3-1.fc12: posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'
Summary: [abrt] crash in mercurial-1.5.3-1.fc12: posixpath.py:311:normpath:AttributeEr...
Alias: None
Product: Fedora
Classification: Fedora
Component: mercurial
Version: 12
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Neal Becker
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:ed56d0dc
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-25 07:46 UTC by Salman El Farisi
Modified: 2010-06-25 18:51 UTC (History)
5 users (show)

Clone Of:
Last Closed: 2010-06-25 18:51:11 UTC

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

Description Salman El Farisi 2010-06-25 07:46:08 UTC
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 07:46:12 UTC
Created attachment 426786 [details]
File: backtrace

Comment 2 Neal Becker 2010-06-25 18:51:11 UTC
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.