Build with python 2.7.11: error on install

Bug #1540211 reported by rezso
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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 "", line 183, in <module>
    cmdclass={'install': InstallAndUpdateDataDirectory}
  File "/usr/lib/python2.7/site-packages/DistUtilsExtra/", line 100, in setup
  File "/usr/lib/python2.7/distutils/", line 151, in setup
  File "/usr/lib/python2.7/distutils/", line 953, in run_commands
  File "/usr/lib/python2.7/distutils/", line 972, in run_command
  File "", line 163, in run
    update_config(self.install_lib, values)
  File "", 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

Revision history for this message
Sean Davis (bluesabre) wrote :

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.

Changed in catfish-search:
status: New → Fix Committed
assignee: nobody → Sean Davis (bluesabre)
Sean Davis (bluesabre)
Changed in catfish-search:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.