Code Monkey home page Code Monkey logo

Comments (6)

 avatar commented on May 23, 2024

The example works completely fine on my end. Could you elaborate on your environment at runtime (i.e. system, Discord version, etc)?

from discord-rich-presence.

Vaimer9 avatar Vaimer9 commented on May 23, 2024

I am running the program using wsl, using the stable build, I have the discord desktop client on while I am running the program.

from discord-rich-presence.

 avatar commented on May 23, 2024

Ah. The issue is that you're trying to run it in WSL. While it's possible to communicate with Windows named pipes from the Linux subsystem in WSL 1, the same cannot be done in WSL 2.

With the amount of work it requires to get even WSL 1 working in such a manner, your best bet is unfortunately likely to be developing on Windows, or in a full installation of Linux.

from discord-rich-presence.

Vaimer9 avatar Vaimer9 commented on May 23, 2024

Well, shortly after i decided to go full linux and it still does not work getting the same error here, Maybe the prob is ubuntu as its the only same thing between the 2 environments

from discord-rich-presence.

 avatar commented on May 23, 2024

If that's the case, and the error is still appearing even when you run the example while Discord is open, then my best guess is that it would have to be an issue beyond the crate itself (i.e. with how you're running it, your system setup, etc).

As for Ubuntu, it has been successfully tested before, so I can't imagine that's the root issue here.

from discord-rich-presence.

echelon avatar echelon commented on May 23, 2024

I'm running this on vanilla Ubuntu 22.04 and am receiving the same error message.

Desktop Discord client:

Stable 152532 (a118a24) Host 0.0.20 Linux 64-Bit (5.15.0-48-Generic)

rustc 1.64.0

from discord-rich-presence.

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.