[6.0.0_rc2] Wiki pages displayed in wiki syntax

Bug #700966 reported by SoX
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Low
OpenERP R&D Web Team

Bug Description

As you can see on the ScreenShot (attachment), in standart view the wiki page isn't translated from wiki syntax to HTML.

Revision history for this message
SoX (flosox) wrote :
affects: openobject-addons → openobject-client-web
Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello sir,

There might be some mistake there.
Its working fine here.
I checked in two different machines.

I simply installed database in french and installed wiki module.
And it worked.

Can you please check ?
Thanks.

Revision history for this message
SoX (flosox) wrote :

Hello,

I'm sorry but I followed your instructions with the same result.

Could you write me a process to let me give more information about this issue ?

Thanks a lot,

Revision history for this message
Jeroen Vet (jeroen-vet) wrote :

Both the openerp-server/addons and openerp-web/addons need to writeable by the user running openerp-web. Making them so solved the problem for me.

Revision history for this message
Ferdinand (office-chricar) wrote :

well creating pyc must be possible which is at latest donw when the server starts - isn't it?

Revision history for this message
Jeroen Vet (jeroen-vet) wrote :

Sorry, I think you also need to change line 227 in openerp-web/obenobject/addons.py
from the original:

writeable = os.access('addons', os.W_OK)

to

writeable = os.access(paths.addons(),os.W_OK)

otherwise it always returns a False whether writeable or not.

It does seem like a bug after all?

Revision history for this message
segap (pierre-pages) wrote :

I have the same problem
V6.0 Ubuntu 10.4

Revision history for this message
Jeroen Vet (jeroen-vet) wrote :

I guess the problem must be specific to Ubuntu 10.4. I am also on that distribution (server edition).

Revision history for this message
Andreas Brueckl (andreas-brueckl) wrote :

I can confirm this problem with V6.0 and Ubuntu 10.04.

Revision history for this message
Jonathan Liuti (liuti-john) wrote :

The solution provided by Jeroen Vet on comment #6 is working for me.
It fixes the problem.

Thanks!

(I added a patch but the again the soltion comes from Jeroen)

Revision history for this message
SoX (flosox) wrote :

Great!

I changed the owner of both directories (openerp-server/addons and openerp-web/addons) and I changed line 227 of in openerp-web/obenobject/addons.py. A restart of openerp-web and it works !!!

Thanks a lot Jeroen Vet.

Revision history for this message
Alan Bell (alanbell) wrote :

fantastic, I have been trying for ages to figure this one out! Just changing line 227 worked for me.

Revision history for this message
Andreas Brueckl (andreas-brueckl) wrote :

The same also worked for me!!

Revision history for this message
segap (pierre-pages) wrote :

Thanks
it 's ok for me to

Revision history for this message
Jiten (OpenERP) (jiten-openerp) wrote :

Hello,

It has been fixed in trunk web and in V6.0 too.

Thanks.

Changed in openobject-client-web:
status: Confirmed → Fix Released
Revision history for this message
Vince Clark (vclark) wrote :

I am using web client 6.0.1 on Ubuntu 10.10. I made the change to line 227 in addons.py and restarted. Still can only see wiki syntax.

I also tried changing the directory permissions but if I do that I start getting errors in the web UI.

Revision history for this message
Jordi Ballester (jordi-ballester) wrote :

See my comments in https://answers.launchpad.net/openobject-client-web/+question/141150

Apparently I was changing permissions to the wrong folder:
Instead of /usr/lib/pymodules/python2.6/openerp-server/addons
I had to change permissions to /usr/share/pyshared/openerp-server/addons using
sudo chmod -R 777 /usr/lib/pymodules/python2.6/openerp-server/addons
When I reboot I can now login to OpenERP and the wiki syntax is correctly rendered.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.