evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.05k stars 716 forks source link

Pencil Project installation Issue on ubuntu 18.04 LTS #512

Open waynelwh opened 6 years ago

waynelwh commented 6 years ago
DarkSuniuM commented 6 years ago

Go the the directory that .deb file exists in it and try sudo apt install ./Pencil_3.0.4_amd64.deb && sudo apt install -f I just installed it using apt today

waynelwh commented 6 years ago

Thanks for your reply! I have tried your way to install but it doesn't have any difference. The software icon is in "Show Application" but it cannot be opened like it is just a icon there. Also, it still cannot be found in "installed" in "Ubuntu Software". Apart from this, I previously got problem when I tried opening setting since it would be crashed and going back to the login page. I suspect it may be caused by removing the pencil project but I am not so sure about this since the problem was solved by downloading the drivers(fyi: https://ubuntuforums.org/showthread.php?t=2391819).

cavalcanteJr commented 5 years ago

I resolved my problem executing the commando to install a missing library packages. Try it:

sudo apt install libgconf-2-4

eternalamit5 commented 4 years ago

Thanks!! the below command worked for me. sudo apt install libgconf-2-4

omidraha commented 4 years ago

I installed latest version ofpencil from deb file,

# dpkg -i pencil_3.1.0.ga_amd64.deb 
Selecting previously unselected package pencil.
(Reading database ... 430013 files and directories currently installed.)
Preparing to unpack pencil_3.1.0.ga_amd64.deb ...
Unpacking pencil (3.1.0.ga) ...
Setting up pencil (3.1.0.ga) ...
# 

But nothing happen when i run it from Application launcher menu.

I also try to run it from the command line:

$ pencil 

(pencil:10562): Gtk-WARNING **: 23:54:18.912: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(pencil:10562): Gtk-WARNING **: 23:54:18.912: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(pencil:10562): Gtk-WARNING **: 23:54:18.912: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Hardware acceleration disabled for Linux.
Background web-printer started.
Shortcut main service started.
Shortcut: Super+F12 registered
RENDERER started.

Info (kubuntu):

# lsb_release  -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:   bionic

Also I have this package:

# sudo apt install libgconf-2-4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgconf-2-4 is already the newest version (3.2.6-4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I also try to install from source but after running with npm start command, I got exactly the same error as before:

$ npm start

> Pencil@ start /home/or/ws/prj/git/pencil
> electron ./app

(electron:14405): Gtk-WARNING **: 01:09:13.490: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(electron:14405): Gtk-WARNING **: 01:09:13.490: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(electron:14405): Gtk-WARNING **: 01:09:13.490: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
useHWAConfig:  undefined
Hardware acceleration disabled for Linux.
Background web-printer started.
Shortcut main service started.
Shortcut: Super+F12 registered
RENDERER started.
foxMclion commented 4 years ago

@omidraha same issue here. did you find a solution?

omidraha commented 4 years ago

@omidraha same issue here. did you find a solution?

Unfortunately No, But I installed unofficial version of pencil by snap successfully:

sudo apt update
sudo apt install snapd
sudo snap install pencil-snap-demo
GlasierXplor commented 4 years ago

@omidraha same issue here. did you find a solution?

Hey I couldn't start the software either, even after reinstalling. Then I tried to debug the software using strace, and Pencil magically started. And it starts seemingly normally after that. Not sure if it is just my laptop/system but do try HAHAHAHA.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
strace pencil
sparkyx commented 4 years ago

With Ubuntu 18.04 , Pencil works fine, but on 20.04 , I have the same problem : to start pencil I need to use strace ,

` lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal

`

lmorandini commented 4 years ago

Same here, thanks for the tip on using strace. lsb_release -a LSB Version: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal

rohankshirsagar26 commented 4 years ago

@omidraha same issue here. did you find a solution?

Unfortunately No, But I installed unofficial version of pencil by snap successfully:

sudo apt update
sudo apt install snapd
sudo snap install pencil-snap-demo

How to uninstall this one ? I installed but now official version is started properly working on my ubuntu. Unable to uninstall this unofficial snap version. Please help !

omidraha commented 4 years ago

$ sudo snap remove pencil-snap-demo

michael-maheriniaina commented 3 years ago

@omidraha same issue here. did you find a solution?

Hey I couldn't start the software either, even after reinstalling. Then I tried to debug the software using strace, and Pencil magically started. And it starts seemingly normally after that. Not sure if it is just my laptop/system but do try HAHAHAHA.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
strace pencil

This response work for me

0100010089 commented 2 years ago

Go the the directory that .deb file exists in it and try sudo apt install ./Pencil_3.0.4_amd64.deb && sudo apt install -f I just installed it using apt today

Works like a charm in Debian 11! Thank you!