FS#65718 - [pysolfc] Missing deps on python-configobj and python-attrs

Attached to Project: Community Packages
Opened by merlock (merlock) - Thursday, 05 March 2020, 23:28 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Sunday, 08 March 2020, 11:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: New version (2.8.0) crashes on start.

Additional info:
* package version(s): 2.8.0-1
* config and/or log files etc.
* link to upstream bug report, if any [url=https://github.com/shlomif/PySolFC/issues/154]Issue 154 [/url]

Steps to reproduce: Start pysol from a terminal:

[code]
$ pysol
Traceback (most recent call last):
File "/usr/bin/pysol", line 36, in <module>
from pysollib.main import main # noqa: E402,I202
File "/usr/lib/python3.8/site-packages/pysollib/main.py", line 30, in <module>
from pysollib.app import Application
File "/usr/lib/python3.8/site-packages/pysollib/app.py", line 45, in <module>
from pysollib.options import Options
File "/usr/lib/python3.8/site-packages/pysollib/options.py", line 28, in <module>
import configobj
ModuleNotFoundError: No module named 'configobj'
[/code]

Reported upstream as well.
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Sunday, 08 March 2020, 11:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in pysolfc-2.8.0-2
Comment by Brian McCord (beest) - Thursday, 05 March 2020, 23:35 GMT
Not an upstream issue, confirmed working after adding python-configobj dependency.
Comment by Doug Newgard (Scimmia) - Thursday, 05 March 2020, 23:36 GMT
configobj is included with pysolfc, and it works just fine for me. Sounds like an environmental problem.
Comment by Brian McCord (beest) - Thursday, 05 March 2020, 23:39 GMT
From the changelog:

Using ttk and configobj as shipped in the python dist (instead of forked versions)
Comment by Doug Newgard (Scimmia) - Thursday, 05 March 2020, 23:42 GMT
Ah yeah, I didn't have the update yet. Mirror was further behind than I thought.
Comment by merlock (merlock) - Friday, 06 March 2020, 00:14 GMT
@beest: I tried adding python-configobj to the depends array and rebuilt the package. Got different trackback errors (and a config file validation error). tk is Arch stock (8.6.10-1).

Comment by Brian McCord (beest) - Friday, 06 March 2020, 01:01 GMT
That's odd, working for me (and you don't even need to rebuild, just installing python-configobj should work). Try using the arch package (with python-configobj) and see what happens, otherwise post the new errors.
Comment by merlock (merlock) - Friday, 06 March 2020, 01:40 GMT
Tried your suggestion. The last line of the trackback error was:

ModuleNotFoundError: No module named 'attr'

Extrapolating your post, I installed python-attrs 19.3.0-4, and all is well now.

So for me, I needed python-configobj and python-attrs.

I'm going to close my upstream report, since the problem was my environment (like @Scimmia mentioned).

Thanks for your help!
Comment by Brian McCord (beest) - Friday, 06 March 2020, 01:47 GMT
Yep, I already have python-attrs here and should have read the changelog more closely. Package requires it as well since 2.8.0.
Comment by Doug Newgard (Scimmia) - Friday, 06 March 2020, 23:27 GMT
Read again, there's 2 missing deps.

Loading...