Re: [Mailman-Developers] help with ImportError: No module named 'psycopg2'

2015-05-27 Thread Abhilash Raj
On Wed, 27 May 2015 21:44:51 +0300
Danil Smirnov da...@smirnov.la wrote:

 I'm still trying to get Mailman 3 ready for the production.
 
 I've set parameters for the production and trying to make post-update:
 
 ---
 
 (venv)[root@host mailman-bundler]# bin/mailman-post-update
 + '[' False == False ']'
 + mkdir -p /var/spool/mailman-web/static
 + /usr/local/src/mailman-bundler/bin/mailman-web-django-admin
 collectstatic --clear --noinput --verbosity 0
 + /usr/local/src/mailman-bundler/bin/mailman-web-django-admin compress
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_address_activation.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_address_activation_link.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_settings.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/mass_removal.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/archival_options.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/unsubscribe.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/login.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/subscription_requests.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_subscriptions.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_tasks.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/confirm_delete.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/summary.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/settings.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_mailmansettings.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/members.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/mass_subscribe.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/domain_index.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 /usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/metrics.html:
 Invalid template name in 'extends' tag: ''. Got this from the
 'postorius_base_template' variable.
 Error parsing template
 

[Mailman-Developers] help with ImportError: No module named 'psycopg2'

2015-05-27 Thread Danil Smirnov
I'm still trying to get Mailman 3 ready for the production.

I've set parameters for the production and trying to make post-update:

---

(venv)[root@host mailman-bundler]# bin/mailman-post-update
+ '[' False == False ']'
+ mkdir -p /var/spool/mailman-web/static
+ /usr/local/src/mailman-bundler/bin/mailman-web-django-admin
collectstatic --clear --noinput --verbosity 0
+ /usr/local/src/mailman-bundler/bin/mailman-web-django-admin compress
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_address_activation.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_address_activation_link.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_settings.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/mass_removal.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/archival_options.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/unsubscribe.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/login.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/subscription_requests.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_subscriptions.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_tasks.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/confirm_delete.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/summary.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/settings.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_mailmansettings.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/members.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/mass_subscribe.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/domain_index.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/lists/metrics.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template
/usr/local/src/mailman-bundler/eggs/postorius-1.0.1-py2.7.egg/postorius/templates/postorius/user_profile.html:
Invalid template name in 'extends' tag: ''. Got this from the
'postorius_base_template' variable.
Error parsing template

Re: [Mailman-Developers] help with ImportError: No module named 'psycopg2'

2015-05-27 Thread Danil Smirnov
2015-05-27 22:57 GMT+03:00 Abhilash Raj raj.abhila...@gmail.com:
 There are actually 2 virtualenvs for mailman. One is the default one
 that you are working in, another one(venv-3.4) is probably automatically
 created by mailman-bundler as you can see in the logs above.
 This should fix your problem.

   $ source /usr/local/src/mailman-bundler/venv-3.4/bin/activate
   $ pip install psycopg2
   $ (reactivate your original venv)

Thanks Abhilash! It works! :)
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

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