Difference between revisions of "Installation Problems"

From PANGU Wiki
Jump to: navigation, search
Line 3: Line 3:
  
 
== Licence not found ==
 
== Licence not found ==
The most common reason for this problem is failure to open a new terminal window after setting the '''PANGU_LICENCE_FILE''' environment variable. If you don't have a licence file for your machine then you must request one via the licence request page on the [https://pangu.software site pangu.software site].
+
The most common reason for this problem is failure to open a new terminal window after setting the '''PANGU_LICENCE_FILE''' environment variable. If you don't have a licence file for your machine then you must request one via the licence request page on the [https://pangu.software pangu.software site].
  
=== Note: used licence file <code>′′</code> ===
+
=== Note: used licence file ′′ ===
If the licence file used by PANGU is reported as the empty string <code>''</code> then you probably forgot to close the terminal/command window and open a new one after setting the '''PANGU_LICENCE_FILE''' environment variable. Environment variable changes will only apply to programs that are started '''after''' the change is made. So any existing windows will use the previous setting.
+
If the licence file used by PANGU is reported as the empty string ′′ then you probably forgot to close the terminal/command window and open a new one after setting the '''PANGU_LICENCE_FILE''' environment variable. Environment variable changes will only apply to programs that are started '''after''' the change is made. So any existing windows will use the previous setting.
  
 
=== The specified licence file is not found ===
 
=== The specified licence file is not found ===
Line 18: Line 18:
  
 
If the contents of the licence file are not displayed then the environment variable is wrong. Correct the error and remember to close the terminal and open a new one.
 
If the contents of the licence file are not displayed then the environment variable is wrong. Correct the error and remember to close the terminal and open a new one.
 +
 +
== QGtkStyle was unable to detect the current GTK+ theme ==
 +
This error might occur when running the PANGU Qt viewers under Linux when using XFCE, LXDE and possibly KDE desktops with Ubuntu 18.04. This affects any Qt application, not just PANGU.
 +
 +
The simplest solution is to define the following environment variable:
 +
 +
GTK2_RC_FILES="$HOME/.gtkrc-2.0:/etc/gtk-2.0/gtkrc"
 +
 +
If neither of those configuration files exists then create a text file called .gtkrc-2.0 in your home directory and add the following line of text to it:
 +
 +
  gtk-theme-name="GTK+"
 +
 +
Save the file and the issue ought to be resolved.
 +
 +
For more details see [http://alien.slackbook.org/blog/running-vlc-in-xfce/ http://alien.slackbook.org/blog/running-vlc-in-xfce/]

Revision as of 11:04, 29 January 2019

This page provides answers to issues that users have encountered when installing PANGU.

Licence not found

The most common reason for this problem is failure to open a new terminal window after setting the PANGU_LICENCE_FILE environment variable. If you don't have a licence file for your machine then you must request one via the licence request page on the pangu.software site.

Note: used licence file ′′

If the licence file used by PANGU is reported as the empty string ′′ then you probably forgot to close the terminal/command window and open a new one after setting the PANGU_LICENCE_FILE environment variable. Environment variable changes will only apply to programs that are started after the change is made. So any existing windows will use the previous setting.

The specified licence file is not found

Check that the PANGU_LICENCE_FILE environment variable is set correctly. At a Windows/DOS/cmd.exe prompt type:

type %PANGU_LICENCE_FILE%

For Linux users type:

cat $PANGU_LICENCE_FILE

If the contents of the licence file are not displayed then the environment variable is wrong. Correct the error and remember to close the terminal and open a new one.

QGtkStyle was unable to detect the current GTK+ theme

This error might occur when running the PANGU Qt viewers under Linux when using XFCE, LXDE and possibly KDE desktops with Ubuntu 18.04. This affects any Qt application, not just PANGU.

The simplest solution is to define the following environment variable:

GTK2_RC_FILES="$HOME/.gtkrc-2.0:/etc/gtk-2.0/gtkrc"

If neither of those configuration files exists then create a text file called .gtkrc-2.0 in your home directory and add the following line of text to it:

 gtk-theme-name="GTK+"

Save the file and the issue ought to be resolved.

For more details see http://alien.slackbook.org/blog/running-vlc-in-xfce/