Modify

Opened 5 years ago

Closed 5 years ago

#6286 closed defect (fixed)

Wysiwyg Plugin not showing up for new ticket

Reported by: minh@… Owned by: jun66j5
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 5 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 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

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

PythonOption TracUriRoot /

comment:3 Changed 5 years ago by jun66j5

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

comment:4 Changed 5 years ago by minh@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

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 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain jun66j5.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.