Giter Club home page Giter Club logo

umap_ynh's Issues

Ouverture des droits

C'est possible de m'ouvrir les droits sur cette app pour que je pousse un peu de code ?

Merci

uMap 1.0

Hi!

Just discovered this repository, that's really cool!

FYI, uMap 1.0 is on its way, see https://github.com/umap-project/umap/blob/master/docs/changelog.md#100rc-1

Two warnings about this:

  • python 2 support has been dropped (because of the upgrade to Django 2.x)
  • DB migrations has been reset (because of the merge of django-leaflet-storage inside uMap)

Let me know if I can do anything on uMap side to make your life simpler!

I've installed it from source (to test) on a rpi and I've an error (https://framacloud.org/cultiver-son-jardin/installation-de-umap/)

-- Subject: L'unité (unit) uwsgi.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) uwsgi.service a commencé à démarrer.
avril 07 00:03:28 yunohost.local uwsgi[25358]: Starting app server(s): uwsgi -> . ! failed!
avril 07 00:03:28 yunohost.local systemd[1]: uwsgi.service: control process exited, code=exited status=1
avril 07 00:03:28 yunohost.local systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
-- Subject: L'unité (unit) uwsgi.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) uwsgi.service a échoué, avec le résultat failed.
avril 07 00:03:28 yunohost.local systemd[1]: Unit uwsgi.service entered failed state.

notworking?

Hello together, thank you for working on a umap package for yunohost. What can I do to bringt this project to a working status? I am no help in packaging, but I love and use umap very often and would love to run it on my productive yunohost instance. What can I do besides strongly encouriging you?

Missing postgres password in local.py

During the install, we setup a local.py to specify settings for Django.

However, we're missing a password for that. I get the following:

  File "/var/www/umap/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/core/management/base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 85, in handle
    connection.prepare_database()
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 25, in prepare_database
    with self.cursor() as cursor:
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 256, in cursor
    return self._cursor()
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 233, in _cursor
    self.ensure_connection()
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
    self.connect()
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection
    self.connect()
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/db/backends/base/base.py", line 195, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/var/www/umap/venv/lib/python3.5/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/var/www/umap/venv/lib/python3.5/site-packages/psycopg2/__init__.py", line 126, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: fe_sendauth: no password supplied

After the failure, I have the following in my local.py:

DATABASES = {
    'default': { ... }
}

Where only ENGINE and NAME are specified.

I suppose we need to add PASSWORD there too?

And which one? I am not clear on where that password is generated. Is it the one in /etc/yunohost/psql or is another one generated? Also, I am not sure which helper to use, since there is nothing to "replace" because PASSWORD is not given in the template.

Hope that makes sense! Nearly there with getting this nice application back into a working shape. Thanks for the work so far.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.