question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rich Presence is not showing - Ubuntu 18.04.1

See original GitHub issue

Please use this template only if issue related to Error / Unexpected behavior
Please use suitable tags

Step to reproduce

  1. Install atom-discord
  2. Add atom in the game activity in Discord.

Stacktrace

2 errors occure in ctrl+shift+i in Discord. It’s the same error that occure twice

Error: Error 1 when fetching info on 10672
    at 26b013b….js:40
e.(anonymous function) @ 26b013b….js:119

(link address) https://discordapp.com/assets/26b013b91aadec737cbd.js

Information

Platform: Ubuntu 18.04.1 LTS x86_64 Kernel: 4.15.0-36-generic Atom: apm 2.1.1 npm 6.2.0 node 8.9.3 x64 atom 1.31.2 python 3.6.5 git 2.17.1 Discord: couldn’t find a version number but it’s latest update is 16 Oct 2018

Package Version: 3cc031c 10 days ago link

Non-Core Packages

I supose this is other installed packages in atom? Else ignore this.

atom-live-server 2.3.0
busy-signal 1.4.3
file-icons 2.1.25
ftp-remote-edit 0.12.18
highlight-selected 0.14.0
intentions 1.1.5
language-htaccess 0.2.0
language-latex 1.2.0
language-markdown 0.27.0
latex-autocomplete 1.1.1
linter 2.2.0
linter-eslint 8.4.1
minimap 4.29.9
minimap-pigments 0.2.2
pigments 0.40.2

(disabled)
emmet 2.4.3
linter-jscs 4.1.3
linter-jshint 3.1.8
linter-sass-lint 1.8.3
linter-ui-defualt 1.7.1

What have I done?

I have followed the guide provided in the readme.md. I have tried all 3 metodes of installing atom-discord, via the in atom package manager, via terminal with apm and I’ve installed it via source, none have worked.

I did noticed however everytime i close atom, discord doesn’t find it again. As it is launced with a new PID. an example. (You can find this when hovering over the “last played 22 minutes ago” in game activity section)

First time adding Atom to the game activity /SNAP/ATOM/202/USR/SHARE/ATOM/ATOM --EXECUTED-FROM=/HOME/APOLLO --PID=10656

After rebooting Atom and adding it again /SNAP/ATOM/202/USR/SHARE/ATOM/ATOM --EXECUTED-FROM=/HOME/APOLLO --PID=14133

“APOLLO” here being my pc username.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
HelloWorld017commented, Oct 22, 2018

It means that discord-rpc could not find paths. ((prefix)/discord-ipc-0, 1, …) I don’t know why discord-rpc failed to connect to discord, but I have found an issue maybe relevant to you (discordjs/RPC#36). Please follow these steps and run atom in terminal.

in ~/.atom/packages/atom-discord/node_modules/discord-rpc/src/transports/IPC.js: Change line 125 to:

return `${prefix.replace(/\/$/, '')}/snap.discord/discord-ipc-${id}`;

Also, please double check discord is running while turning on atom. In most cases, message that could not connect means discord is not running.

0reactions
HelloWorld017commented, Mar 19, 2019

I’ve added the list to FAQ! Because there are nothing for me to do as this bug is not part of atom-discord, now I’m closing this issue. If the bug still exists after following the list, feel free to reopen!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wired Ethernet not working Ubuntu 18.04
I typed lshw -C at the terminal and among the output displayed there was no eth0 ( it refers to ethernet connection, no...
Read more >
FetchCord – Display Your System Info as Discord Rich Presence
FetchCord is a simple tool grabs your system information and displays it as Discord Rich Presence. FetchCord is written in Python 3 and ......
Read more >
Ubuntu Server Guide Basic installation Preparing to Install
The installer will display a warning with the following message: No disk drive was detected . I f you know the name of...
Read more >
Fix Discord Rich Presence Not Working [4 Simple Fixes 2022]
4. Re-enable rich presence for the game · Click on the Settings icon to go to User Settings. · Go to 'Activity Status'...
Read more >
Bug #1821533 “drm fails to accept edid version 2.4”
Bug #1821533 reported by Rich Drewes on 2019-03-24 ... 1:0.5.0-1ubuntu1~18.04.1 amd64 X.Org X server -- fbdev display driver.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found