Coder Social home page Coder Social logo

Comments (41)

mangkoran avatar mangkoran commented on June 18, 2024 1

Downloaded. Going to test it now.

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Already tried this, but it still the same (need to manually open apps from Linux terminal). I guess even without this script, it should be fine?

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

I am assuming you have GWSL 1.3.7? This should be fixed in GWSL 1.3.8 but just in case it is not, what language/region is your pc and wsl set to?

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Also, do you have the store version or github installer version of GWSL?

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

I reported this issue in 1.3.7, then tried the 1.3.8. Both still have the issue. I use GitHub version for both too.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

And what language again? Sorry. It is an encoding issue

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

I guess this is what you asking?
image
Windows

image
WSL

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Thanks. Thinking...

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Here is a test build that should solve the issue. I did not have time to wrap it in an installer but you can extract it as is and run gwsl.exe. Just testing the app-launcher would be good.

Drive is the fastest way of sharing I can think of. I will remove the link after you get it

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Still no luck. I cannot see any logfiles created.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Logfiles will still be in appdata/roaming/gwsl

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Aside from cannot launch emacs from Shortcut Creator, the Linux Apps also displaying loading screen continuously. This is from 1.3.8 and still persist in your recently given build.
image

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

The only modified logfile is service.log.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

What version and build of windows 10 do you have?

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Service.log is unrelated... Wait did you edit your settings.json manually or add a profile?

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Edition Windows 10 Home
Version 20H2
Installed on ‎3/‎23/‎2021
OS build 19042.928
Experience Windows Feature Experience Pack 120.2212.551.0

And no I didn't edit anything.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

And you have wsl upgraded to at least support wsl2? The machines themselves do not need to be converted to 2

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Yes my Arch is on WSL2.

Turns out the dashboard.log is modified earlier.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

That is helpful but these do not mention anything about the new build 5 I sent you... Can you close any previously opened gwsl and run from the new folder again?

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Still no luck. The dashboard.log is not updated either.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Hmm... can you possibly delete the appdata/roaming/GWSL folder completely and then restart the machine?

Technically the error should be fixed so I have no idea what is going on

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Deleted and restarted, but still cannot launch any Apps.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Any new logs now?

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Only service.log.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

I know you did not change it but can you post your settings.json file?

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Renamed it to .txt because GitHub doesn't support JSON settings.json.txt.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Oh! I think I know what is going on. Did you allow GWSL through the firewall when it asked?

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

And the app launcher still finds nothing and spins? Did it in 1.3.7? Sorry I think this is a combination of issues some of which are not bugs

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Yes I allowed all of them. I tried to remove and re-add the entries (pointing to GWSL_instance.exe and GWSL_vcxsrv.exe. And yet still can't launch app.

And the app launcher still finds nothing and spins? Did it in 1.3.7? Sorry I think this is a combination of issues some of which are not bugs

Yes, it spins the whole time. In 1.3.7 it was fine. It showed the list of the apps, but cannot launch them.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Hope we are not wasting each other's time with confusion.. This is very bizarre. Especially since dashboard.log is never updated. Can you access the path \\wsl$ in explorer?

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Yes I can image

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Rebuilt again... https://drive.google.com/file/d/1gwgvNryQEZD7HBWwQIdEXdb6b3XWooBy/view?usp=sharing

This one will print debug info to a live window. If it crashes copy the text from the debug window and it will close automatically in 10 seconds

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

This is the error log.
image

I tinkered a bit around the error log, and found the issue. I also managed to fix the issue, which is something to do with my fish 's conf.d. Will update you tomorrow. It's 2 a.m. here.

If you guessed it's about the terminal color, yep the issue is around that.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

Sleep well!

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Just woke up. I immediately test both Shortcut Creator and Linux Apps, resuming yesterday solution. Both running fine now! I will elaborate my findings.

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

My current setup:

  • ArchWSL, WSL2, running in Windows Terminal
  • Fish shell, with some additions:
    • ohmyfish, nvm, pure (from ohmyfish), base16-fish
  • GWSL 1.3.8 build 7

Referring to the error produced earlier, I suspect it has something to do with color settings. In my .config/fish/conf.d folder (which will be initialized every time I open a new terminal window), there is base16.fish. It calls base16-* function, which then set some shell variables for colors. The error message earlier indicate that some of the command in the base16-fish function called is not executed properly, and throwing the error when I tried to open the Linux Apps menu. It's the same when I tried to call a program from Shortcut Creator, but the error from Linux Apps menu has more information about the issue.

image

After I disabled (commented all the lines) base16.fish, it works normally. I am able to launch program from both Shortcut Creator and Linux Apps. I don't know what is really happening here, but it's clearly the base16-fish that causing the error. If you need more information or wants me to do something, let me know.

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Further investigation:

Testing this solution to previous build you have shared (public beta `1.3.8 build 4 and private beta 1.3.8 build 5 you shared). In build 4 the Linux Apps is showing the list of apps, so I guess it's working. But I cannot launch the app from it. In build 5, the issue is gone. So I think the problem you mentioned before (encoding) is the main issue for me.

Here is a test build that should solve the issue. I did not have time to wrap it in an installer but you can extract it as is and run gwsl.exe. Just testing the app-launcher would be good.

Drive is the fastest way of sharing I can think of. I will remove the link after you get it

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

By any chance can you share your fish configuration and theme? Then I can try to harden the system from more bugs related to this. But everything is working normal now without too many changes to your system?

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

I will share it tomorrow.

But everything is working normal now without too many changes to your system?

Yes. I think my method to change the terminal color was not typically used (because Windows Terminal theming is pain in the ass). I only use it for this WSL installation. I don't use this "change terminal color" method in my Linux because usually any terminal emulator provide a way to customize it's color.

from gwsl-source.

mangkoran avatar mangkoran commented on June 18, 2024

Sorry for the late reply. Here is the repo for the fish config.

from gwsl-source.

Pololot64 avatar Pololot64 commented on June 18, 2024

No problem (: Thanks!

from gwsl-source.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.