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
Failed to install stestr on mac 10.13.4 #163
Comments
So this looks like a bug in PBR based on the stack trace, but I haven't confirmed that. Just curious which versions of pbr and pip are on your system? Stestr isn't really doing anything special in its pbr usage. So I don't have any hints off the top of my head on what is causing this. |
Thanks @mtreinish, |
Ok cool, there is known issue with windows and pbr 4.0.0. So it's good to rule that out here. Pip 10 was just released, do you have the same issue with pip <10? I don't have a Mac environment to test things on, but I'm thinking pip 10 might have changed something and that's causing the issue. |
FYI, I just tested to install stestr with pip on my mac(Mac mini). And there's no issue for the installation. My environment:
|
@masayukig yeah I'm thinking the issue here is a mix of localization settings having git use unicode characters and pbr < 4.0.2. I just took a look at recent pbr commits and came across: openstack/pbr@7767c44 which seems to support this idea. So we need to see if the issue persists on 4.0.2. If using pbr 4.0.2 fixes this that's good and we know how to workaround this for now. But we'll have a potential issue when we try to release stestr next. We had to cap the pbr version in stestr because of a bug in pbr: https://bugs.launchpad.net/pbr/+bug/1761134 on windows. So we'll have to sort that out if we need pbr 4.0.2 to fix this. |
@mtreinish ok, I see and agree with that. FYI, I've also tested with some combinations like pbr3.1.1 and environment variables(LC_ALL, LANG, etc). But I couldn't reproduce the issue yet, though. But I think there are still some differences from @TommyLike 's environment. So, this is not so surprising. |
Thanks @mtreinish and @masayukig, Now I would like to try another mac to see if this is a individual issue:) |
I'm curious what the output of git --version looks like on TommyLike's system. On mine it's this: [bnemec@RedHat ~]$ git --version I suppose it's possible that if "version" is localized it could end up with unicode data in it. |
thanks @cybertron, looks like normal.
|
The bug is finally located, I have to append these two lines in my zshrc file.
|
Thanks everyone:) |
@TommyLike I think that's just a workaround. So, I think the issue isn't resolved yet. Especially for multibytes language environment users like us :) @mtreinish I think we shouldn't close this issue yet. What do you think? |
Yeah, I consider setting a different localization setting as just a workaround not actually a fix for the bug. We really should be able to make this work in an environment with any localization settings. That being said I think this is still probably a pbr bug of some sort. I'm fine with keeping this open until we get it truly sorted. |
Weird, that version output doesn't appear to have any unicode characters in it. I wonder if there's an error/warning message in the actual call that has unicode. I've run into something like that before. Anyway, it seems like we should probably make pbr handle unicode from this call. It would be helpful if we can get a reproducer so we can verify that any fixes actually work. |
I'm closing this since we haven't been able to reproduce it in the year since and I haven't seen any more details on this. |
This package can not be installed on mac 10.13.4, this is the error message when installing.
The text was updated successfully, but these errors were encountered: