Pigeon Planner doesn't work with Python 3.8

Bug #1891555 reported by Stefan Rebacz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pigeon Planner
Fix Released
High
Unassigned

Bug Description

Hello,

I updated my Neon distribution that bases on Ubuntu 20.04 LTS. The update also upgrade python to version 3.8.2. After launching pigeonplanner.py I received error that platform.linux_distribution() is missing. According to the documentation this function was deprecated in Python3.5 and removed in Python3.8.

The easiest way to fix that problem is to modify main.py (works like a charm):
    elif operatingsystem == "Linux":
        # distname, version, nick = platform.linux_distribution()
        # distribution = "%s %s" % (distname, version)
        distribution = ""

However, the final fix should be more solid and as suggested in documentation distro package should be used instead.

Sincerely,
Stefan

Tags: crash critical
description: updated
tags: added: crash
tags: added: critical
Revision history for this message
Timo Vanwynsberghe (timovwb) wrote :

Hey Stefan, thanks for reporting. The Windows and macOS builds are on Python 3.8, but they of course skip this part. I'm developing on Ubuntu 18.04/Python 3.6 so this slipped by.

This information is just nice to know when receiving an error report, but by no means necessary. Not really worth it to add a new dependency for this. I'll replace it by a call to `lsb_release -ds` which should do the trick.

Changed in pigeonplanner:
status: New → Fix Committed
importance: Undecided → High
Changed in pigeonplanner:
status: Fix Committed → Fix Released
milestone: none → 4.0.3
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.