FS#69057 - Installed terminator does not start after upgrade of python-configobj

Attached to Project: Community Packages
Opened by Claudio Ebel (restore) - Monday, 21 December 2020, 17:41 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Tuesday, 22 December 2020, 19:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
An installed terminator does not start after upgrade of python-configobj from python-configobj-5.0.6-9 to python-configobj-5.0.6-10.

Error:
Traceback (most recent call last):
File "/usr/bin/terminator", line 48, in <module>
import terminatorlib.optionparse
File "/usr/lib/python3.9/site-packages/terminatorlib/optionparse.py", line 24, in <module>
from . import config
File "/usr/lib/python3.9/site-packages/terminatorlib/config.py", line 76, in <module>
from validate import Validator
ModuleNotFoundError: No module named 'validate'

Using a completely new installation (see forums discussion below) did NOT reproduce the bug.

Additional info:
* community/terminator 1.92-3
* link to corresponding forum discussion: https://bbs.archlinux.org/viewtopic.php?id=261906

Steps to reproduce:
1. Have terminator installed.
2. Upgrade system with pacman -Syu.
3. Try to start terminator.
This task depends upon

Closed by  Giancarlo Razzolini (grazzolini)
Tuesday, 22 December 2020, 19:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  terminator-2.0.1 fixes this
Comment by loqs (loqs) - Monday, 21 December 2020, 23:13 GMT
PKGBUILD.diff for python-configobj, install compatibility shim for validator's old location.
This provides backwards compatibility until python-configobj 5.1.0 has been released and other projects can update to it.

See also https://github.com/gnome-terminator/terminator/pull/325
Edit:
Looking at the code it may also apply to alot, khal, khard and todoman.
Comment by Moabit (Moabit) - Tuesday, 22 December 2020, 06:19 GMT
Thanks @loqs. I can confirm your patch fixes terminator and khard.

Loading...