Oslandia / albion

Migrated to: https://gitlab.com/Oslandia/albion
https://gitlab.com/Oslandia/albion
GNU General Public License v3.0
49 stars 17 forks source link

Python Error at early stage of Project creation #42

Closed SalimaEH closed 6 years ago

SalimaEH commented 6 years ago

QGIS and Albion have just been installed in Katco in Kazakhstan, wth the version 2.18.18 of QGIS When trying to create a new project in Albion > New Project, after naming the .qgs file and entering the SRID EPSG, an error occurs and no new project is created:

_Traceback (most recent call last): File "C:/PrLegacy/OSGEO4~1/apps/qgis-ltr/./python/plugins\albion\plugin.py", line 329, in __new_project if Project.exists(project_name): File "C:/PrLegacy/OSGEO4~1/apps/qgis-ltr/./python/plugins\albion\project.py", line 69, in exists with psycopg2.connect("dbname=postgres {}".format(cluster_params())) as con: File "C:\PrLegacy\OSGEO4~1\apps\Python27\lib\site-packages\psycopg2__init__.py", line 130, in connect conn = _connect(dsn, connection_factory=connectionfactory, **kwasync) OperationalError: FATAL: role "saelharradji" does not exist

So we cannot even create a new project and start to work on it. What do these error mean ?

vmora commented 6 years ago

Have you put capitals/spaces/accents in the project name ?

SalimaEH commented 6 years ago

No, even without any capital, space or accent, we have the same error message

vmora commented 6 years ago

The error could mean several things, I'll have to ask @DUGUEY if the Orano install has been tested successfully before.

vmora commented 6 years ago

Which version of windows are you using ?

SalimaEH commented 6 years ago

Okay, Emmanuel is anyway coming here tomorrow so we may also see it with him then :) We're using Windows 7.

vmora commented 6 years ago

Hi @SalimaEH, is Emmanuel around ? If it's the case, tell him that he can call me right away if the problem is still there.