Skip to content

[python-3.11] open() - invalid mode 'rU' #30

@dreamcat4

Description

@dreamcat4

Things have changed in the latest python 3 release (3.11)...

[!] Something went wrong while reading firefox profiles.ini
ERROR:root:Traceback (most recent call last):
  File "/home/id/.builds/firefox/ExtAnalysis/core/localextensions.py", line 179, in firefox
    with open(firefox_profile, 'rU') as ini_source:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'rU'

Here is some discussion about it Cantera/cantera#1325

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions