Bug 679225

Summary: [abrt] gedit-2:2.30.4-1.fc14: genericpath.py:91:_splitext:AttributeError: 'NoneType' object has no attribute 'rfind'
Product: [Fedora] Fedora Reporter: matthias.rambausek
Component: geditAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e1b14789
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 15:28:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description matthias.rambausek 2011-02-21 23:26:36 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: gedit sftp://matthias.16.250/var/www/html2/phpBB3/barreferat/rechnung/class_kunde.js
component: gedit
executable: /usr/lib64/gedit-2/plugins
kernel: 2.6.35.10-74.fc14.x86_64
package: gedit-2:2.30.4-1.fc14
reason: genericpath.py:91:_splitext:AttributeError: 'NoneType' object has no attribute 'rfind'
release: Fedora release 14 (Laughlin)
time: 1298330454
uid: 1000

backtrace
-----
genericpath.py:91:_splitext:AttributeError: 'NoneType' object has no attribute 'rfind'

Traceback (most recent call last):
  File "/usr/lib64/gedit-2/plugins/synctex/synctex.py", line 229, in <lambda>
    window.connect("tab-added", lambda w, t: self.add_helper(t.get_view(),w, t)),
  File "/usr/lib64/gedit-2/plugins/synctex/synctex.py", line 243, in add_helper
    helper = SynctexViewHelper(view, window, tab, self._plugin)
  File "/usr/lib64/gedit-2/plugins/synctex/synctex.py", line 93, in __init__
    self.update_location()
  File "/usr/lib64/gedit-2/plugins/synctex/synctex.py", line 146, in update_location
    out_path = os.path.splitext(out_path)
  File "/usr/lib64/python2.7/posixpath.py", line 95, in splitext
    return genericpath._splitext(p, sep, altsep, extsep)
  File "/usr/lib64/python2.7/genericpath.py", line 91, in _splitext
    sepIndex = p.rfind(sep)
AttributeError: 'NoneType' object has no attribute 'rfind'

Local variables in innermost frame:
extsep: '.'
sep: '/'
p: None
altsep: None

How to reproduce
-----
1. Open Nautilus and enter a directory on a webserver using sftp, 2. Double-click on a php-file (gedit opens the file by default)

Comment 1 matthias.rambausek 2011-02-21 23:26:39 UTC
Created attachment 480020 [details]
File: backtrace

Comment 2 Fedora End Of Life 2012-08-16 15:28:56 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