Modify

Opened 3 years ago

Closed 3 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: jun66j5
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 3 years ago by jun66j5

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 3 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 3 years ago by trajano@…

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

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/

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from jun66j5. Next status will be 'closed'.
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.