[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configuration: gmg dbupdate error
From: |
Boris Bobrov |
Subject: |
Re: Configuration: gmg dbupdate error |
Date: |
Sat, 9 Nov 2019 18:10:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Hi,
It seems that you must use python3 instead of python2.
It might be a good idea to disable all our python2-related things at all.
On 09.11.2019 17:00, Peter van Bussel wrote:
> Dear Alll,
>
>
>
> I am new to MediaGoblin. Configuration seemed to have gone fine untill
> starting the database (Postgresql).
>
>
>
> mediagoblin@lms:/srv/*.*.*/mediagoblin$ ./bin/gmg dbupdate
>
> Traceback (most recent call last):
>
> File "./bin/gmg", line 11, in <module>
>
> load_entry_point('mediagoblin', 'console_scripts', 'gmg')()
>
> File "/srv/*.*.*/mediagoblin/mediagoblin/gmg_commands/__init__.py",
> line 111, in main_cli
>
> setup_func = import_component(command_struct['setup'])
>
> File "/srv/*.*.*/mediagoblin/mediagoblin/tools/common.py", line 34, in
> import_component
>
> __import__(module_name)
>
> File
> "/srv/*.*.*/mediagoblin/mediagoblin/gmg_commands/batchaddmedia.py", line
> 33, in <module>
>
> from mediagoblin.tools.metadata import compact_and_validate
>
> File "/srv/*.*.*/mediagoblin/mediagoblin/tools/metadata.py", line 27,
> in <module>
>
> from jsonschema import validate, FormatChecker, draft4_format_checker
>
> File
> "/srv/*.*.*/mediagoblin/local/lib/python2.7/site-packages/jsonschema-3.1.1-py2.7.egg/jsonschema/__init__.py",
> line 31, in <module>
>
> import importlib_metadata
>
> File
> "/srv/*.*.*/mediagoblin/local/lib/python2.7/site-packages/importlib_metadata-0.23-py2.7.egg/importlib_metadata/__init__.py",
> line 9, in <module>
>
> import zipp
>
> File
> "/srv/*.*.*/mediagoblin/local/lib/python2.7/site-packages/zipp-0.6.0-py2.7.egg/zipp.py",
> line 12, in <module>
>
> import more_itertools
>
> File "build/bdist.linux-x86_64/egg/more_itertools/__init__.py", line
> 1, in <module>
>
> File
> "/srv/*.*.*/mediagoblin/local/lib/python2.7/site-packages/more_itertools-7.2.0-py2.7.egg/more_itertools/more.py",
> line 340
>
> def _collate(*iterables, key=lambda a: a, reverse=False):
>
> ^
>
> SyntaxError: invalid syntax
>
>
>
> Any help would be appreciated!
>
>
>
> Peter
>