Skip to content

fix default windows ipc provider path #3060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

pacrob
Copy link
Contributor

@pacrob pacrob commented Jul 24, 2023

What was wrong?

os.path.join seems to add additional backslashes in py3.11 on windows. I couldn't find a reason/changelog explanation, but at least found someone with the same problem: https://stackoverflow.com/questions/76107858/python-3-10-3-11-changes-on-os-path-join

Closes #3058

How was it fixed?

Changed the default path to r"\\.\pipe\geth.ipc". Tested against py3.9, 10, and 11 on Windows 10.

Updated docs to match geth.

Todo:

Cute Animal Picture

image

@pacrob pacrob force-pushed the fix-windows-default-ipc-path branch from b23083b to 0c4900e Compare July 24, 2023 22:29
@pacrob pacrob force-pushed the fix-windows-default-ipc-path branch from 0c4900e to bda381f Compare July 24, 2023 22:56
@pacrob pacrob requested review from kclowes, reedsa and fselmo July 24, 2023 23:35
Copy link
Contributor

@reedsa reedsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏼

@pacrob pacrob merged commit a2c3012 into ethereum:main Jul 25, 2023
@pacrob pacrob deleted the fix-windows-default-ipc-path branch July 25, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default IPC path is incorrect on Windows with Anaconda 2023.07
3 participants