-
Notifications
You must be signed in to change notification settings - Fork 17
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
Running pwsh fails, not finding a valid ICU package #33
Comments
I was about to post a bug report, I am getting the exact same error running on Manjaro as well. But after researching the issue and finding this article, I got PowerShell Core to run by setting an environment variable |
Same on fresh install of Fedora 30. Can run it with
|
@TravisEz13 can we include the required ICU pkg as part of the snap pkg? |
The message is a red herring. The ICU package is already included, otherwise the package just won't work.
|
I can confirm that I am getting the same error running the PowerShell 6.2.3 Snap on Manjaro. OS: Manjaro 18.1.0 |
I have a test snap to fix this issue. |
Just updated to Ubuntu 19.10 and I am seeing this issue as well with both the PowerShell and PowerShell-Preview snaps. @TravisEz13 The link you provided throws a not-authorized error for me, so couldn't test. |
I have a build in snap now you can try |
@TravisEz13 I removed the existing preview and reinstalled from the edge channell. No longer getting the ICU error, but that has been replaced with an immediate segfault. From syslog: kernel: [150425.945008] Code: Bad RIP value. |
I've published a new snap (I don't think it will fix your issue), can you update to that Can you run |
The latest revision fixed 16.04 and 18.04. Can you test it again using I'm going to release this as it addresses a bigger issue. |
@TravisEz13 I captured dumps from the prior test and pinged you on Twitter. With the prior fix (45 min ago) I was still getting core dumps. |
Hi, I'm running ubuntu 19.10 and even with your latest update provided I get the following if I don't set the environment variable before launching: |
Okay, I think I have a fix for this |
Working on Ubuntu 19.10 after that patch. You just made my day! |
I didn't want to switch to the preview just yet so I tried this and it fixed it for me on Ubuntu 19.10. This is the end of my .bashrc (starts pwsh inside tmux)
|
@jonstelly The changes to fix this were pretty big. I don't want to back port them at this point. |
Not a problem, I just wanted to add a bit of detail for the workaround for folks on 19.10 that couldn't move to the powershell preview yet. Thanks for getting it fixed for 7, I'm looking forward to trying out 7 soon. |
Some things regressed in the stable image when I was working on this. I back ported the safe changes. I tested it on 19.10 and it works for me: |
Thanks, worked for me. I just changed to install instead refresh: |
@agnutzmann Yeah, depends on your initial state. |
I released the fix for the |
Hi,
I have installed PowerShell using
snap
in Manjaro Linux; here's the output ofsnap --version
:And my PowerShell version (output of
snap list powershell
):And when I run
pwsh
, I get this error:I'm not sure what's happening here because I have package
[email protected]
installed on Manjaro.There's a discussion on PowerShell/PowerShell#9522, and also I saw from dotnet/core#2186 that apparently you can configure
runtimeOptions
for adotnet
app to disable globalization,I think it would be great if we didn't need to force a configuration to disable globalization, but anyway, even if I want to do it, I don't know where I can configure that option for the
snap
version of PowerShell.Thank you
The text was updated successfully, but these errors were encountered: