← Back to team overview

openerp-india team mailing list archive

[Bug 985381] Re: openerp source package lacks dependencies on python-setuptools and python-pybabel

 

For all the people downloading the latest source tarball from
http://v6.openerp.com/downloads (actually points to
http://nightly.openerp.com/6.1/releases/openerp-6.1-latest.tar.gz) it's
still a problem.

The server installation documentation doesn't tell us, that we need to
-> sudo apt-get install python-setuptools
too. Otherwise, the install command 
-> sudo python setup.py install
will fail with the error: 

Traceback (most recent call last):
  File "setup.py", line 23, in <module>
    import glob, os, re, setuptools, sys
ImportError: No module named setuptools

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/985381

Title:
  openerp source package lacks dependencies on python-setuptools and
  python-pybabel

Status in OpenERP Server:
  Confirmed

Bug description:
  As per the description, if someone tries to build a .deb package of
  OpenERP on a vanilla Ubuntu system, the following error is emitted:

  vrtadmin@openerp-dev:~/work/openerp/branches/openerp-vrt-6.1-1-calendaring$ dpkg-buildpackage 
  dpkg-buildpackage: set CFLAGS to default value: -g -O2
  dpkg-buildpackage: set CPPFLAGS to default value: 
  dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
  dpkg-buildpackage: set FFLAGS to default value: -g -O2
  dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
  dpkg-buildpackage: source package openerp-vrt
  dpkg-buildpackage: source version 6.1-1-1
  dpkg-buildpackage: source changed by Stuart Longland <me@xxxxxxxxxxxxx>
  dpkg-buildpackage: host architecture i386
   fakeroot debian/rules clean
  dh  clean
     dh_testdir
     dh_auto_clean
  Traceback (most recent call last):
    File "setup.py", line 23, in <module>
      import glob, os, re, setuptools, sys
  ImportError: No module named setuptools
  dh_auto_clean: python setup.py clean -a returned exit code 1
  make: *** [clean] Error 1
  dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
  vrtadmin@openerp-dev:~/work/openerp/branches/openerp-vrt-6.1-1-calendaring$

  If they install python-setuptools, they'll get hit with another
  complaining about a missing module called babel.

  Attached is an updated debian/control file which lists these as build-
  time dependencies.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/985381/+subscriptions


References