Bug 1014155

Summary: [abrt] cherrytree-0.29.4-1.fc19: genericpath.py:54:getmtime:OSError: [Errno 2] 没有那个文件或目录: '/home/jerry/Notebooks/CherryTree/daily.ctx'
Product: [Fedora] Fedora Reporter: Huanshuai Li <lihuanshuaiplus>
Component: cherrytreeAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: giuspen, mr.zqfan, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:5986cf42988fbafbdcb7e6cb8ab036bf149a74e2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-10 09:15:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Huanshuai Li 2013-10-01 13:17:40 UTC
Description of problem:
after i updated CherryTree and started it

Version-Release number of selected component:
cherrytree-0.29.4-1.fc19

Additional info:
reporter:       libreport-2.1.7
cmdline:        /usr/bin/python /usr/bin/cherrytree
dso_list:       python-libs-2.7.5-4.fc19.x86_64
executable:     /usr/bin/cherrytree
kernel:         3.11.1-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
genericpath.py:54:getmtime:OSError: [Errno 2] 没有那个文件或目录: '/home/jerry/Notebooks/CherryTree/daily.ctx'

Traceback (most recent call last):
  File "/usr/share/cherrytree/modules/core.py", line 1016, in modification_time_sentinel_iter
    read_mod_time = os.path.getmtime(os.path.join(self.file_dir, self.file_name))
  File "/usr/lib64/python2.7/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] 没有那个文件或目录: '/home/jerry/Notebooks/CherryTree/daily.ctx'

Local variables in innermost frame:
filename: u'/home/jerry/Notebooks/CherryTree/daily.ctx'

Comment 1 Huanshuai Li 2013-10-01 13:17:44 UTC
Created attachment 805974 [details]
File: backtrace

Comment 2 Huanshuai Li 2013-10-01 13:17:47 UTC
Created attachment 805975 [details]
File: environ

Comment 3 Robin Lee 2013-10-02 17:24:17 UTC
> Description of problem:
> after i updated CherryTree and started it
Which is your previous version of CherryTree?

@giuspen '没有那个文件或目录' means 'No such file or directory'.(In reply to Huanshuai Li from comment #0)

Comment 4 Giuseppe Penone 2013-10-02 20:58:10 UTC
But this file /home/jerry/Notebooks/CherryTree/daily.ctx was there at the moment of the error or the path is wrong?
If you still have the problem disable the preferences dialog option Tab Miscellaneous -- Reload After External Update to CT* File.
In the next version 0.31.0 anyway I will add a check so this will not happen anymore.

Comment 5 Huanshuai Li 2013-10-10 09:26:14 UTC
temporary symbolic mistake, so sorry