Build with python 2.7.11: error on install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Catfish |
Fix Released
|
Undecided
|
Sean Davis |
Bug Description
If I build catfish 1.3.4 with python 2.7.11, the install fails:
Catfish Data Directory: /usr/share/catfish/
Traceback (most recent call last):
File "setup.py", line 183, in <module>
cmdclass=
File "/usr/lib/
distutils.
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "setup.py", line 163, in run
update_
File "setup.py", line 37, in update_config
fin = open(filename, 'r', encoding='utf-8')
TypeError: 'encoding' is an invalid keyword argument for this function
I solved this with using codecs.open().
Changed in catfish-search: | |
milestone: | none → 1.4.0 |
status: | Fix Committed → Fix Released |
Thanks for the bug report. While I definitely recommend using Python3 for Catfish going forward, I took your suggestion and fixed installation for Python2 and Python3 with the same change. This will be included in the upcoming 1.4.0 release.
https:/ /bazaar. launchpad. net/~catfish- search/ catfish- search/ trunk/revision/ 449