[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-09 Thread Abhilash Raj
On Sat, Mar 9, 2019, at 8:25 AM, Mark Sapiro wrote:
> On 3/8/19 9:12 PM, ARPIT sharma wrote:
> > Same problem anyone found fix for this?
> > 
> > On Thu, Mar 7, 2019 at 12:28 AM NAYAN KHANNA <
> > f20170...@pilani.bits-pilani.ac.in> wrote:
> > 
> >> I am also facing the same issue as KeyError 'file'.
> >> The complete traceback is shown below.
> >> Can someone please help me on this?
> >> KeyError at /postorius/lists/
> >>
> >> 'file'
> 
> 
> For all of you who *think* you have the same problem, you may all be
> having different issues. This KeyError is a secondary error that occurs
> in Django's processing of the original exception. When you look at the
> full traceback, you'll see in it something similar to the following:

To add to what Mark said, usually, KeyError is caused by missing log file
or bad settings in Django. Some exception is raised and Django tries to log
it to a "file" which is looks for in the LOGGING['loggers'] in 
exmaple_project/settings.py. 

Please make sure that you figure out which logger are you missing. From
looking at the traceback, I see that it is "django.template" logger. Which
should ideally not cause problems, but it looks like it is.

> 
> 
> ...
> >>  
> >> /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/views/list.py
> >> in _get_choosable_domains
> >>1.
> >>
> >>   domains = Domain.objects.all()
> >>
> >>   ...
> >>▶ Local vars 
> >>-
> >> /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/models.py
> >> in all
> >>1.
> >>
> >>   return getattr(get_mailman_client(),
> >> self.resource_name_plural)
> >>
> >>   ...
> >>▶ Local vars 
> >>-
> >>
> >>  
> >> /home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src/mailmanclient/client.py
> >> in domains
> >>1.
> >>
> >>   response, content = self._connection.call('domains')
> >>
> >>   ...
> >>▶ Local vars 
> >>-
> >>
> >>  
> >> /home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src/mailmanclient/restbase/connection.py
> >> in call
> >>1.
> >>
> >>   response.content, response, None)
> >>
> >>   ...
> >>▶ Local vars 
> >>- During handling of the above exception (HTTP Error 500: b'A server
> >>error occurred. Please contact the administrator.'), another exception
> >>occurred:
> ...
> 
> The line above and the traceback above that are the relevant things for
> your issue. Everything that follows is not relevant.
> 
> -- 
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
> 
> Security Policy: https://wiki.list.org/x/QIA9
>

-- 
  thanks,
  Abhilash Raj (maxking)
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-09 Thread Mark Sapiro
On 3/8/19 9:12 PM, ARPIT sharma wrote:
> Same problem anyone found fix for this?
> 
> On Thu, Mar 7, 2019 at 12:28 AM NAYAN KHANNA <
> f20170...@pilani.bits-pilani.ac.in> wrote:
> 
>> I am also facing the same issue as KeyError 'file'.
>> The complete traceback is shown below.
>> Can someone please help me on this?
>> KeyError at /postorius/lists/
>>
>> 'file'


For all of you who *think* you have the same problem, you may all be
having different issues. This KeyError is a secondary error that occurs
in Django's processing of the original exception. When you look at the
full traceback, you'll see in it something similar to the following:


...
>>  /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/views/list.py
>> in _get_choosable_domains
>>1.
>>
>>   domains = Domain.objects.all()
>>
>>   ...
>>▶ Local vars 
>>-
>> /home/nayankhanna/Code/GSoC19/mailman/postorius/src/postorius/models.py
>> in all
>>1.
>>
>>   return getattr(get_mailman_client(),
>> self.resource_name_plural)
>>
>>   ...
>>▶ Local vars 
>>-
>>
>>  
>> /home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src/mailmanclient/client.py
>> in domains
>>1.
>>
>>   response, content = self._connection.call('domains')
>>
>>   ...
>>▶ Local vars 
>>-
>>
>>  
>> /home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src/mailmanclient/restbase/connection.py
>> in call
>>1.
>>
>>   response.content, response, None)
>>
>>   ...
>>▶ Local vars 
>>- During handling of the above exception (HTTP Error 500: b'A server
>>error occurred. Please contact the administrator.'), another exception
>>occurred:
...

The line above and the traceback above that are the relevant things for
your issue. Everything that follows is not relevant.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-09 Thread ARPIT sharma
Same problem anyone found fix for this?

On Thu, Mar 7, 2019 at 12:28 AM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

> I am also facing the same issue as KeyError 'file'.
> The complete traceback is shown below.
> Can someone please help me on this?
> KeyError at /postorius/lists/
>
> 'file'
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/postorius/lists/
> Django Version: 2.1.7
> Exception Type: KeyError
> Exception Value:
>
> 'file'
>
> Exception Location:
> /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py
> in __getattr__, line 616
> Python Executable: /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3
> Python Version: 3.6.5
> Python Path:
>
>
> ['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload',
>  '/usr/lib/python3.6',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages',
>  '/home/nayankhanna/Code/GSoC19/mailman/mailman/src',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_dateutil-2.8.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_editor-1.0.4-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Mako-1.0.7-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/six-1.12.0-py3.6.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.proxy-4.3.1-py3.6-linux-x86_64.egg',
>
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg',
>
>  
> 

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-08 Thread NAYAN KHANNA
Hello Arpit, please try the following;

The thing that worked for me:

pip install falcon==1.4.1

$sudo lsof -i:8000
#If you get a PID here, run
$kill 

$sudo lsof -i:8001
#If you get a PID here, run
$kill 

$sudo lsof -i:8002
#If you get a PID here, run
$kill 

$mailman stop
$mailman start

On Sat, 9 Mar 2019, 10:42 am ARPIT sharma,  wrote:

> Same problem anyone found fix for this?
>
> On Thu, Mar 7, 2019 at 12:28 AM NAYAN KHANNA <
> f20170...@pilani.bits-pilani.ac.in> wrote:
>
>> I am also facing the same issue as KeyError 'file'.
>> The complete traceback is shown below.
>> Can someone please help me on this?
>> KeyError at /postorius/lists/
>>
>> 'file'
>>
>> Request Method: GET
>> Request URL: http://127.0.0.1:8000/postorius/lists/
>> Django Version: 2.1.7
>> Exception Type: KeyError
>> Exception Value:
>>
>> 'file'
>>
>> Exception Location:
>> /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py
>> in __getattr__, line 616
>> Python Executable: /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3
>> Python Version: 3.6.5
>> Python Path:
>>
>>
>> ['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload',
>>  '/usr/lib/python3.6',
>>
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages',
>>  '/home/nayankhanna/Code/GSoC19/mailman/mailman/src',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg',
>>
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_dateutil-2.8.0-py3.6.egg',
>>
>>  
>> 

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Xiaoxing Ye
Hi Nayan,

I have re-proed the issue. Please run

*pip install falcon==1.4.1*

to force install the latest stable release of falcon. Falcon 2.0.0a1 is not
compatible with Mailman up to now. This should fix your problem.



On Thu, Mar 7, 2019 at 5:20 AM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

> #mailman-suite/mailman-suite_project/settings.py
>
> # Mailman API credentials
> MAILMAN_REST_API_URL = 'http://localhost:8001'
> MAILMAN_REST_API_USER = 'restadmin'
> MAILMAN_REST_API_PASS = 'restpass'
> MAILMAN_ARCHIVER_KEY = 'SecretArchiverAPIKey'
> MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1')
>
>
> This is the part of settings.py.
>
>
> Output of bin/mailman conf:
>
> [webservice] admin_pass: restpass
> [webservice] admin_user: restadmin
> [webservice] api_version: 3.1
> [webservice] hostname: localhost
> [webservice] port: 8001
> [webservice] show_tracebacks: yes
> [webservice] use_https: no
>
> Also, as suggested by Krishna, I installed falcon but nothing changed.
> Btw, Thanks for the help.
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
>
> Security Policy: https://wiki.list.org/x/QIA9
>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Krishna Kumar Dey
I think restarting mailman core can help.

On Thu, Mar 7, 2019 at 3:03 AM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

> The output of pip freeze|grep falcon is:
> falcon==1.4.1
>
> Also, on opening http://127.0.0.1:8001/3.1/,
>
> A server error occurred.  Please contact the administrator.
>
>
> This is what I got and terminal showed address already in use error.
>
>
>
> On Thu, Mar 7, 2019 at 2:58 AM Krishna Kumar Dey <
> krishnakumardey@gmail.com> wrote:
>
>> Check the falcon version again. Also restart the mailman core.
>> What is the error that you are getting when you open
>> http://localhost:8001/3.1
>>
>>
>> On Thu, Mar 7, 2019 at 2:49 AM NAYAN KHANNA <
>> f20170...@pilani.bits-pilani.ac.in> wrote:
>>
>>>
>>> #mailman-suite/mailman-suite_project/settings.py
>>>
>>> # Mailman API credentials
>>> MAILMAN_REST_API_URL = 'http://localhost:8001'
>>> MAILMAN_REST_API_USER = 'restadmin'
>>> MAILMAN_REST_API_PASS = 'restpass'
>>> MAILMAN_ARCHIVER_KEY = 'SecretArchiverAPIKey'
>>> MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1')
>>>
>>>
>>> This is the part of settings.py.
>>>
>>>
>>> Output of bin/mailman conf:
>>>
>>> [webservice] admin_pass: restpass
>>> [webservice] admin_user: restadmin
>>> [webservice] api_version: 3.1
>>> [webservice] hostname: localhost
>>> [webservice] port: 8001
>>> [webservice] show_tracebacks: yes
>>> [webservice] use_https: no
>>>
>>> Also, as suggested by Krishna, I installed falcon but nothing changed.
>>> Btw, Thanks for the help.
>>>
>>>
>>>
>>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Krishna Kumar Dey
Hey Nayan,
Please find the requirements file created using pip freeze.

On Thu, Mar 7, 2019 at 2:58 AM Krishna Kumar Dey <
krishnakumardey@gmail.com> wrote:

> Check the falcon version again. Also restart the mailman core.
> What is the error that you are getting when you open
> http://localhost:8001/3.1
>
>
> On Thu, Mar 7, 2019 at 2:49 AM NAYAN KHANNA <
> f20170...@pilani.bits-pilani.ac.in> wrote:
>
>>
>> #mailman-suite/mailman-suite_project/settings.py
>>
>> # Mailman API credentials
>> MAILMAN_REST_API_URL = 'http://localhost:8001'
>> MAILMAN_REST_API_USER = 'restadmin'
>> MAILMAN_REST_API_PASS = 'restpass'
>> MAILMAN_ARCHIVER_KEY = 'SecretArchiverAPIKey'
>> MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1')
>>
>>
>> This is the part of settings.py.
>>
>>
>> Output of bin/mailman conf:
>>
>> [webservice] admin_pass: restpass
>> [webservice] admin_user: restadmin
>> [webservice] api_version: 3.1
>> [webservice] hostname: localhost
>> [webservice] port: 8001
>> [webservice] show_tracebacks: yes
>> [webservice] use_https: no
>>
>> Also, as suggested by Krishna, I installed falcon but nothing changed.
>> Btw, Thanks for the help.
>>
>>
>>
>
aiosmtpd==1.2
alembic==1.0.7
arrow==0.13.1
atpublic==1.0
blessed==1.15.0
certifi==2018.11.29
chardet==3.0.4
Click==7.0
decorator==4.3.2
defusedxml==0.5.0
Django==2.1.7
django-allauth==0.39.1
django-appconf==1.0.2
django-compressor==2.2
django-extensions==2.1.6
django-gravatar2==1.4.2
django-haystack==2.8.1
-e 
git+https://gitlab.com/mailman/django-mailman3.git@46710eb1df03144291596691bf319ebacc35c847#egg=django_mailman3
django-picklefield==2.0
django-q==1.0.1
djangorestframework==3.9.1
dnspython==1.16.0
falcon==1.4.1
filelock==3.0.10
flufl.bounce==3.0
flufl.i18n==2.0.1
flufl.lock==3.2
-e 
git+https://gitlab.com/mailman/hyperkitty.git@4e222674272505877b724f3189c995ebe7de7c7e#egg=HyperKitty
idna==2.8
importlib-resources==1.0.2
lazr.config==2.2.1
lazr.delegates==2.0.4
lockfile==0.12.2
mailman==3.2.2
-e 
git+https://gitlab.com/mailman/mailman-hyperkitty.git@ca33c024fbc08dbaf04f464bf745c7ad5d7de088#egg=mailman_hyperkitty
-e 
git+https://gitlab.com/mailman/mailmanclient.git@8efb0c420b06d7657d52e8059f6d863ae7d042bf#egg=mailmanclient
Mako==1.0.7
MarkupSafe==1.1.1
networkx==2.2
nose==1.3.7
oauthlib==3.0.1
passlib==1.7.1
pkg-resources==0.0.0
pluggy==0.9.0
-e 
git+https://gitlab.com/mailman/postorius.git@cd956de3cfad637733e65f8bdb43b4488e53ac24#egg=postorius
py==1.8.0
python-dateutil==2.8.0
python-editor==1.0.4
python-mimeparse==1.6.0
python3-openid==3.1.0
pytz==2018.9
rcssmin==1.0.6
requests==2.21.0
requests-oauthlib==1.2.0
rjsmin==1.0.12
robot-detection==0.4
six==1.12.0
SQLAlchemy==1.3.0b3
toml==0.10.0
tox==3.7.0
urllib3==1.24.1
virtualenv==16.4.3
wcwidth==0.1.7
Whoosh==2.7.4
zope.component==4.5
zope.configuration==4.3.1
zope.deferredimport==4.3
zope.deprecation==4.4.0
zope.event==4.4
zope.hookable==4.2.0
zope.i18nmessageid==4.3.1
zope.interface==4.6.0
zope.proxy==4.3.1
zope.schema==4.9.3
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Krishna Kumar Dey
Check the falcon version again. Also restart the mailman core.
What is the error that you are getting when you open
http://localhost:8001/3.1


On Thu, Mar 7, 2019 at 2:49 AM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

>
> #mailman-suite/mailman-suite_project/settings.py
>
> # Mailman API credentials
> MAILMAN_REST_API_URL = 'http://localhost:8001'
> MAILMAN_REST_API_USER = 'restadmin'
> MAILMAN_REST_API_PASS = 'restpass'
> MAILMAN_ARCHIVER_KEY = 'SecretArchiverAPIKey'
> MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1')
>
>
> This is the part of settings.py.
>
>
> Output of bin/mailman conf:
>
> [webservice] admin_pass: restpass
> [webservice] admin_user: restadmin
> [webservice] api_version: 3.1
> [webservice] hostname: localhost
> [webservice] port: 8001
> [webservice] show_tracebacks: yes
> [webservice] use_https: no
>
> Also, as suggested by Krishna, I installed falcon but nothing changed.
> Btw, Thanks for the help.
>
>
>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread NAYAN KHANNA
#mailman-suite/mailman-suite_project/settings.py

# Mailman API credentials
MAILMAN_REST_API_URL = 'http://localhost:8001'
MAILMAN_REST_API_USER = 'restadmin'
MAILMAN_REST_API_PASS = 'restpass'
MAILMAN_ARCHIVER_KEY = 'SecretArchiverAPIKey'
MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1')


This is the part of settings.py.


Output of bin/mailman conf:

[webservice] admin_pass: restpass
[webservice] admin_user: restadmin
[webservice] api_version: 3.1
[webservice] hostname: localhost
[webservice] port: 8001
[webservice] show_tracebacks: yes
[webservice] use_https: no

Also, as suggested by Krishna, I installed falcon but nothing changed.
Btw, Thanks for the help.
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Krishna Kumar Dey
Just created an issue for this.
https://gitlab.com/mailman/mailman/issues/563

On Thu, Mar 7, 2019 at 2:36 AM Krishna Kumar Dey <
krishnakumardey@gmail.com> wrote:

> Hey NAYAN,
> Please use flacon 1.4.1.
>
> pip install falcon==1.4.1
>
> If you will check I think the falcon version will be 2.0.
>
>
> On Thu, Mar 7, 2019 at 12:26 AM NAYAN KHANNA <
> f20170...@pilani.bits-pilani.ac.in> wrote:
>
>> I am also facing the same issue as KeyError 'file'.
>> The complete traceback is shown below.
>> Can someone please help me on this?
>> KeyError at /postorius/lists/
>>
>> 'file'
>>
>> Request Method: GET
>> Request URL: http://127.0.0.1:8000/postorius/lists/
>> Django Version: 2.1.7
>> Exception Type: KeyError
>> Exception Value:
>>
>> 'file'
>>
>> Exception Location: 
>> /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py
>> in __getattr__, line 616
>> Python Executable:
>> /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3
>> Python Version: 3.6.5
>> Python Path:
>>
>> ['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload',
>>  '/usr/lib/python3.6',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages',
>>  '/home/nayankhanna/Code/GSoC19/mailman/mailman/src',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_dateutil-2.8.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_editor-1.0.4-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Mako-1.0.7-py3.6.egg',
>>  
>> 

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Krishna Kumar Dey
Hey NAYAN,
Please use flacon 1.4.1.

pip install falcon==1.4.1

If you will check I think the falcon version will be 2.0.


On Thu, Mar 7, 2019 at 12:26 AM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

> I am also facing the same issue as KeyError 'file'.
> The complete traceback is shown below.
> Can someone please help me on this?
> KeyError at /postorius/lists/
>
> 'file'
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/postorius/lists/
> Django Version: 2.1.7
> Exception Type: KeyError
> Exception Value:
>
> 'file'
>
> Exception Location: 
> /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py
> in __getattr__, line 616
> Python Executable: /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3
> Python Version: 3.6.5
> Python Path:
>
> ['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload',
>  '/usr/lib/python3.6',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages',
>  '/home/nayankhanna/Code/GSoC19/mailman/mailman/src',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_dateutil-2.8.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_editor-1.0.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Mako-1.0.7-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/six-1.12.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.proxy-4.3.1-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg',
>  
> 

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Mark Sapiro
On 3/6/19 11:57 AM, NAYAN KHANNA wrote:
> @Mark Sapiro
> @Abhilash Raj
> Could you please help me in this? I have been working on this error since
> the past day and havent had any significant progress.


It is very hard to follow the traceback. Note where you copied

> Server time: Wed, 6 Mar 2019 18:54:10 +
> Traceback Switch to copy-and-paste view
> 

It probably would be more readable if you had switched to copy/paste view.

Anyway, the issue appears to be that the call to
self._connection.call('domains') here:


/home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src/mailmanclient/client.py
in domains
   1.

  response, content = self._connection.call('domains')

raises HTTPError in mailmanclient/restbase/connection.py at line 101,
possibly because you have no domains defined, but the error detail isn't
in your post.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread NAYAN KHANNA
@Mark Sapiro
@Abhilash Raj
Could you please help me in this? I have been working on this error since
the past day and havent had any significant progress.

I had even referred to
https://lists.mailman3.org/archives/list/mailman-us...@mailman3.org/thread/PUFU3TNS2DC22LDXS3CWDPJEJUI4HOQL/
But this didn't seem to work. Please help me in this.

Regards
Nayan Khanna

On Thu, Mar 7, 2019 at 12:28 AM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

> Also, I have sassc installed and I have removed painstore from my
> INSTALLED_APPS in settings.py of mailman-suite/mailman-suite_project.
> As mentioned by Xiaoxing.
>
> On Thu, Mar 7, 2019 at 12:26 AM NAYAN KHANNA <
> f20170...@pilani.bits-pilani.ac.in> wrote:
>
>> I am also facing the same issue as KeyError 'file'.
>> The complete traceback is shown below.
>> Can someone please help me on this?
>> KeyError at /postorius/lists/
>>
>> 'file'
>>
>> Request Method: GET
>> Request URL: http://127.0.0.1:8000/postorius/lists/
>> Django Version: 2.1.7
>> Exception Type: KeyError
>> Exception Value:
>>
>> 'file'
>>
>> Exception Location: 
>> /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py
>> in __getattr__, line 616
>> Python Executable:
>> /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3
>> Python Version: 3.6.5
>> Python Path:
>>
>> ['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload',
>>  '/usr/lib/python3.6',
>>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages',
>>  '/home/nayankhanna/Code/GSoC19/mailman/mailman/src',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg',
>>  
>> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg',
>>  
>> 

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Mark Sapiro
On 3/6/19 10:34 AM, aaryan bhagat wrote:
> Like should we create a  issue for this.
> (I am asking to everyone who has replied to this thread atleast and to the
> administrators also)

 which removed
paintstore removed it also from INSTALLED_APPS in
hyperkitty/example_project/settings.py.

Also see .

Unfortunately, paintstore is still in
mailman-suite/mailman-suite_project/settings.py. I just created
. It should be easy
to fix.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread NAYAN KHANNA
Also, I have sassc installed and I have removed painstore from my
INSTALLED_APPS in settings.py of mailman-suite/mailman-suite_project.
As mentioned by Xiaoxing.

On Thu, Mar 7, 2019 at 12:26 AM NAYAN KHANNA <
f20170...@pilani.bits-pilani.ac.in> wrote:

> I am also facing the same issue as KeyError 'file'.
> The complete traceback is shown below.
> Can someone please help me on this?
> KeyError at /postorius/lists/
>
> 'file'
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/postorius/lists/
> Django Version: 2.1.7
> Exception Type: KeyError
> Exception Value:
>
> 'file'
>
> Exception Location: 
> /home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py
> in __getattr__, line 616
> Python Executable: /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3
> Python Version: 3.6.5
> Python Path:
>
> ['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload',
>  '/usr/lib/python3.6',
>  '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages',
>  '/home/nayankhanna/Code/GSoC19/mailman/mailman/src',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_dateutil-2.8.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_editor-1.0.4-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Mako-1.0.7-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/six-1.12.0-py3.6.egg',
>  
> '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.proxy-4.3.1-py3.6-linux-x86_64.egg',
>  
> 

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread NAYAN KHANNA
I am also facing the same issue as KeyError 'file'.
The complete traceback is shown below.
Can someone please help me on this?
KeyError at /postorius/lists/

'file'

Request Method: GET
Request URL: http://127.0.0.1:8000/postorius/lists/
Django Version: 2.1.7
Exception Type: KeyError
Exception Value:

'file'

Exception Location:
/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/tempfile.py
in __getattr__, line 616
Python Executable: /home/nayankhanna/Code/GSoC19/mailman/venv3/bin/python3
Python Version: 3.6.5
Python Path:

['/home/nayankhanna/Code/GSoC19/mailman/mailman-suite/mailman-suite_project',
 '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python36.zip',
 '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6',
 '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/lib-dynload',
 '/usr/lib/python3.6',
 '/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages',
 '/home/nayankhanna/Code/GSoC19/mailman/mailman/src',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.interface-4.6.0-py3.6-linux-x86_64.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.event-4.4-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.configuration-4.3.1-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.component-4.5-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/SQLAlchemy-1.3.0-py3.6-linux-x86_64.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/requests-2.21.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/passlib-1.7.1-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.config-2.2.1-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/importlib_resources-1.0.2-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.lock-3.2-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.i18n-2.0.1-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/flufl.bounce-3.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/falcon-2.0.0a1-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/dnspython-1.16.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Click-7.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/atpublic-1.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/alembic-1.0.8-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/aiosmtpd-1.2-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.schema-4.9.3-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.i18nmessageid-4.3.1-py3.6-linux-x86_64.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.hookable-4.2.0-py3.6-linux-x86_64.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deprecation-4.4.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.deferredimport-4.3-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/idna-2.8-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/lazr.delegates-2.0.4-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_dateutil-2.8.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/python_editor-1.0.4-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/Mako-1.0.7-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/six-1.12.0-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/zope.proxy-4.3.1-py3.6-linux-x86_64.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/MarkupSafe-1.1.1-py3.6-linux-x86_64.egg',
 '/home/nayankhanna/Code/GSoC19/mailman/mailmanclient/src',
 '/home/nayankhanna/Code/GSoC19/mailman/django-mailman3',
 
'/home/nayankhanna/Code/GSoC19/mailman/venv3/lib/python3.6/site-packages/django_compressor-2.2-py3.6.egg',
 

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread aaryan bhagat
Ok, I will check. Thanks  Dinesh Xiaoxing

On Thu, 7 Mar 2019, 00:08 Krishna Kumar Dey, 
wrote:

> There is already an issue created for the same. Xiaoxing mention about
> in  the threads. You can check the issue here
> https://gitlab.com/mailman/hyperkitty/issues/72
>
> On Thu, Mar 7, 2019 at 12:04 AM aaryan bhagat 
> wrote:
>
>> Like should we create a  issue for this.
>> (I am asking to everyone who has replied to this thread atleast and to
>> the administrators also)
>>
>> On Thu, 7 Mar 2019, 00:02 Krishna Kumar Dey, <
>> krishnakumardey@gmail.com> wrote:
>>
>>> Yes I also faced this issue and did the same thing as Xiaoxing
>>> mentioned. Removing the paintstore from Installed apps works for now.
>>> @aaryan It's not yet updated . We need to find an alternative for it.
>>>
>>> On Wed, Mar 6, 2019 at 11:43 PM aaryan bhagat 
>>> wrote:
>>>
 Hi Xiaoxing,
 If you are saying 'painstore'
 is not required as of feb 22 canbot we just update the repo to latest
 version with paintstore not there?
 Is it done?

 On Wed, 6 Mar 2019, 23:35 Xiaoxing Ye,  wrote:

 > Hi Dinesh,
 >
 > Your error message is not completed. I am guessing there are two
 > possibilities,
 >
 > 1. You have no sassc installed. In this case, please install using
 apt.
 > 2. It is asking for paintstore. As of the release on Feb 22,
 ``paintstore``
 > is no longer a dependency of Hyperkitty. This change requires that
 people
 > change their ``settings.py`` and remove ``paintstore`` from
 > ``INSTALLED_APPS``. (See #72). Please try it
 > 3. If none of them hits your problem, please reply with the complete
 error
 > traceback.
 >
 >
 > On Wed, Mar 6, 2019 at 9:33 PM Dinesh Bhagat <
 db.dineshbhaga...@gmail.com>
 > wrote:
 >
 > > On running command .: "python manage.py migrate" after
 mailman-suite
 > > installation.
 > >
 > > This is showing the below Given error.
 > > Please help me out.
 > >
 > > Traceback (most recent call last):
 > >   File "manage.py", line 10, in 
 > > execute_from_command_line(sys.argv)
 > >   File
 > >
 >
 "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
 > > line 381, in execute_from_command_line
 > > utility.execute()
 > >   File
 > >
 >
 "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
 > > line 357, in execute
 > > django.setup()
 > >   File
 > >
 >
 "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py",
 > > line 24, in setup
 > > apps.populate(settings.INSTALLED_APPS)
 > >   File
 > >
 >
 "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py",
 > > line 89, in populate
 > > app_config = AppConfig.create(entry)
 > >   File
 > >
 >
 "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py",
 > > line 90, in create
 > > module = import_module(entry)
 > >   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in
 > > import_module
 > > return _bootstrap._gcd_import(name[level:], package, level)
 > >   File "", line 994, in _gcd_import
 > > ___
 > > Mailman-Developers mailing list -- mailman-developers@python.org
 > > To unsubscribe send an email to mailman-developers-le...@python.org
 > >
 https://mail.python.org/mailman3/lists/mailman-developers.python.org/
 > > Mailman FAQ: https://wiki.list.org/x/AgA3
 > >
 > > Security Policy: https://wiki.list.org/x/QIA9
 > >
 > ___
 > Mailman-Developers mailing list -- mailman-developers@python.org
 > To unsubscribe send an email to mailman-developers-le...@python.org
 > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
 > Mailman FAQ: https://wiki.list.org/x/AgA3
 >
 > Security Policy: https://wiki.list.org/x/QIA9
 >
 ___
 Mailman-Developers mailing list -- mailman-developers@python.org
 To unsubscribe send an email to mailman-developers-le...@python.org
 https://mail.python.org/mailman3/lists/mailman-developers.python.org/
 Mailman FAQ: https://wiki.list.org/x/AgA3

 Security Policy: https://wiki.list.org/x/QIA9

>>>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/

[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Krishna Kumar Dey
There is already an issue created for the same. Xiaoxing mention about in
the threads. You can check the issue here
https://gitlab.com/mailman/hyperkitty/issues/72

On Thu, Mar 7, 2019 at 12:04 AM aaryan bhagat 
wrote:

> Like should we create a  issue for this.
> (I am asking to everyone who has replied to this thread atleast and to the
> administrators also)
>
> On Thu, 7 Mar 2019, 00:02 Krishna Kumar Dey, <
> krishnakumardey@gmail.com> wrote:
>
>> Yes I also faced this issue and did the same thing as Xiaoxing mentioned.
>> Removing the paintstore from Installed apps works for now.
>> @aaryan It's not yet updated . We need to find an alternative for it.
>>
>> On Wed, Mar 6, 2019 at 11:43 PM aaryan bhagat 
>> wrote:
>>
>>> Hi Xiaoxing,
>>> If you are saying 'painstore'
>>> is not required as of feb 22 canbot we just update the repo to latest
>>> version with paintstore not there?
>>> Is it done?
>>>
>>> On Wed, 6 Mar 2019, 23:35 Xiaoxing Ye,  wrote:
>>>
>>> > Hi Dinesh,
>>> >
>>> > Your error message is not completed. I am guessing there are two
>>> > possibilities,
>>> >
>>> > 1. You have no sassc installed. In this case, please install using apt.
>>> > 2. It is asking for paintstore. As of the release on Feb 22,
>>> ``paintstore``
>>> > is no longer a dependency of Hyperkitty. This change requires that
>>> people
>>> > change their ``settings.py`` and remove ``paintstore`` from
>>> > ``INSTALLED_APPS``. (See #72). Please try it
>>> > 3. If none of them hits your problem, please reply with the complete
>>> error
>>> > traceback.
>>> >
>>> >
>>> > On Wed, Mar 6, 2019 at 9:33 PM Dinesh Bhagat <
>>> db.dineshbhaga...@gmail.com>
>>> > wrote:
>>> >
>>> > > On running command .: "python manage.py migrate" after
>>> mailman-suite
>>> > > installation.
>>> > >
>>> > > This is showing the below Given error.
>>> > > Please help me out.
>>> > >
>>> > > Traceback (most recent call last):
>>> > >   File "manage.py", line 10, in 
>>> > > execute_from_command_line(sys.argv)
>>> > >   File
>>> > >
>>> >
>>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
>>> > > line 381, in execute_from_command_line
>>> > > utility.execute()
>>> > >   File
>>> > >
>>> >
>>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
>>> > > line 357, in execute
>>> > > django.setup()
>>> > >   File
>>> > >
>>> >
>>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py",
>>> > > line 24, in setup
>>> > > apps.populate(settings.INSTALLED_APPS)
>>> > >   File
>>> > >
>>> >
>>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py",
>>> > > line 89, in populate
>>> > > app_config = AppConfig.create(entry)
>>> > >   File
>>> > >
>>> >
>>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py",
>>> > > line 90, in create
>>> > > module = import_module(entry)
>>> > >   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in
>>> > > import_module
>>> > > return _bootstrap._gcd_import(name[level:], package, level)
>>> > >   File "", line 994, in _gcd_import
>>> > > ___
>>> > > Mailman-Developers mailing list -- mailman-developers@python.org
>>> > > To unsubscribe send an email to mailman-developers-le...@python.org
>>> > >
>>> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
>>> > > Mailman FAQ: https://wiki.list.org/x/AgA3
>>> > >
>>> > > Security Policy: https://wiki.list.org/x/QIA9
>>> > >
>>> > ___
>>> > Mailman-Developers mailing list -- mailman-developers@python.org
>>> > To unsubscribe send an email to mailman-developers-le...@python.org
>>> > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
>>> > Mailman FAQ: https://wiki.list.org/x/AgA3
>>> >
>>> > Security Policy: https://wiki.list.org/x/QIA9
>>> >
>>> ___
>>> Mailman-Developers mailing list -- mailman-developers@python.org
>>> To unsubscribe send an email to mailman-developers-le...@python.org
>>> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
>>> Mailman FAQ: https://wiki.list.org/x/AgA3
>>>
>>> Security Policy: https://wiki.list.org/x/QIA9
>>>
>>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread aaryan bhagat
Like should we create a  issue for this.
(I am asking to everyone who has replied to this thread atleast and to the
administrators also)

On Thu, 7 Mar 2019, 00:02 Krishna Kumar Dey, 
wrote:

> Yes I also faced this issue and did the same thing as Xiaoxing mentioned.
> Removing the paintstore from Installed apps works for now.
> @aaryan It's not yet updated . We need to find an alternative for it.
>
> On Wed, Mar 6, 2019 at 11:43 PM aaryan bhagat 
> wrote:
>
>> Hi Xiaoxing,
>> If you are saying 'painstore'
>> is not required as of feb 22 canbot we just update the repo to latest
>> version with paintstore not there?
>> Is it done?
>>
>> On Wed, 6 Mar 2019, 23:35 Xiaoxing Ye,  wrote:
>>
>> > Hi Dinesh,
>> >
>> > Your error message is not completed. I am guessing there are two
>> > possibilities,
>> >
>> > 1. You have no sassc installed. In this case, please install using apt.
>> > 2. It is asking for paintstore. As of the release on Feb 22,
>> ``paintstore``
>> > is no longer a dependency of Hyperkitty. This change requires that
>> people
>> > change their ``settings.py`` and remove ``paintstore`` from
>> > ``INSTALLED_APPS``. (See #72). Please try it
>> > 3. If none of them hits your problem, please reply with the complete
>> error
>> > traceback.
>> >
>> >
>> > On Wed, Mar 6, 2019 at 9:33 PM Dinesh Bhagat <
>> db.dineshbhaga...@gmail.com>
>> > wrote:
>> >
>> > > On running command .: "python manage.py migrate" after
>> mailman-suite
>> > > installation.
>> > >
>> > > This is showing the below Given error.
>> > > Please help me out.
>> > >
>> > > Traceback (most recent call last):
>> > >   File "manage.py", line 10, in 
>> > > execute_from_command_line(sys.argv)
>> > >   File
>> > >
>> >
>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
>> > > line 381, in execute_from_command_line
>> > > utility.execute()
>> > >   File
>> > >
>> >
>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
>> > > line 357, in execute
>> > > django.setup()
>> > >   File
>> > >
>> >
>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py",
>> > > line 24, in setup
>> > > apps.populate(settings.INSTALLED_APPS)
>> > >   File
>> > >
>> >
>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py",
>> > > line 89, in populate
>> > > app_config = AppConfig.create(entry)
>> > >   File
>> > >
>> >
>> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py",
>> > > line 90, in create
>> > > module = import_module(entry)
>> > >   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in
>> > > import_module
>> > > return _bootstrap._gcd_import(name[level:], package, level)
>> > >   File "", line 994, in _gcd_import
>> > > ___
>> > > Mailman-Developers mailing list -- mailman-developers@python.org
>> > > To unsubscribe send an email to mailman-developers-le...@python.org
>> > > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
>> > > Mailman FAQ: https://wiki.list.org/x/AgA3
>> > >
>> > > Security Policy: https://wiki.list.org/x/QIA9
>> > >
>> > ___
>> > Mailman-Developers mailing list -- mailman-developers@python.org
>> > To unsubscribe send an email to mailman-developers-le...@python.org
>> > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
>> > Mailman FAQ: https://wiki.list.org/x/AgA3
>> >
>> > Security Policy: https://wiki.list.org/x/QIA9
>> >
>> ___
>> Mailman-Developers mailing list -- mailman-developers@python.org
>> To unsubscribe send an email to mailman-developers-le...@python.org
>> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
>> Mailman FAQ: https://wiki.list.org/x/AgA3
>>
>> Security Policy: https://wiki.list.org/x/QIA9
>>
>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Krishna Kumar Dey
Yes I also faced this issue and did the same thing as Xiaoxing mentioned.
Removing the paintstore from Installed apps works for now.
@aaryan It's not yet updated . We need to find an alternative for it.

On Wed, Mar 6, 2019 at 11:43 PM aaryan bhagat 
wrote:

> Hi Xiaoxing,
> If you are saying 'painstore'
> is not required as of feb 22 canbot we just update the repo to latest
> version with paintstore not there?
> Is it done?
>
> On Wed, 6 Mar 2019, 23:35 Xiaoxing Ye,  wrote:
>
> > Hi Dinesh,
> >
> > Your error message is not completed. I am guessing there are two
> > possibilities,
> >
> > 1. You have no sassc installed. In this case, please install using apt.
> > 2. It is asking for paintstore. As of the release on Feb 22,
> ``paintstore``
> > is no longer a dependency of Hyperkitty. This change requires that people
> > change their ``settings.py`` and remove ``paintstore`` from
> > ``INSTALLED_APPS``. (See #72). Please try it
> > 3. If none of them hits your problem, please reply with the complete
> error
> > traceback.
> >
> >
> > On Wed, Mar 6, 2019 at 9:33 PM Dinesh Bhagat <
> db.dineshbhaga...@gmail.com>
> > wrote:
> >
> > > On running command .: "python manage.py migrate" after
> mailman-suite
> > > installation.
> > >
> > > This is showing the below Given error.
> > > Please help me out.
> > >
> > > Traceback (most recent call last):
> > >   File "manage.py", line 10, in 
> > > execute_from_command_line(sys.argv)
> > >   File
> > >
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
> > > line 381, in execute_from_command_line
> > > utility.execute()
> > >   File
> > >
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
> > > line 357, in execute
> > > django.setup()
> > >   File
> > >
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py",
> > > line 24, in setup
> > > apps.populate(settings.INSTALLED_APPS)
> > >   File
> > >
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py",
> > > line 89, in populate
> > > app_config = AppConfig.create(entry)
> > >   File
> > >
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py",
> > > line 90, in create
> > > module = import_module(entry)
> > >   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in
> > > import_module
> > > return _bootstrap._gcd_import(name[level:], package, level)
> > >   File "", line 994, in _gcd_import
> > > ___
> > > Mailman-Developers mailing list -- mailman-developers@python.org
> > > To unsubscribe send an email to mailman-developers-le...@python.org
> > > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> > > Mailman FAQ: https://wiki.list.org/x/AgA3
> > >
> > > Security Policy: https://wiki.list.org/x/QIA9
> > >
> > ___
> > Mailman-Developers mailing list -- mailman-developers@python.org
> > To unsubscribe send an email to mailman-developers-le...@python.org
> > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> > Mailman FAQ: https://wiki.list.org/x/AgA3
> >
> > Security Policy: https://wiki.list.org/x/QIA9
> >
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
>
> Security Policy: https://wiki.list.org/x/QIA9
>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread aaryan bhagat
Hi Xiaoxing,
If you are saying 'painstore'
is not required as of feb 22 canbot we just update the repo to latest
version with paintstore not there?
Is it done?

On Wed, 6 Mar 2019, 23:35 Xiaoxing Ye,  wrote:

> Hi Dinesh,
>
> Your error message is not completed. I am guessing there are two
> possibilities,
>
> 1. You have no sassc installed. In this case, please install using apt.
> 2. It is asking for paintstore. As of the release on Feb 22, ``paintstore``
> is no longer a dependency of Hyperkitty. This change requires that people
> change their ``settings.py`` and remove ``paintstore`` from
> ``INSTALLED_APPS``. (See #72). Please try it
> 3. If none of them hits your problem, please reply with the complete error
> traceback.
>
>
> On Wed, Mar 6, 2019 at 9:33 PM Dinesh Bhagat 
> wrote:
>
> > On running command .: "python manage.py migrate" after mailman-suite
> > installation.
> >
> > This is showing the below Given error.
> > Please help me out.
> >
> > Traceback (most recent call last):
> >   File "manage.py", line 10, in 
> > execute_from_command_line(sys.argv)
> >   File
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
> > line 381, in execute_from_command_line
> > utility.execute()
> >   File
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
> > line 357, in execute
> > django.setup()
> >   File
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py",
> > line 24, in setup
> > apps.populate(settings.INSTALLED_APPS)
> >   File
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py",
> > line 89, in populate
> > app_config = AppConfig.create(entry)
> >   File
> >
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py",
> > line 90, in create
> > module = import_module(entry)
> >   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in
> > import_module
> > return _bootstrap._gcd_import(name[level:], package, level)
> >   File "", line 994, in _gcd_import
> > ___
> > Mailman-Developers mailing list -- mailman-developers@python.org
> > To unsubscribe send an email to mailman-developers-le...@python.org
> > https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> > Mailman FAQ: https://wiki.list.org/x/AgA3
> >
> > Security Policy: https://wiki.list.org/x/QIA9
> >
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
>
> Security Policy: https://wiki.list.org/x/QIA9
>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Xiaoxing Ye
Hi Dinesh,

Your error message is not completed. I am guessing there are two
possibilities,

1. You have no sassc installed. In this case, please install using apt.
2. It is asking for paintstore. As of the release on Feb 22, ``paintstore``
is no longer a dependency of Hyperkitty. This change requires that people
change their ``settings.py`` and remove ``paintstore`` from
``INSTALLED_APPS``. (See #72). Please try it
3. If none of them hits your problem, please reply with the complete error
traceback.


On Wed, Mar 6, 2019 at 9:33 PM Dinesh Bhagat 
wrote:

> On running command .: "python manage.py migrate" after mailman-suite
> installation.
>
> This is showing the below Given error.
> Please help me out.
>
> Traceback (most recent call last):
>   File "manage.py", line 10, in 
> execute_from_command_line(sys.argv)
>   File
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
> line 381, in execute_from_command_line
> utility.execute()
>   File
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
> line 357, in execute
> django.setup()
>   File
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py",
> line 24, in setup
> apps.populate(settings.INSTALLED_APPS)
>   File
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py",
> line 89, in populate
> app_config = AppConfig.create(entry)
>   File
> "/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py",
> line 90, in create
> module = import_module(entry)
>   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in
> import_module
> return _bootstrap._gcd_import(name[level:], package, level)
>   File "", line 994, in _gcd_import
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
>
> Security Policy: https://wiki.list.org/x/QIA9
>
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Ye Xiaoxing
Hi Dinesh,

The error message is missing a part? But I guess you are missing sassc or 
paintstore. 

1. If it is saying "ModuleNotFoundError: No module named 'paintstore'.", please 
remove paintstore from INSTALLED_APPS in setttings.py file of Hyperkitty

2. If talking about sassc, please install it.

3. If not, please paste the full error message here again.
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-06 Thread Dinesh Bhagat
On running command .: "python manage.py migrate" after mailman-suite 
installation.

This is showing the below Given error.
Please help me out.

Traceback (most recent call last):
  File "manage.py", line 10, in 
execute_from_command_line(sys.argv)
  File 
"/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
 line 381, in execute_from_command_line
utility.execute()
  File 
"/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/core/management/__init__.py",
 line 357, in execute
django.setup()
  File 
"/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/__init__.py",
 line 24, in setup
apps.populate(settings.INSTALLED_APPS)
  File 
"/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/registry.py",
 line 89, in populate
app_config = AppConfig.create(entry)
  File 
"/home/dinesh/Desktop/GSoC/mailman/venv3/lib/python3.6/site-packages/Django-2.1.7-py3.6.egg/django/apps/config.py",
 line 90, in create
module = import_module(entry)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 994, in _gcd_import
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-04 Thread Ye Xiaoxing
Please check you /etc/environment file. Seems to be a missing quote or 
something somewhere.

On 2019/3/5, 2:10 AM, "Dinesh Bhagat"  wrote:

/usr/sbin/update-info-dir: 2: /etc/environment: Syntax error: Unterminated 
quoted string
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-04 Thread Dinesh Bhagat
dinesh@dinesh-G3-3579:~$ sudo apt-get install python-setuptools  
python-virtualenv python3-dev git gcc node-less nodejs postfix
[sudo] password for dinesh: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
python-setuptools is already the newest version (39.0.1-2).
gcc is already the newest version (4:7.3.0-3ubuntu2.1).
git is already the newest version (1:2.17.1-1ubuntu0.4).
nodejs is already the newest version (8.10.0~dfsg-2ubuntu0.4).
The following packages were automatically installed and are no longer required:
  liblockfile-bin liblockfile1 libsigsegv2 lockfile-progs m4 sendmail-base
  sendmail-cf sensible-mda
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  dh-python libpython3-dev libpython3.6-dev node-amdefine node-source-map
  python3.6-dev
Suggested packages:
  postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb
  postfix-sqlite sasl2-bin dovecot-common resolvconf postfix-cdb postfix-doc
The following packages will be REMOVED:
  sendmail sendmail-bin
The following NEW packages will be installed:
  dh-python libpython3-dev libpython3.6-dev node-amdefine node-less
  node-source-map postfix python-virtualenv python3-dev python3.6-dev
0 upgraded, 10 newly installed, 2 to remove and 262 not upgraded.
1 not fully installed or removed.
Need to get 0 B/46.7 MB of archives.
After this operation, 79.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Setting up install-info (6.5.0.dfsg.1-2) ...
/usr/sbin/update-info-dir: 2: /etc/environment: Syntax error: Unterminated 
quoted string
dpkg: error processing package install-info (--configure):
 installed install-info package post-installation script subprocess returned 
error exit status 2
Errors were encountered while processing:
 install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Facing problem in setting up environment

2019-03-04 Thread Ye Xiaoxing
Hi Dinesh,

Please paste your error log here. Images will be filtered away.

Yours truly,
Xiaoxing Ye
http://www.linkedin.com/in/yexiaoxing


From: Dinesh Bhagat 
Sent: Tuesday, March 5, 2019 1:08 AM
To: mailman-developers@python.org
Subject: [Mailman-Developers] Facing problem in setting up environment

Hi
I am Dinesh.
I have been trying to set up environment for cloning mailman repo but the 
terminal is displaying an error again and again. I looked up on internet for 
solution and tried all these solutions but nothing worked
https://itsfoss.com/dpkg-returned-an-error-code-1/

Please help
Thanks
Dinesh
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9