Skip to content
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

Internal Error: AttributeError: 'str' object has no attribute 'relate' #1184

Closed
apallin opened this issue Nov 19, 2015 · 4 comments
Closed

Comments

@apallin
Copy link

apallin commented Nov 19, 2015

Hello,

I am getting this constant error with my pytest setup and I don't know whats going on. This seemed to start occurring once we stopped using pytest-xdist and removed it as a dependency on the project. This error isn't very useful and I have no idea where to begin to debug this.

Packages used:
"pytest==2.8.2",
"pytest-rerunfailures==0.5",

I have seen other threads relating to a similar problem but with no resolution.

INTERNALERROR> return entry.path != cutdir1 and not entry.path.relto(cutdir2)
INTERNALERROR> AttributeError: 'str' object has no attribute 'relto'

@The-Compiler
Copy link
Member

Can you please try with the current master? This should've been fixed in #1142, but isn't released yet (but hopefully very soon).

@apallin
Copy link
Author

apallin commented Nov 19, 2015

Seems to be fixed on master. Any idea when this will come out or a workaround? This is blocking us quite a bit.

@The-Compiler
Copy link
Member

I'm closing this then. I hope the 2.8.3 release will be this week, see #1181.

@The-Compiler
Copy link
Member

2.8.3 just was released thanks to @RonnyPfannschmidt 🎉

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

No branches or pull requests

2 participants