Skip to content

Common installation roadblocks faced by new contributors

JingVT edited this page Mar 7, 2018 · 27 revisions

Here is a list of common installation roadblocks faced by new contributors on GraphSpace and how they can solved. Hope it helps.

Note: Try to include information about the OS used if possible.

Bower Not Found!

If you get an error log which ends in install.sh: 5: install.sh: bower: not found, please install bower and then run sudo bower install.

Using /home/lohani/open-source/GraphSpace_Venv/lib/python2.7/site-packages
Finished processing dependencies for GraphSpace-Server==1.2.0
System check identified some issues:

WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DEBUG.
Operations to perform:
  Apply all migrations: admin, contenttypes, auth, sessions
Running migrations:
  No migrations to apply.
install.sh: 5: install.sh: bower: not found

Bower Proxy Configuration!

If you are working behind a proxy, please install bower, add proxy settings in .bowercc file present in the root directory of the project as follows and then run sudo bower install.

.bowercc:
{
  "directory": "bower_components", 
  "proxy": "http://yourProxy:yourPort",
  "https-proxy":"http://yourProxy:yourPort",
}

Error: ConnectError(<urllib3.connection.HTTPConnectoin object ...)

The above mentioned error occurs while uploading a graph when elasticsearch is not running on your machine. Use these instructions to install elasticsearch.

Bower does not work properly

If the pages of GraphSpace are disordered, you may need to run the following commands in Command Prompt (cmd) or Windows PowerShell:

  • bower uninstall bootstrap
  • bower install bootstrap#3.3.7

Because bower installs bootstrap v4 automatically, however, GraphSpace supports bootstrap v3.3.7.

Can not access PostgreSQL database through SQL Shell (sqls) in Windows.

When you install the PostgreSQL in Windows, you are required to setup the password for the database superuser (postgres). Please remember this password and keep it safe. It is necessary when you access the PostgreSQL database.

Example: Run sqls, you may see

Server [localhost]:
Database [postgres]:
Port [5432]:
Username [postgres]:
Password for user postgres:

In order to access the PostgreSQL database, you need to enter the password for the database superuser (postgres) right after Password for user postgres:. You don’t need to enter anything on the first four rows.

Clone this wiki locally