Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568236 - app-crypt/gkeys-9999: on any action: TypeError: 'str' object does not support item assignment
Summary: app-crypt/gkeys-9999: on any action: TypeError: 'str' object does not support...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo-keys project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-14 14:38 UTC by Andrew Savchenko
Modified: 2016-03-01 16:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,10.35 KB, text/plain)
2015-12-14 14:38 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2015-12-14 14:38:20 UTC
Created attachment 419156 [details]
emerge --info

Hi,

I tried gkeys-9999, since I have some troubles with gkeys-0.1-r1, and it fails on any command, including no command:

$ gkeys
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/gkeys", line 21, in <module>
    from gkeys.cli import Main
  File "/usr/lib64/python3.4/site-packages/gkeys/cli.py", line 21, in <module>
    from gkeys.actions import Actions
  File "/usr/lib64/python3.4/site-packages/gkeys/actions.py", line 29, in <module>
    from gkeys.actionbase import ActionBase
  File "/usr/lib64/python3.4/site-packages/gkeys/actionbase.py", line 29, in <module>
    "gkeys.keyhandler:KeyHandler",
  File "/usr/lib64/python3.4/site-packages/snakeoil/demandload.py", line 262, in demandload
    scope[target] = Placeholder(scope, target, partial(load_any, source))
TypeError: 'str' object does not support item assignment

I will see if snakeoil needs to be updated. Current version is 0.5.3, yet no snakeoil update was pulled by gkeys-9999 install. Python-3.4.2 is default interpreter.
Comment 1 Andrew Savchenko gentoo-dev 2015-12-14 15:19:09 UTC
With snakeoil-0.6.5 it works fine. Please update gkeys-9999 dependency.
Comment 2 Tim Harder gentoo-dev 2015-12-14 17:07:12 UTC
Technically that upstream change (moving the previously required scope arg to an optional keyword argument) happened right before 0.6.1 was released.