Bug 571711 - [abrt] crash in tortoisehg-0.9.3-1.fc12: posixpath.py:52:isabs:AttributeError: 'NoneType' object has no attribute 'startswith'
Summary: [abrt] crash in tortoisehg-0.9.3-1.fc12: posixpath.py:52:isabs:AttributeError...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tortoisehg
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Mads Kiilerich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:760d31dc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-09 10:21 UTC by Abhishek Singh
Modified: 2010-04-21 02:20 UTC (History)
2 users (show)

Fixed In Version: tortoisehg-1.0.1-1.fc12
Clone Of:
Environment:
Last Closed: 2010-04-21 02:17:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (986 bytes, text/plain)
2010-03-09 10:21 UTC, Abhishek Singh
no flags Details

Description Abhishek Singh 2010-03-09 10:21:13 UTC
abrt 1.0.7 detected a crash.

architecture: i686
cmdline: /usr/bin/python /usr/bin/hgtk clone
comment: The cloning works well, but the application crashes after you close the dialog box.
component: tortoisehg
executable: /usr/bin/hgtk
kernel: 2.6.32.9-67.fc12.i686.PAE
package: tortoisehg-0.9.3-1.fc12
reason: posixpath.py:52:isabs:AttributeError: 'NoneType' object has no attribute 'startswith'
release: Fedora release 12 (Constantine)

backtrace
-----
posixpath.py:52:isabs:AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/tortoisehg/hgtk/gtklib.py", line 696, in __call__
    self.f(*args)  # ignore return value of f
  File "/usr/lib/python2.6/site-packages/tortoisehg/hgtk/hgcmd.py", line 519, in call_callback
    callback(returncode, self.useraborted, *args, **kargs)
  File "/usr/lib/python2.6/site-packages/tortoisehg/hgtk/clone.py", line 328, in cmd_done
    shlib.shell_notify([dest])
  File "/usr/lib/python2.6/site-packages/tortoisehg/util/shlib.py", line 140, in shell_notify
    f_notify.write('\n'.join([os.path.abspath(path) for path in paths]))
  File "/usr/lib/python2.6/posixpath.py", line 336, in abspath
    if not isabs(path):
  File "/usr/lib/python2.6/posixpath.py", line 52, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'

Local variables in innermost frame:
s: None

How to reproduce
-----
1. Clone a mercurial repository hosted over http

Comment 1 Abhishek Singh 2010-03-09 10:21:18 UTC
Created attachment 398758 [details]
File: backtrace

Comment 2 Mads Kiilerich 2010-03-09 11:06:33 UTC
This code seems to have been rewritten in TortoiseHg 1.0, which should appear in updates-testing today (together with the required Mercurial 1.5).

Could you please verify if this issue is fixed there?

/Mads

Comment 3 Abhishek Singh 2010-03-15 06:43:45 UTC
This issue is NOT fixed in tortoisehg-1.0-1.fc12.i686. I'm still getting the same error.

Comment 4 Mads Kiilerich 2010-03-16 00:54:07 UTC
Tracked upstream on http://bitbucket.org/tortoisehg/stable/issue/1044/crash-after-clone

Comment 5 Mads Kiilerich 2010-03-16 11:13:17 UTC

Comment
-----
Reproduce with 1.5

Comment 6 Fedora Update System 2010-04-02 12:22:59 UTC
tortoisehg-1.0.1-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/tortoisehg-1.0.1-1.fc13

Comment 7 Fedora Update System 2010-04-02 12:24:35 UTC
tortoisehg-1.0.1-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/tortoisehg-1.0.1-1.fc12

Comment 8 Fedora Update System 2010-04-02 18:43:41 UTC
tortoisehg-1.0.1-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tortoisehg'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/tortoisehg-1.0.1-1.fc13

Comment 9 Fedora Update System 2010-04-03 04:46:43 UTC
tortoisehg-1.0.1-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tortoisehg'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/tortoisehg-1.0.1-1.fc12

Comment 10 Fedora Update System 2010-04-21 02:17:09 UTC
tortoisehg-1.0.1-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-04-21 02:20:17 UTC
tortoisehg-1.0.1-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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