-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'bool' object is not iterable #226
Comments
it seems only to work with python 2.x. Probably you are using 3.x |
Gitinspector works fine with 3.x. Though, some versions and some API's are constantly changing and breaking backward compatibility - gettext is an example of that. |
Same problem here on mac with brew. |
Same issue on Windows. |
Quick note to those with this issue: I was able to get gitinspector to work on macOS with Python 3.7.13. It seems that the gettext API has changed from 3.7 to 3.9. I recommend running gitinspector again with Python 3.7 installed. |
The problem is that Python 3.7 or older versions is not supported for Apple M1:
Anybody knows how to solve this? Not a python dev unfortunately. |
@vizcay Yes. For now, move to Python 3.7. We need to figure out a good (not too hacky) way to support different versions of gettext - as it keeps changing :) |
Looks like it can only be done with Rosetta: https://stackoverflow.com/questions/70315418/installing-python3-7-macbook-air-m1-problem. At least with homebrew. Thanks but I will pass. |
Same here. Any updates on this? |
as a quick hack: in gitinspector/localization.py replace (on line 71 and line 106) tested on Python 3.10, gives some warnings (unrelated to this problem) but output seems ok. |
Same on Fedora 36. (The True->None modification worked) |
Same on Python 3.11.3 (The True->None modification worked) |
Same on Fedora 39 with Python 3.11.8 (The True->None modification worked) |
Related to #213 |
My settings: Windows 10
Command:
C:\OSGeo4W\apps\Python39\python.exe gitinspector.py --format=html --timeline --since=2015-09-01 -w https://github.com/banbar/GMT-456-GIS-Programming > C:\Users\banbar\Desktop/1.html
Output:
The text was updated successfully, but these errors were encountered: