Git Product home page Git Product logo

Comments (6)

patrick330602 avatar patrick330602 commented on May 18, 2024 1

Thanks for telling me this. I will update the way wslu handles WSL checking (some times later). I am busy currently for my final exam but I will implement the feature as soon as possible. Thank you very much for the help!

from wslu.

patrick330602 avatar patrick330602 commented on May 18, 2024

what is the output of your wslupath -d -H?

from wslu.

onuralpszr avatar onuralpszr commented on May 18, 2024

what is the output of your wslupath -d -H?

/usr/bin/wslupath: line 105: /mnt/c/WINDOWS/system32/cmd.exe: cannot execute binary file Exec format error.

from wslu.

patrick330602 avatar patrick330602 commented on May 18, 2024

Interesting.... what's the version of wslu you are using? (check using wslsys -v), also what's the output of /mnt/c/WINDOWS/system32/cmd.exe /c "echo %appdata%" 2>&1 | tr -d "\r"?

from wslu.

onuralpszr avatar onuralpszr commented on May 18, 2024

WSLSYS version = v1.9.25
Command Output : C:\Users(my username)\AppData\Roaming

Sorry for late answers (because of work and time difference)

from wslu.

onuralpszr avatar onuralpszr commented on May 18, 2024

I just noticed something, after I opened the laptop and type comment to this issue I re-typed "wslupath -d -H" and give me a proper result : "C:\Users\(username)"

And of course ;
└> wslusc code
[info] Create shortcut code.lnk successful.

I'm gonna try to do how can I cause this error. But I'm pretty sure I did change anything super "system wide" side. Because mostly I did "python development in "user" folder didn't even touch the anything super important but I don't know why is it working now.


Edit 2 : I found it.

https://docs.microsoft.com/en-us/windows/wsl/interop

Yesterday I disabled interop via;

$ echo 0 > /proc/sys/fs/binfmt_misc/WSLInterop

but after I exit all my sessions it never come back even I type

$ echo 1 > /proc/sys/fs/binfmt_misc/WSLInterop

So after "my restarting pc" must be corrected.

So there could be "checking If it is "0" or "1" so shouldn't have that "crazy amount of output and random folders created by command/script

I hope it will be helpful.
Thank you.

from wslu.

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.