You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix this error by upgrading your Python version. I'm leaving this issue here so that others can find it and solve the problem.
Specifically, with Python 3.6.0 (and from the link above it looks like it also affects some versions of 3.7+) I ran into the following error:
ffpass import -f cpwds.csv
Traceback (most recent call last):
File "/Users/ajc/miniconda3/bin/ffpass", line 11, in<module>sys.exit(main())
File "/Users/ajc/miniconda3/lib/python3.6/site-packages/ffpass/__init__.py", line 329, in main
guessed_dir = guessDir()
File "/Users/ajc/miniconda3/lib/python3.6/site-packages/ffpass/__init__.py", line 223, in guessDir
config.read(path / "profiles.ini")
File "/Users/ajc/miniconda3/lib/python3.6/configparser.py", line 693, inreadforfilenamein filenames:
TypeError: 'PosixPath' object is not iterable
In my case upgrading from 3.6.0 to 3.6.8 fixed the issue.
The text was updated successfully, but these errors were encountered:
I ran into this bug while using
ffpass
:configparser.ConfigParser.read() does not accept Pathlib path as a single argument.
Fix this error by upgrading your Python version. I'm leaving this issue here so that others can find it and solve the problem.
Specifically, with Python 3.6.0 (and from the link above it looks like it also affects some versions of 3.7+) I ran into the following error:
In my case upgrading from 3.6.0 to 3.6.8 fixed the issue.
The text was updated successfully, but these errors were encountered: