problems installing plpythonu
Bug #396401 reported by
Ferdinand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE OpenObject Client |
New
|
Low
|
Unassigned |
Bug Description
1) the db user must be superuser to issue CREATE LANGUAGE plpythonu;
- which seems not to be the case for the rest of OpenERP processes
my dbuser has only dbcreate rights
2) after "CREATE LANGUAGE plpythonu;" as superuser - an error is issued
......
execute
res = self._obj.
ProgrammingError: permission denied for language plpythonu
any hint?
Changed in openobject-client-kde: | |
importance: | Undecided → Low |
To post a comment you must log in.
A Dimarts, 7 de juliol de 2009, Ferdinand @ ChriCar va escriure:
> Public bug reported:
>
> 1) the db user must be superuser to issue CREATE LANGUAGE plpythonu;
> - which seems not to be the case for the rest of OpenERP processes
> my dbuser has only dbcreate rights
Yes, but there's no way we can workaround this. As you've seen in this version
we try to create the language automatically, but there's now way of doing that
if the user which is used to access the database is not a superuser. Which is
the right thing to do if you have security in mind.
> 2) after "CREATE LANGUAGE plpythonu;" as superuser - an error is issued execute( query, params)
> ......
> execute
> res = self._obj.
> ProgrammingError: permission denied for language plpythonu
>
> any hint?
Please try:
GRANT ALL ON LANGUAGE plpythonu TO your_openerp_user;
> client- kde
> ** Affects: openobject-
> Importance: Undecided
> Status: New
-- www.NaN- tic.com
Albert Cervera i Areny
http://
Mòbil: +34 669 40 40 18