Modify

Opened 15 years ago

Closed 15 years ago

#6286 closed defect (fixed)

Wysiwyg Plugin not showing up for new ticket

Reported by: minh@… Owned by: Jun Omae
Priority: high Component: TracWysiwygPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

Version: TracWysiwyg 0.2-r7217 Trac: 0.11.5 Python: 2.4.3 setuptools: 0.6c5 SQLite: 3.3.7 pysqlite: 1.1.7 Genshi: 0.5.1 mod_python: 3.3.2-dev-20080819 jQuery: 1.2.6

I tried to install this using the .egg file and loading it into the plugins directory and enabled it in trac.ini. I don't see the additional wysiwyg menus. So I removed it and tried to install using python easy_install. Enabled it again and still no menus show up. I look into the apache logs and the trac logs but nothing shows up as error. The plugin menu shows it being detected and enabled without any errors. Is there anything I need to know to get this to work? Or is it just broken for my current environment.

Attachments (0)

Change History (5)

comment:1 Changed 15 years ago by anonymous

I had the same. It's probably due to a problem with the href() function.
http://trac.edgewall.org/ticket/8159


I just did this for a quick 'n dirty solution:
In the plugins' directory, edit init.py. Search for

add_link(req,'tracwysiwyg.base',req.href())

and replace it with:

add_link(req, 'tracwysiwyg.base', '/')

comment:2 Changed 15 years ago by anonymous

Resolution: fixed
Status: newclosed

I was actually able to solve the issue by removing this off my apache conf

PythonOption TracUriRoot /

comment:3 Changed 15 years ago by Jun Omae

(In [7219]) fixed #6286 - problem that req.href() can generate empty url.

comment:4 Changed 15 years ago by minh@…

Resolution: fixed
Status: closedreopened

Ok removing the PythonOption TracURIRoot screwed up my URLS. I turned that back on and attempted to edit the init.py, however I couldn't find that file.

comment:5 Changed 15 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

thanks figured it out, It was in the source code directory.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.