-
Notifications
You must be signed in to change notification settings - Fork 17
Installation problem #75
Comments
@mhugo this is a weird bug with pglite isn't it ? |
I tried to install PostGres (the full version) on this computer... and... It didn't work... |
Not a good idea, it may be the other postgres install that conflicts with pglite. Normally you shouldn't need anything else that the provided installer. |
Hi @MKeromnes.
|
the command to launch is actually:
@mhugo I suppose the modified path has no effect for pglite. It works on other installs. |
Same problems for the instalation...... ImportError: No module named pglite Versión de Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] Ruta de Python: |
Could you give us a bit more information about the plugin? I'm really interested on it but I'm having a lot of problems to install it. |
Hello Cesar, Albion is still being worked on, and we agree that installation is not as easy as it could be. If you have trouble installing or using it, Oslandia provides full support for this software package. Please contact Oslandia directly for more information. If you have specific technical problems, please create a new issue for each. |
I'm very excited at the possibilities that Albion offers, it is a breakthrough indeed. I would gladly be a part of a contributing community. Sadly though it remains beyond my reach and possibly beyond the reach of ordinary geologists everywhere who do not have the computing/programming/scripting knowledge to navigate through the complicated installation in the absence of a user-friendly guide to do so to get it working in QGIS. I've pretty much given up but will check back occasionally to see if the whole thing has been demystified and explained. |
Hi Vincent, I'm working in Linux, with QGIS 2.18. I've managed the install however I have the message "This Plugin is broken - No module named pglite" I've installed pglite but I'm still getting the same message. Do you have any suggestions? Kind regards, Edd |
@KoalaGeo this looks like a python issue, have you installed pglite with python2 or python3 ? |
I'm running Python 2.7. I installed pglite using the "Example" instructions @ https://github.com/Oslandia/pglite |
Did you play around with python like in the example ? Did you install it in the vurtualenv or systemwide ? If you installed in virtualenv, the error is to be expected because qgis has no access to it. |
Ah that was it, hadn't installed systemwide, although now I've got "ImportError: No module named QtOpenGL" Think I'll just wait for now until Albion hopefully finds its way to the plugin manager. |
I'm having trouble trying to install albion. It looks quite promising and could add a lot of utility to QGIS. I am a geologist with hardly any coding background so I think that is my main problem! It says "No module named 'pglite'" ModuleNotFoundError: No module named 'pglite' Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] Python Path: Thanks for any tips. |
Hi everyone! I've been getting such error when trying to run the plugin: Couldn't load plugin 'albion-master' due to an error when calling its classFactory() method RuntimeError: Can't find pg_ctl Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] Python Path: I have already intalled all the dependencies but I am still not using the plugin. Could you help me? |
I followed the tutorial for pglite installation (https://github.com/Oslandia/pglite) hoping that it was the problem but I got the same error: C:\Windows\System32>ipython In [1]: import pglite In [2]: import psycopg2 In [3]: pglite.init_cluster()RuntimeError Traceback (most recent call last) C:\OSGEO4~1\apps\Python37\lib\site-packages\pglite\pglite.py in init_cluster(pg_ctl_path) C:\OSGEO4~1\apps\Python37\lib\site-packages\pglite\pglite.py in die(msg) RuntimeError: Can't find pg_ctl |
Hi All, Albion looks very promising but I must say I'm struggling a lot to figure out how to get it installed. After solving a few errors, I now struggle with that one, for which I have no idea how to solve it: Impossible de charger l'extension 'albion-master' provoque une erreur lors de l'appel à sa méthode classFactory() IndexError: list index out of range Version de Python : 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] If someone has a clue about how to get it solved I'd be grateful. Thanks a lot. |
yes is a process to install, I managed to get it working on alex4034, I had the same problem althought it looks like you are on windows, but I think if you check C:\OSGEO41\apps\Python37\lib\site-packages\pglite\pglite.py and have a look to see if your version of postgres is listed (line 74), edit one of the lines to the relevant version. My notes to install are below, I already had qgis, python and postgres/postgis installed etc. so could be different for others but might still help... apt install python3-opengl apt install libcgal13 download and install fourmy from git apt install python3-mock psql in database pip install pglite edit |
Hi everyone,
I tried to install Albion on a computer and it doesn't work. (I succeed to install albion on few computers)
This is the error message:
Impossible de charger l'extension albion provoque une erreur lors de l'appel de sa méthode classFactory()
IOError: [Errno 2] No such file or directory: 'C:\Users\kouadio.adou\.pglite\pg_data\postgresql.conf'
Traceback (most recent call last):
File "C:/PrLegacy/OSGEO4
1/apps/qgis-ltr/./python\qgis\utils.py", line 333, in startPlugin1/apps/qgis-ltr/./python/plugins\albion_init_.py", line 4, in classFactoryplugins[packageName] = package.classFactory(iface)
File "C:/PrLegacy/OSGEO4
from .plugin import Plugin
File "C:/PrLegacy/OSGEO4
1/apps/qgis-ltr/./python\qgis\utils.py", line 607, in _import1/apps/qgis-ltr/./python/plugins\albion\plugin.py", line 16, inmod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/PrLegacy/OSGEO4
from .project import ProgressBar, Project, find_in_dir
File "C:/PrLegacy/OSGEO4
1/apps/qgis-ltr/./python\qgis\utils.py", line 607, in _import1/apps/qgis-ltr/./python/plugins\albion\project.py", line 16, inmod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/PrLegacy/OSGEO4
init_cluster()
File "C:\PrLegacy\OSGEO4~1\apps\Python27\lib\site-packages\pglite\pglite.py", line 98, in init_cluster
with open(os.path.join(PGLITE_DB_PGDATA, "postgresql.conf"), "a") as f:
IOError: [Errno 2] No such file or directory: 'C:\Users\kouadio.adou\.pglite\pg_data\postgresql.conf'
Version de Python : 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
Version de QGIS : 2.18.18 Las Palmas, b33566195a
Thanks a lot for the support!
The text was updated successfully, but these errors were encountered: