Modify

Opened 13 years ago

Closed 13 years ago

#9239 closed defect (fixed)

Unable to get it working on 0.11.7 TurnKeyLinux on Mac firefox and chrome

Reported by: trajano@… Owned by: Jun Omae
Priority: normal Component: TracWysiwygPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I have tried to install this plugin using the instructions provided. I have enabled the component and restarted the server, but I am unable to get it working on 0.11.7 TurnKeyLinux on Mac Firefox and Chrome. I do not see the option to switch to WYSIWYG mode when I try to edit a Wiki page.

Attachments (0)

Change History (3)

comment:1 Changed 13 years ago by Jun Omae

Please check $TRACENV/log/trac.log (set log_type = FILE and log_level = DEBUG in [logging] section if needed) and the error on javascript console in your browser.

comment:2 Changed 13 years ago by trajano@…

I think I found the culprit. There is no jquery.js is there a dependency I am missing then?

2011-10-05 19:01:23,756 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/jquery.js'"> 2011-10-05 19:01:23,757 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/tracwysiwyg/wysiwyg.js'"> 2011-10-05 19:01:23,762 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/tracwysiwyg/wysiwyg-load.js'"> 2011-10-05 19:01:23,766 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/tracwysiwyg/wysiwyg.css'"> 2011-10-05 19:01:23,770 Trac[chrome] WARNING: File js/jquery.js not found in any of usr/lib/python2.6/dist-packages/trac/htdocs? 2011-10-05 19:01:23,770 Trac[chrome] DEBUG: Prepare chrome data for request 2011-10-05 19:01:23,793 Trac[api] DEBUG: action controllers for ticket workflow: ConfigurableTicketWorkflow? 2011-10-05 19:01:23,812 Trac[main] WARNING: HTTPNotFound: 404 Not Found (File js/jquery.js not found)

comment:3 Changed 13 years ago by trajano@…

Resolution: fixed
Status: newclosed

Found a workaround

ln -s /usr/share/pyshared/trac/htdocs/js/jquery.js /usr/lib/python2.6/dist-packages/trac/htdocs/js/jquery.js

http://www.rustyrazorblade.com/2011/05/trac-11-jquery-bug/

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.