mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Mediagoblin-devel Digest, Vol 4, Issue 6


From: classroom
Subject: RE: Mediagoblin-devel Digest, Vol 4, Issue 6
Date: Thu, 28 Nov 2019 23:02:09 +0100

Hi Ben,

Many thanks for your help! My OS is Debian 10 (buster) server. I use these 
instructions 
https://mediagoblin.readthedocs.io/en/stable/siteadmin/deploying.html#apache.
 
Regards,

Peter

-----Oorspronkelijk bericht-----
Van: Mediagoblin-devel <mediagoblin-devel-bounces+classroom=address@hidden> 
Namens address@hidden
Verzonden: donderdag 28 november 2019 18:01
Aan: address@hidden
Onderwerp: Mediagoblin-devel Digest, Vol 4, Issue 6

Send Mediagoblin-devel mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/mediagoblin-devel
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Mediagoblin-devel digest..."


Today's Topics:

   1. Re: website glitch (Ben Sturmfels)
   2. Re: HELP! Configuration: dbupdate error (Ben Sturmfels)


----------------------------------------------------------------------

Message: 1
Date: Thu, 28 Nov 2019 12:09:18 +1100
From: Ben Sturmfels <address@hidden>
To: address@hidden
Subject: Re: website glitch
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"

Great work Simon! I'd be happy to stick that command to notify haproxy in a 
daily cron job, similar to my hack to ensure Trac is running (see `crontab -u 
root -l` on puck.mediagoblin.org) . What do you think? What is the command?

Cheers,
Ben

On Sun, 24 Nov 2019, Simon Fondrie-Teitler wrote:

> Thanks for the heads up. I've got the renewal automated, just not the piece 
> that tells haproxy it has been renewed. It's back up now.
>
> hjenkins <address@hidden> writes:
>
>> The security cert for https://issues.mediagoblin.org/ seems to have 
>> expired on 15 November 2019.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: 
<https://lists.gnu.org/archive/html/mediagoblin-devel/attachments/20191128/b55d0814/attachment.sig>

------------------------------

Message: 2
Date: Thu, 28 Nov 2019 12:18:29 +1100
From: Ben Sturmfels <address@hidden>
To: address@hidden
Cc: address@hidden
Subject: Re: HELP! Configuration: dbupdate error
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"

Hi Peter,

Can you tell me a little more about the operating system you're deploying on 
here and if you've got any further? I may be able to run up a test server or 
Docker image to try to replicate this.

Also, which installation instructions are you using?

Regards,
Ben

On Sat, 23 Nov 2019, address@hidden wrote:

> Hi Boris,
>
> I used Python3 as you suggested. Compiling went fine after that. Yet dbupdate 
> is producing new errors:
>
> (mediagoblin) mediagoblin@lms:/srv/*.*.*/mediagoblin$ ./bin/gmg 
> dbupdate Traceback (most recent call last):
>   File "./bin/gmg", line 10, in <module>
>     sys.exit(main_cli())
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/gmg_commands/__init__.py",
>  line 111, in main_cli
>     setup_func = import_component(command_struct['setup'])
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/tools/common.py",
>  line 34, in import_component
>     __import__(module_name)
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/gmg_commands/shell.py",
>  line 21, in <module>
>     from mediagoblin.gmg_commands import util as commands_util
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/gmg_commands/util.py",
>  line 18, in <module>
>     from mediagoblin import app
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/app.py", line 
> 30, in <module>
>     from mediagoblin.db.util import check_db_up_to_date
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/db/util.py", 
> line 20, in <module>
>     from mediagoblin.db.models import MediaEntry, Tag, MediaTag, Collection
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/db/models.py",
>  line 40, in <module>
>     from mediagoblin.db.mixin import UserMixin, MediaEntryMixin, \
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/db/mixin.py", 
> line 40, in <module>
>     from mediagoblin.tools.text import cleaned_markdown_conversion
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/tools/text.py",
>  line 20, in <module>
>     from lxml.html.clean import Cleaner
> ModuleNotFoundError: No module named 'lxml'
>
> After 'pip install lxml' a new error occurs:
>
> (mediagoblin) mediagoblin@lms:/srv/*.*.*/mediagoblin$ ./bin/gmg 
> dbupdate Traceback (most recent call last):
>   File "./bin/gmg", line 10, in <module>
>     sys.exit(main_cli())
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/gmg_commands/__init__.py",
>  line 111, in main_cli
>     setup_func = import_component(command_struct['setup'])
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/tools/common.py",
>  line 34, in import_component
>     __import__(module_name)
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/gmg_commands/reprocess.py",
>  line 25, in <module>
>     from mediagoblin.submit.lib import run_process_media
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/submit/lib.py",
>  line 32, in <module>
>     from mediagoblin.processing.task import ProcessMedia
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/mediagoblin/processing/task.py",
>  line 176, in <module>
>     tasks.register(ProcessMedia)
>   File 
> "/srv/*.*.*/mediagoblin/lib/python3.7/site-packages/celery/app/registry.py", 
> line 32, in register
>     type(task).__name__))
> celery.exceptions.InvalidTaskError: Task class 'type' must specify 
> .name attribute
>
> Any suggestions?
>
> ______________________________________________________________________
> ________________________________________
> Hi Boris,
>
> Thank you for your help! Before configuration I set to default and checked 
> Python as v 3.7 through 'update-alternatives --config python'.
>
> I am confused...
>
> Regards,
>
> Peter
>
> -----Oorspronkelijk bericht-----
> Van: Mediagoblin-devel 
> <mediagoblin-devel-bounces+classroom=address@hidden> Namens 
> address@hidden
> Verzonden: zondag 10 november 2019 18:00
> Aan: address@hidden
> Onderwerp: Mediagoblin-devel Digest, Vol 4, Issue 2
>
> Send Mediagoblin-devel mailing list submissions to
>       address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.gnu.org/mailman/listinfo/mediagoblin-devel
> or, via email, send a message with subject or body 'help' to
>       address@hidden
>
> You can reach the person managing the list at
>       address@hidden
>
> When replying, please edit your Subject line so it is more specific than "Re: 
> Contents of Mediagoblin-devel digest..."
>
>
> Today's Topics:
>
>    1. Re: Configuration: gmg dbupdate error (Boris Bobrov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 9 Nov 2019 18:10:39 +0100
> From: Boris Bobrov <address@hidden>
> To: address@hidden
> Subject: Re: Configuration: gmg dbupdate error
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=windows-1252
>
> 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_m
>> e tadata-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-
>> p
>> y2.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_iterto
>> o ls-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
>> 
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Mediagoblin-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/mediagoblin-devel
>
>
> ------------------------------
>
> End of Mediagoblin-devel Digest, Vol 4, Issue 2
> ***********************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: 
<https://lists.gnu.org/archive/html/mediagoblin-devel/attachments/20191128/c27d90d5/attachment.sig>

------------------------------

Subject: Digest Footer

_______________________________________________
Mediagoblin-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/mediagoblin-devel


------------------------------

End of Mediagoblin-devel Digest, Vol 4, Issue 6
***********************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]