On 2015-09-02 17:04, Christoph Larsen wrote:
>
> On Wednesday, May 20, 2015 at 8:05:03 PM UTC, Cédric Krier wrote:
> >
> > On 20 May 11:01, [email protected] <javascript:> wrote:
> > > Hi,
> > >
> > > i'm trying to use the sao Web Client and installed node.js and # npm
> > > install # bower install # grunt.
> > > I also added the path to the the directory in the trytond.conf.
> > >
> > >
> > > I can start the client but only getting the following screen:
> > > <
> > https://lh3.googleusercontent.com/-xCGCxe6E5b0/VVzLQ98SJqI/AAAAAAAAAAM/8rYcASRXCQs/s1600/Bildschirmfoto%2B2015-05-20%2Bum%2B20.00.59.png>
> >
> >
> > >
> > >
> > >
> > > seams like something is missing or did i do something wrong?
> >
> > It looks like it is missing at least the bootstrap css.
> > 'bower install' should have installed it in bower_components directory.
> >
> >
> > Thanks, Cédric, that helped. I still get the following error, after
> completing all the steps outlined in the README:
>
> Traceback (most recent call last):
> > File "/site-packages/trytond/protocols/jsonrpc.py", line 162, in
> > _marshaled_dispatch
> > response['result'] = dispatch_method(method, params)
> > File "/site-packages/trytond/protocols/jsonrpc.py", line 191, in _dispatch
> > res = dispatch(*args)
> > File "/site-packages/trytond/protocols/dispatcher.py", line 84, in
> > dispatch
> > raise Exception('AccessDenied')
> > Exception: AccessDenied
> >
> > Any thoughts what this means? I carefully changed permissions on the
> jsondata directory back and forth, no difference. The GTK client works
> fine. Nothing in the logs except a:
>
> > code 404, message File not found
> >
> I note that I have to go to https://[my.domain]:8000/sao to see the login
> screen coming up, only to be overlayed by the above error message.
This is because in your trytond.conf, you disabled the database listing:
[database]
list = false
sao does only support for now when listing is allowed.
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/