Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1088138 - [abrt] ibus-table: posixpath.py:83:join:TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
Summary: [abrt] ibus-table: posixpath.py:83:join:TypeError: unsupported operand type(s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-table
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike FABIAN
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e53691b5dac8b731dcf9daff4cd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-16 06:39 UTC by Daniel
Modified: 2015-05-22 09:13 UTC (History)
10 users (show)

Fixed In Version: ibus-table-1.5.0.20140416-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-29 05:27:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (506 bytes, text/plain)
2014-04-16 06:40 UTC, Daniel
no flags Details
File: environ (219 bytes, text/plain)
2014-04-16 06:40 UTC, Daniel
no flags Details
0001-Do-not-fail-when-the-environment-variable-HOME-is-no.patch (1.00 KB, patch)
2014-04-16 07:31 UTC, Mike FABIAN
no flags Details | Diff

Description Daniel 2014-04-16 06:39:56 UTC
Version-Release number of selected component:
ibus-table-1.5.0.20140312-2.fc20

Additional info:
reporter:       libreport-2.2.1
cmdline:        /usr/bin/python3 /usr/share/ibus-table/engine/main.py --xml
executable:     /usr/share/ibus-table/engine/main.py
kernel:         3.13.9-200.fc20.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
posixpath.py:83:join:TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/main.py", line 36, in <module>
    home_ibus_dir = os.path.join(os.getenv('HOME'), ".ibus")
  File "/usr/lib64/python3.3/posixpath.py", line 83, in join
    path += b
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

Local variables in innermost frame:
path: None
a: None
p: ('.ibus',)
sep: '/'
b: '.ibus'
valid_types: False

Comment 1 Daniel 2014-04-16 06:40:01 UTC
Created attachment 886762 [details]
File: backtrace

Comment 2 Daniel 2014-04-16 06:40:03 UTC
Created attachment 886763 [details]
File: environ

Comment 3 Mike FABIAN 2014-04-16 07:08:07 UTC
OK, that happens when HOME is not set:

mfabian@ari:/local/mfabian/src/ibus-table (miketmp $)
$ env -u HOME /usr/bin/python3 /usr/share/ibus-table/engine/main.py --xml
Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/main.py", line 36, in <module>
    home_ibus_dir = os.path.join(os.getenv('HOME'), ".ibus")
  File "/usr/lib64/python3.3/posixpath.py", line 83, in join
    path += b
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
mfabian@ari:/local/mfabian/src/ibus-table (miketmp $)
$

Comment 4 Mike FABIAN 2014-04-16 07:31:15 UTC
Created attachment 886771 [details]
0001-Do-not-fail-when-the-environment-variable-HOME-is-no.patch

Comment 5 Fedora Update System 2014-04-16 08:14:42 UTC
ibus-table-1.5.0.20140416-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ibus-table-1.5.0.20140416-1.fc19

Comment 6 Fedora Update System 2014-04-16 08:19:23 UTC
ibus-table-1.5.0.20140416-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ibus-table-1.5.0.20140416-1.fc20

Comment 7 Fedora Update System 2014-04-17 05:59:37 UTC
Package ibus-table-1.5.0.20140416-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 ibus-table-1.5.0.20140416-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5263/ibus-table-1.5.0.20140416-1.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-04-29 05:27:51 UTC
ibus-table-1.5.0.20140416-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 9 Fedora Update System 2014-04-29 05:29:06 UTC
ibus-table-1.5.0.20140416-1.fc19 has been pushed to the Fedora 19 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.