Skip to content

E UnboundLocalError: local variable 'pgpassfile' referenced before assignment at w32 #91

Not planned
@phdru

Description

@phdru

https://ci.appveyor.com/project/phdru/sqlobject/build/job/fa1rsitxo7ybump6

clientparameters.py:158: UnboundLocalError

The code fails becuase APPDATA is not defined at AppVeyor. I'll set it to None and send a pull request after testing all my patches.

Activity

added 2 commits that reference this issue on Aug 23, 2017

Fix python-postgres#91: pgpassfile is not defined at w32 because APPD…

e4034a0

Fix python-postgres#91: pgpassfile is not defined at w32 because APPD…

acea988
added a commit that references this issue on Feb 21, 2022

Fix python-postgres#91: pgpassfile is not defined at w32 because APPD…

f0d0426
added a commit that references this issue on Mar 2, 2025

Fix python-postgres#91: pgpassfile is not defined at w32 because APPD…

a6e568b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @phdru

        Issue actions

          E UnboundLocalError: local variable 'pgpassfile' referenced before assignment at w32 · Issue #91 · python-postgres/fe