Re: [Mailman-Developers] Help regarding an error during installation

2016-03-12 Thread Stephen J. Turnbull
Abhilash Raj writes:
 > On 03/10/2016 07:18 AM, Daman Singh wrote:

 > > When i run buildout command i get an error saying,"no module
 > > named 'zlib'" but on running ipython, when i import zlib it works
 > > all right.
 > 
 > When running buildout in mailman-bundler, it generally creates a
 > virtualenv of its own, which might not have 'zlib not installed in
 > it.

This doesn't make a lot of sense to me, as zlib is in the stdlib, and
therefore should be installed if Python is.  Something weird is going
on here, such as crossing PYTHON_PATHs.

I'm beginning to agree with Simon: unless your project is to *fix
bundler*, developers should avoid bundler for now.

___
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] Help regarding an error during installation

2016-03-11 Thread Daman Singh
@Simon thanks for the help. I have successfully setup the dev environment.

@Abhilash I have checked it twice but no new virtualenv is created. I use
virtualenv for projects and have used one for this also, and zlib was
installed in that env. Moreover, i tried to install it on Ubuntu installed
in virtual machine, and it ran absolutely fine.

Best
Daman

On Fri, Mar 11, 2016 at 2:02 AM, Abhilash Raj 
wrote:

> Hi Daman,
>
> On 03/10/2016 07:18 AM, Daman Singh wrote:
> > Hello everyone!
> >
> > I am trying to install mailman for development using mailman-bundler. I
> > followed  the instructions given here
> > http://mailman-bundler.readthedocs.org/en/latest/ , but i am facing a
> > problem.
> > When i run buildout command i get an error saying,"no module named
> 'zlib'"
> > but on running ipython, when i import zlib it works all right.
>
> When running buildout in mailman-bundler, it generally creates a
> virtualenv of its own, which might not have 'zlib not installed in it.
> Just look for the virtualenv that gives this error(it could be venv-3.4,
> that bundler makes for running mailman in), activate that, and install
> 'zlib in there.
>
> I am not sure where is this error coming from, but for general python
> projects, this is a general solution.
>
>
> --
> thanks,
> Abhilash Raj
>
___
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] Help regarding an error during installation

2016-03-10 Thread Abhilash Raj
Hi Daman,

On 03/10/2016 07:18 AM, Daman Singh wrote:
> Hello everyone!
> 
> I am trying to install mailman for development using mailman-bundler. I
> followed  the instructions given here
> http://mailman-bundler.readthedocs.org/en/latest/ , but i am facing a
> problem.
> When i run buildout command i get an error saying,"no module named 'zlib'"
> but on running ipython, when i import zlib it works all right.

When running buildout in mailman-bundler, it generally creates a
virtualenv of its own, which might not have 'zlib not installed in it.
Just look for the virtualenv that gives this error(it could be venv-3.4,
that bundler makes for running mailman in), activate that, and install
'zlib in there.

I am not sure where is this error coming from, but for general python
projects, this is a general solution.


-- 
thanks,
Abhilash Raj
___
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] Help regarding an error during installation

2016-03-10 Thread Simon Hanna
On 03/10/2016 04:18 PM, Daman Singh wrote:
> Hello everyone!
> 
> I am trying to install mailman for development using mailman-bundler. I
> followed  the instructions given here
> http://mailman-bundler.readthedocs.org/en/latest/ , but i am facing a
> problem.
> When i run buildout command i get an error saying,"no module named 'zlib'"
> but on running ipython, when i import zlib it works all right.
> I am using a virtualenvironment. Basically module named zlib is already
> installed but "buildout" command is still giving me error.
> Anyone having its fix kindly provide me its fix
I'm unaware of any dependency on zlib. If you want to install mailman for 
development please refer
to this wiki page

http://wiki.list.org/DEV/SetupDevEnvironment

___
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