Community mailing list archives

community@mail.odoo.com

Re: struggling with v9 install

by
Arjan Duijs
- 10/08/2015 09:25:52
Hi jared,
i have been backing forth messages with webfaction on this matter, they say the script runs under the same user. 

in the errorlog i found the following:
 mod_wsgi (pid=4123): Exception occurred processing WSGI script '/home/josesapelli/webapps/odoo/odoo/openerp-wsgi.py'.
 Traceback (most recent call last):
   File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/service/wsgi_server.py", line 184, in application
     return application_unproxied(environ, start_response)
   File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/service/wsgi_server.py", line 170, in application_unproxied
     result = handler(environ, start_response)
   File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1416, in __call__
     return self.dispatch(environ, start_response)
   File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1390, in __call__
     return self.app(environ, start_wrapped)
   File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/werkzeug/wsgi.py", line 588, in __call__
     return self.app(environ, start_response)
   File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1586, in dispatch
     return response(environ, start_response)
  File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/werkzeug/wrappers.py", line 1207, in __call__
     start_response(status, headers)
   File "/home/josesapelli/webapps/odoo/lib/python2.7/site-packages/odoo-9.0-py2.7.egg/openerp/http.py", line 1389, in start_wrapped
     start_response(status, new_headers)
 ValueError: no space following status code
 ERROR:openerp.addons.base.ir.ir_qweb:Could not execute command 'lessc'


2015-10-06 19:17 GMT-05:00 <jared@jaredkipe.com>:
But does Odoo run as that user?
Are you starting Odoo from that shell?

Jared

On Oct 6, 2015, at 3:37 PM, Arjan Duijs <arjanduijs@gmail.com> wrote:

Hi Jared,

had tried to create the symlink before.
ln: creating symbolic link `/usr/bin/lessc': Permission denied
(webfaction doesnt allow to write there, instead you have your personal 'bin' located at  ~/bin  i did create the symlink there, so which resolves to that location)

echo $PATH:
[josesapelli@web452 ~]$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/josesapelli/bin:/home/josesapelli/webapps/node/bin


2015-10-06 15:51 GMT-05:00 <jared@jaredkipe.com>:
ln -s `which lessc` /usr/bin/lessc

If that doesn't work, su into the user and echo $PATH

Jared


On Oct 6, 2015, at 9:33 AM, Arjan Duijs <arjanduijs@gmail.com> wrote:

Hi Jared,
[josesapelli@web452 ~]$ lessc -v lessc 2.5.3 (Less Compiler) [JavaScript]

Op 6 okt. 2015 10:39 schreef <jared@jaredkipe.com>:
The less application you resolved is GNU less (text processor), not lessc (CSS preprocessor).

Check the path of the user you run Odoo as and ensure lessc is somewhere in it. 

Jared


On Oct 3, 2015, at 6:38 AM, Arjan Duijs <arjanduijs@gmail.com> wrote:

Hi all,
I am realy struggling with my v9 install and dont seem to get it worrk properly in my webfaction environment.

- installed node + less (added paths and verified if both are executable from the cmd line

[josesapelli@web452 ~]$ less -V
less 436
Copyright (C) 1984-2009 Mark Nudelman

[josesapelli@web452 ~]$ npm -version
2.11.3

created a virtualenv to install odoo

within the virtualenv:

verified if LESS was still working


pip install -r requirements.txt  (gevent wouldnt instll due to wheel errors, after removing gevent it installed all the addons)

python setup.py install

created the Database

and browse to odoo:\

But still getting the "Could not execute command 'lessc" and the admin panel is missing quite some styles (does not render propetly)

Event installing the blog addon as some suggested doesnt make a difference.
So somehow odoo still cant get to less, but the cmd line does say otherwise.

Hopefully someone got an idea.

thanks!
arjan




_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe