First time here? Check out the FAQ!

Revision history  [back]

Error while dockerize askbot from git

I type

git clone https://  github.com/ASKBOT/askbot-devel
cd askbot-devel
docker build -t dockeraskbot .

and then the following errors occurs:

Best match: python-daemon 2.1.2
Processing python-daemon-2.1.2.tar.gz
Writing /tmp/easy_install-3yIJTM/python-daemon-2.1.2/setup.cfg
Running python-daemon-2.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3yIJTM/python-daemon-2.1.2/egg-dist-tmp-6AY3Y1
Traceback (most recent call last):
  File "setup.py", line 122, in <module>
    (**) - With MySQL you have to use MyISAM data backend, because it's the only one that supports Full Text Search."""
  File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
 .......
  File "/usr/local/lib/python2.7/posixpath.py", line 122, in dirname
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

The command '/bin/sh -c python setup.py install' returned a non-zero code: 1

How to solve this issue?