Skip to content

Conversation

@imliubo
Copy link

@imliubo imliubo commented Jul 11, 2020

Fix "'PosixPath' object has no attribute 'startswith'" bug.
I use python 3.5.4 got this error.

$ rainmaker.py claim /dev/ttyUSB0
[ERROR]:'PosixPath' object has no attribute 'startswith'
'PosixPath' object has no attribute 'startswith'

So I change some PATH with str() function, then it works.
esp-rainmaker-claim-error2

           Fix "'PosixPath' object has no attribute 'startswith'" bug.
@github-actions github-actions bot changed the title cli_claim: Support python3.5. cli_claim: Support python3.5. (MEGH-1053) Jul 11, 2020
@shahpiyushv
Copy link
Collaborator

@imliubo Thanks for the contribution. We are reviewing this internally.

@CLAassistant
Copy link

CLAassistant commented Jun 16, 2021

CLA assistant check
All committers have signed the CLA.

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.

3 participants