LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2017, 03:30 AM   #1
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Rep: Reputation: Disabled
Ubuntu 16.04 LTS Discord Not Installing Properly


This is what I get when I type discord in terminal

averyfb@averyfb-desktop:~$ discord
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
Discord 0.0.2
Uncaught exception:
Error: Cannot find module '../Request'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/snap/discord/19/usr/share/discord/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at new Modules (/snap/discord/19/usr/share/discord/resources/app.asar/common/Modules.js:63:52)
at initModules (/snap/discord/19/usr/share/discord/resources/app.asar/index.js:195:13)
at /snap/discord/19/usr/share/discord/resources/app.asar/index.js:627:7
at Socket.<anonymous> (/snap/discord/19/usr/share/discord/resources/app.asar/singleInstance.js:117:5)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1281:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
/snap/discord/19/usr/share/discord/resources/electron.asar/common/reset-search-paths.js:0



Error: Cannot find module '../dialog'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/snap/discord/19/usr/share/discord/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.get [as dialog] (/snap/discord/19/usr/share/discord/resources/electron.asar/browser/api/exports/electron.js:11:16)
at process.<anonymous> (/snap/discord/19/usr/share/discord/resources/app.asar/index.js:427:25)
at emitOne (events.js:101:20)
at process.emit (events.js:188:7)
at process._fatalException (bootstrap_node.js:300:26)
averyfb@averyfb-desktop:~$

Any input would be nice. Thanks for taking the time to help me.
 
Old 08-20-2017, 06:15 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
How did you install Discord? Were there any error or warning messages at the time?
 
Old 08-20-2017, 07:11 AM   #3
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
How did you install Discord? Were there any error or warning messages at the time?
I downloaded it from the website and installed through Ubuntu Software Center. And no

Last edited by AveryFB; 08-20-2017 at 07:11 AM. Reason: Spelling
 
Old 08-20-2017, 07:29 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Thanks. Can you please paste the output from the following commands to check that certain components have installed correctly:

Code:
ls -l /usr/share/discord/

ls -l /usr/share/lintian/overrides/discord
Have you tried contacting Discord for help on this issue?

Also, are you running 32-bit or 64-bit Ubuntu?
 
Old 08-20-2017, 08:21 AM   #5
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Thanks. Can you please paste the output from the following commands to check that certain components have installed correctly:

Code:
ls -l /usr/share/discord/

ls -l /usr/share/lintian/overrides/discord
Have you tried contacting Discord for help on this issue?

Also, are you running 32-bit or 64-bit Ubuntu?
Maybe It isnt installed then? Because I get this output

averyfb@averyfb-desktop:~$ ls -l /usr/share/discord/
ls: cannot access '/usr/share/discord/': No such file or directory
averyfb@averyfb-desktop:~$ ls -l /usr/share/lintian/overrides/discord
ls: cannot access '/usr/share/lintian/overrides/discord': No such file or directory
averyfb@averyfb-desktop:~$

And I dont know to be honest 64 I think
 
Old 08-20-2017, 08:41 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Ok. I've had problems with installing programs through Ubuntu Software Center in the past, so I recommend installing debs with the gdebi installer instead.

Can you check to see if you have gdebi installed:

Code:
dpkg -l gdebi
 
Old 08-20-2017, 10:03 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I'd reinstall it using in a terminal:
Code:
wget https://dl.discordapp.net/apps/linux/0.0.2/discord-0.0.2.deb
sudo apt-get install libc++1
sudo dpgk -i discord-0.0.2.deb
then I ran it.
 
2 members found this post helpful.
Old 08-20-2017, 09:33 PM   #8
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok. I've had problems with installing programs through Ubuntu Software Center in the past, so I recommend installing debs with the gdebi installer instead.

Can you check to see if you have gdebi installed:

Code:
dpkg -l gdebi
Nope guess I dont got it. How do I get it?
 
Old 08-20-2017, 09:34 PM   #9
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
I'd reinstall it using in a terminal:
Code:
wget https://dl.discordapp.net/apps/linux/0.0.2/discord-0.0.2.deb
sudo apt-get install libc++1
sudo dpgk -i discord-0.0.2.deb
then I ran it.
Did all that. When I click it is says its running but it wont let me like actually use it. Also you meant dpkg
 
1 members found this post helpful.
Old 08-21-2017, 04:13 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Quote:
Originally Posted by AveryFB View Post
Nope guess I dont got it. How do I get it?
Code:
sudo apt-get install gdebi
Then you can invoke it by right-clicking on a deb file and selecting Open with GDebi Package installer.

However, Habitual's command line method should also have worked - I just wanted to give you a GUI installer alternative to the sometimes buggy Ubuntu Software Center. So, it appears that there is another problem here.

Can you check that there are now files properly installed as in post #4.

Also, what do you mean by "it wont let me like actually use it"?
 
Old 08-23-2017, 02:25 AM   #11
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Code:
sudo apt-get install gdebi
Then you can invoke it by right-clicking on a deb file and selecting Open with GDebi Package installer.

However, Habitual's command line method should also have worked - I just wanted to give you a GUI installer alternative to the sometimes buggy Ubuntu Software Center. So, it appears that there is another problem here.

Can you check that there are now files properly installed as in post #4.

Also, what do you mean by "it wont let me like actually use it"?
I tried with gdebi and it still wont work. And I meant I click it but nothing happens but I says its installed. Also sorry for late reply
 
Old 08-23-2017, 08:31 AM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Quote:
Originally Posted by AveryFB View Post
I tried with gdebi and it still wont work. And I meant I click it but nothing happens but I says its installed. Also sorry for late reply
Can you check that there are now files properly installed as in post #4.
 
Old 08-23-2017, 08:14 PM   #13
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Can you check that there are now files properly installed as in post #4.
The discord could just be a buggy version

averyfb@averyfb-desktop:~$ ls -l /usr/share/discord/
total 122740
-rw-r--r-- 1 root root 24844 Jul 28 14:23 blink_image_resources_200_percent.pak
-rw-r--r-- 1 root root 15 Jul 28 14:23 content_resources_200_percent.pak
-rw-r--r-- 1 root root 10141945 Jul 28 14:22 content_shell.pak
-rwxr-xr-x 1 root root 80366400 Aug 8 14:30 Discord
-rw-r--r-- 1 root root 314 Aug 8 14:30 discord.desktop
-rw-r--r-- 1 root root 29273 Apr 5 12:20 discord.png
-rw-r--r-- 1 root root 10130464 Jul 28 14:22 icudtl.dat
-rw-r--r-- 1 root root 2960824 Aug 8 14:30 libffmpeg.so
-rw-r--r-- 1 root root 20284304 Aug 8 14:30 libnode.so
drwxr-xr-x 2 root root 4096 Aug 23 00:38 locales
-rw-r--r-- 1 root root 342741 Jul 28 14:22 natives_blob.bin
-rw-r--r-- 1 root root 139838 Jul 28 14:24 pdf_viewer_resources.pak
-rwxr-xr-x 1 root root 530 Aug 8 14:30 postinst.sh
drwxr-xr-x 3 root root 4096 Aug 23 00:38 resources
-rw-r--r-- 1 root root 993500 Jul 28 14:22 snapshot_blob.bin
-rw-r--r-- 1 root root 163267 Jul 28 14:23 ui_resources_200_percent.pak
-rw-r--r-- 1 root root 60144 Jul 28 14:22 views_resources_200_percent.pak
averyfb@averyfb-desktop:~$ ls -l /usr/share/lintian/overrides/discord
-rw-r--r-- 1 root root 192 Aug 8 14:30 /usr/share/lintian/overrides/discord
averyfb@averyfb-desktop:~$
 
Old 08-28-2017, 05:15 AM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Quote:
Originally Posted by AveryFB View Post
The discord could just be a buggy version

averyfb@averyfb-desktop:~$ ls -l /usr/share/discord/
total 122740
-rw-r--r-- 1 root root 24844 Jul 28 14:23 blink_image_resources_200_percent.pak
-rw-r--r-- 1 root root 15 Jul 28 14:23 content_resources_200_percent.pak
-rw-r--r-- 1 root root 10141945 Jul 28 14:22 content_shell.pak
-rwxr-xr-x 1 root root 80366400 Aug 8 14:30 Discord
-rw-r--r-- 1 root root 314 Aug 8 14:30 discord.desktop
-rw-r--r-- 1 root root 29273 Apr 5 12:20 discord.png
-rw-r--r-- 1 root root 10130464 Jul 28 14:22 icudtl.dat
-rw-r--r-- 1 root root 2960824 Aug 8 14:30 libffmpeg.so
-rw-r--r-- 1 root root 20284304 Aug 8 14:30 libnode.so
drwxr-xr-x 2 root root 4096 Aug 23 00:38 locales
-rw-r--r-- 1 root root 342741 Jul 28 14:22 natives_blob.bin
-rw-r--r-- 1 root root 139838 Jul 28 14:24 pdf_viewer_resources.pak
-rwxr-xr-x 1 root root 530 Aug 8 14:30 postinst.sh
drwxr-xr-x 3 root root 4096 Aug 23 00:38 resources
-rw-r--r-- 1 root root 993500 Jul 28 14:22 snapshot_blob.bin
-rw-r--r-- 1 root root 163267 Jul 28 14:23 ui_resources_200_percent.pak
-rw-r--r-- 1 root root 60144 Jul 28 14:22 views_resources_200_percent.pak
averyfb@averyfb-desktop:~$ ls -l /usr/share/lintian/overrides/discord
-rw-r--r-- 1 root root 192 Aug 8 14:30 /usr/share/lintian/overrides/discord
averyfb@averyfb-desktop:~$
That looks fine. Something is definitely awry though - I just downloaded discord-0.0.2.deb from the website and installed it with GDebi on my Mint 18.2 setup (equivalent to Ubuntu 16.04), and it launches correctly.

Running discord from the command line, what output do you get?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install Discord on Ubuntu Linux LXer Syndicated Linux News 0 05-01-2017 01:50 PM
LXer: Canonical Patches OpenSSL Regression in Ubuntu 16.04 LTS, 14.04 LTS and 12.04 LTS LXer Syndicated Linux News 0 09-27-2016 12:32 PM
LXer: Watch: Ubuntu 16.04 LTS Will Properly Integrate the Unity Launcher with Nautilus LXer Syndicated Linux News 0 02-14-2016 09:22 PM
Lan messneger notw orking properly in ubuntu 12.04 and 14.04 lts prasanth.george Linux - Newbie 6 05-29-2014 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration