Bug 1173847

Summary: [abrt] cinnamon: genericpath.py:29:isfile:TypeError: coercing to Unicode: need string or buffer, NoneType found
Product: [Fedora] Fedora Reporter: fabris <fabrice>
Component: cinnamonAssignee: leigh scott <leigh123linux>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: fale, leigh123linux, miketwebster, raveit65.sun
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7a3cf03ff8835001646ee170c62c6019aeb77c7e
Whiteboard: abrt_hash:893c407e81f77b6f9f68ca319a5878833e8e903e
Fixed In Version: cinnamon-2.4.6-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-30 04:42:35 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
File: environ none

Description fabris 2014-12-13 13:46:58 UTC
Description of problem:
yum update le 13/12/2014

Version-Release number of selected component:
cinnamon-2.4.5-1.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        python /usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
dso_list:       python-libs-2.7.8-7.fc21.i686
executable:     /usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
kernel:         3.17.4-302.fc21.i686+PAE
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
genericpath.py:29:isfile:TypeError: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
  File "/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py", line 598, in update_preview_cb
    if os.path.isfile(filename):
  File "/usr/lib/python2.7/genericpath.py", line 29, in isfile
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Local variables in innermost frame:
path: None

Potential duplicate: bug 1045157

Comment 1 fabris 2014-12-13 13:47:00 UTC
Created attachment 968052 [details]
File: backtrace

Comment 2 fabris 2014-12-13 13:47:01 UTC
Created attachment 968053 [details]
File: environ

Comment 3 leigh scott 2014-12-13 14:32:09 UTC
Hopefully my pull request will fix this issue.

https://github.com/linuxmint/Cinnamon/pull/3757

I will include it in the next cinnamon build.

Comment 4 Fedora Update System 2015-01-19 16:37:30 UTC
muffin-2.4.3-1.fc20, nemo-2.4.4-4.fc20, cinnamon-2.4.6-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2015-0876/muffin-2.4.3-1.fc20,nemo-2.4.4-4.fc20,cinnamon-2.4.6-1.fc20

Comment 5 Fedora Update System 2015-01-19 16:39:28 UTC
cinnamon-2.4.6-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/cinnamon-2.4.6-1.fc21

Comment 6 Fedora Update System 2015-01-20 21:00:42 UTC
Package muffin-2.4.3-1.fc20, nemo-2.4.4-4.fc20, cinnamon-2.4.6-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing muffin-2.4.3-1.fc20 nemo-2.4.4-4.fc20 cinnamon-2.4.6-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0876/muffin-2.4.3-1.fc20,nemo-2.4.4-4.fc20,cinnamon-2.4.6-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-01-30 04:42:35 UTC
muffin-2.4.3-1.fc20, nemo-2.4.4-4.fc20, cinnamon-2.4.6-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-02-04 07:58:19 UTC
cinnamon-2.4.6-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.