Kupfer preferences bail out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kupfer |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am not sure if it is my config but when trying to access kupfer preferences i get this traceback :
Traceback (most recent call last):
File "/home/
self.
File "/home/
res, ret = ctx.run(leaf, action, sobject)
File "/home/
ret = activate_
File "/home/
return _activate_
File "/home/
ret = action.
File "/home/
return leaf.run()
File "/home/
kupferui.
File "/home/
win = preferences.
File "/home/
_preference
File "/home/
key= lambda rec: rec["localized_
File "/home/
seq = seq if isinstance(seq, list) else list(seq)
File "/home/
plugin = import_
File "/home/
return _staged_
File "/home/
plugin = import_
File "/home/
return _import_
File "/home/
code = _truncate_
File "/home/
none_index = list(code.
AttributeError: 'NoneType' object has no attribute 'co_consts'
Let me know if you need further info....
Chmouel.
Changed in kupfer: | |
status: | Confirmed → Fix Committed |
Changed in kupfer: | |
status: | Fix Committed → Fix Released |
This is a Kupfer bug, thanks for reporting this. I think I have seen this and it is caused by a .pyc (or .pyo) file from the wrong Python version in any of your Kupfer plugin directories. Kupfer should be fixed to not bail out at this point, of course, but a safe fix is removing stale .pyc files until then (if my guess is correct).