Bug 675791 - [abrt] git-cola-1.4.3-1.fc14: git.py:254:__init__:OSError: [Errno 2] No such file or directory
Summary: [abrt] git-cola-1.4.3-1.fc14: git.py:254:__init__:OSError: [Errno 2] No such ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: git-cola
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/davvid/git-cola/is...
Whiteboard: abrt_hash:4a5e4df2
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-07 18:54 UTC by Diego
Modified: 2012-08-16 13:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 13:52:48 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.01 KB, text/plain)
2011-02-07 18:54 UTC, Diego
no flags Details

Description Diego 2011-02-07 18:54:14 UTC
abrt version: 1.1.14
architecture: x86_64
component: git-cola
executable: /usr/bin/git-cola
kernel: 2.6.35.10-74.fc14.x86_64
package: git-cola-1.4.3-1.fc14
reason: git.py:254:__init__:OSError: [Errno 2] No such file or directory
release: Fedora release 14 (Laughlin)
How to reproduce: 1.  I don't remeber
time: 1297097174
uid: 500

backtrace
-----
git.py:254:__init__:OSError: [Errno 2] No such file or directory

Traceback (most recent call last):
  File "/usr/bin/git-cola", line 53, in <module>
    import cola.main
  File "/usr/share/git-cola/lib/cola/__init__.py", line 2, in <module>
    from cola.models.main import model
  File "/usr/share/git-cola/lib/cola/models/main.py", line 15, in <module>
    from cola import gitcmds
  File "/usr/share/git-cola/lib/cola/gitcmds.py", line 15, in <module>
    git = git.instance()
  File "/usr/share/git-cola/lib/cola/decorators.py", line 18, in _decorator
    return caller(func, *args, **opts)
  File "/usr/share/git-cola/lib/cola/decorators.py", line 52, in _memoize
    cache[key] = result = func(*args, **opts)
  File "/usr/share/git-cola/lib/cola/git.py", line 27, in instance
    return GitCola()
  File "/usr/share/git-cola/lib/cola/git.py", line 254, in __init__
    self.load_worktree(os.getcwd())
OSError: [Errno 2] No such file or directory

Local variables in innermost frame:
self: <cola.git.GitCola object at 0x25cf650>

Comment 1 Diego 2011-02-07 18:54:17 UTC
Created attachment 477478 [details]
File: backtrace

Comment 2 Kevin Kofler 2011-02-08 21:00:47 UTC
Can you please report this crash to the upstream bug tracker at:
https://github.com/davvid/git-cola/issues
?

Comment 3 Fedora Admin XMLRPC Client 2011-02-18 01:53:34 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Diego 2011-02-25 22:10:38 UTC
Sorry for being late, this is the link to upstream report:
https://github.com/davvid/git-cola/issues#issue/71

Comment 5 David Aguilar 2011-03-20 02:59:38 UTC
Sorry, I don't have enough information to confirm nor fix this problem.

The backtrace shows os.getcwd() being the source of the OSError exception.  'man getcwd' mentions the conditions under which getcwd() can return NULL.  The errno section, specifically, mentions:

       ENOENT The current working directory has been unlinked.

That means something weird like git-cola being launched on a directory that was immediately deleted.  If you could provide reproducible steps then I can try and look into it.  Unfortunately I don't have enough information to go forward.

Comment 6 Fedora End Of Life 2012-08-16 13:52:51 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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