[Mailman-Developers] Development Enviromnent setup

2017-02-01 Thread Stephen J. Turnbull
Diptanshu Jamgade writes:

 > I did `mailman info -v`. This returned me with this (error)[
 > http://pastebin.com/wLzDQwAu], Kindly help.

In the future, when you don't have any idea what your problem is,
please report as a bug at GitLab (right now GitLab is down I hear?),
or attach the trace to your mail rather than using pastebin, so that
it is archived and searchable.  No action needed this time.

pastebin is an excellent service for on-the-fly discussions, such as
draft patches, but by design it is not archival.  Your report is
wasted for others searching for a solution if the traceback goes away,
and probably isn't very searchable at pastebin even while it's stored
there.

Thanks in advance!

Steve
___
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


Re: [Mailman-Developers] Development Enviromnent setup

2017-02-01 Thread Stephen J. Turnbull
Barry Warsaw writes:

 > All that said, if you can't import _sqlite3, then your Python
 > installation is messed up.  That's a stdlib module so it should
 > always be around.

But distros!  Probably @ncoghlan_dev's fault. ;-)


___
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


Re: [Mailman-Developers] Development Enviromnent setup

2017-02-01 Thread Mark Sapiro
On 02/01/2017 03:57 AM, Diptanshu Jamgade wrote:
> Hello,
> I have clonned the mailman gitlab repo(forked version) and created a
> python3 virtualenv using `virtualenv p- python3 `. Then I
> activated the virtualenv and did `python3 setup.py develop`. On completion
> I did `mailman info -v`. This returned me with this (error)[
> http://pastebin.com/wLzDQwAu], Kindly help.
> 


With your Python3 venv active, do

pip install pysqlite

-- 
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
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


Re: [Mailman-Developers] Development Enviromnent setup

2017-02-01 Thread Barry Warsaw
On Feb 01, 2017, at 11:57 AM, Diptanshu Jamgade wrote:

>I have clonned the mailman gitlab repo(forked version) and created a
>python3 virtualenv using `virtualenv p- python3 `. Then I
>activated the virtualenv and did `python3 setup.py develop`. On completion
>I did `mailman info -v`. This returned me with this (error)[
>http://pastebin.com/wLzDQwAu], Kindly help.

That makes me think that your Python installation is broken.  Can you tell
us more about what OS you're on, what version of Python you're using, and how
Python was built/installed on it?

FWIW, I tried this on Ubuntu 17.04 (devel) and it works fine.  I build my venv
a little differently, but that shouldn't matter:

$ python3 -m venv /tmp/mm3
$ source /tmp/mm3/bin/activate
$ python setup.py develop
$ mailman info -v


I'll also mention that very often I don't create a separate venv, but just use
the ones that tox builds, since I almost always have them around by running
the test suite.  If you want to build those without running the tests, you can
do something like this:

$ tox -e py35-nocov --notest -r
$ .tox/py35-nocov/bin/mailman info -v

You don't need to activate the venv to use it.

All that said, if you can't import _sqlite3, then your Python installation is
messed up.  That's a stdlib module so it should always be around.

Cheers,
-Barry
___
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


[Mailman-Developers] Development Enviromnent setup

2017-02-01 Thread Diptanshu Jamgade
Hello,
I have clonned the mailman gitlab repo(forked version) and created a
python3 virtualenv using `virtualenv p- python3 `. Then I
activated the virtualenv and did `python3 setup.py develop`. On completion
I did `mailman info -v`. This returned me with this (error)[
http://pastebin.com/wLzDQwAu], Kindly help.
-- 
Diptanshu Jamgade
13EC35021
4th Year Undergraduate Student
Department of Electronics and Electrical Communication Engineering, IIT
Kharagpur
Ph. No.- +91-77-97-436-712
___
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