FAHControl throws syntax errors in Python3 unless the shebang line is changed to: #!/usr/bin/python2. The issue is 'try/except' on lines 57 and 80.
Also, this may need to be addressed:
Traceback:
File "/usr/lib64/python2.7/site-packages/fah/Client.py", line 352, in update
self.process_message(app, type, data)
File "/usr/lib64/python2.7/site-packages/fah/Client.py", line 336, in process_message
elif type == 'units': self.process_units(app, data)
File "/usr/lib64/python2.7/site-packages/fah/Client.py", line 287, in process_units
if self.selected: self.config.update_status_ui(app)
File "/usr/lib64/python2.7/site-packages/fah/ClientConfig.py", line 534, in update_status_ui
self.update_status_slots(app)
File "/usr/lib64/python2.7/site-packages/fah/ClientConfig.py", line 435, in update_status_slots
app.slot_status_tree.get_selection().select_iter(selected_row)
TypeError: iter should be a GtkTreeIter
Rumor has it there was an end-of-life party for Python 2 last month. https://docs.python.org/3/howto/pyporting.html
Python 3 upgrade FAHControl (Linux)
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 24
- Joined: Mon Dec 03, 2007 2:44 am
Re: Python 3 upgrade FAHControl (Linux)
Yeah Python 2 is getting put out to pasture.
I have not see any news on FAHControl being upgraded to use Python 3.
I have not see any news on FAHControl being upgraded to use Python 3.
Re: Python 3 upgrade FAHControl (Linux)
Bruce posted at the end of this recent thread discussing the python2 problems on Linux that an updated client is in work that will fix this, but there's no release date yet.
Re: Python 3 upgrade FAHControl (Linux)
FAH generally does not preannounce changes. Sometimes the information slips out in a discussion and I simply repeat what I've heard.castlebomb44 wrote:Yeah Python 2 is getting put out to pasture.
I have not see any news on FAHControl being upgraded to use Python 3.
It's certainly known that Python is a problem but nobody has promised when a fix will be available.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.