Opened 12 years ago

Last modified 12 years ago

#9707 closed defect

WYSIWYG editor not displayed — at Version 5

Reported by: rajnesh.siwal@… Owned by: Jun Omae
Priority: normal Component: TracWysiwygPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

tracwysiwygplugin/0.12/ has been installed on Trac. It has been enabled in [components] sections :-

[components]
tracwysiwyg.* = enabled
tracwysiwyg.wysiwygmodule = enabled

Still, I cannot see the radio button to switch between TextArea and WYSIWYG editor. I am unable to switch to tracwysiwyg. Please suggest.

Change History (6)

Changed 12 years ago by rajnesh.siwal@…

Attachment: wysisuget.png added

snapshot

comment:1 Changed 12 years ago by Jun Omae

  • Please tell me which version of browser you're using.
  • Check javascript console in your browser.
  • Check log/trac.log in your tracenv.

comment:2 Changed 12 years ago by rajnesh.siwal@…

Tried on Firefox 9.0.1, FAILS Tried on Internet Explorer 9, FAILS

Trac version

[rsiwal@ldaptest ~]$ rpm -qa|grep -i trac
trac-0.12-2.el5.rf
2012-01-18 22:44:54,871 Trac[svn_fs] DEBUG: Subversion bindings imported
2012-01-18 22:44:54,921 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 438, in process_request
    for dir in [os.path.normpath(dir[1]) for dir
  File "build/bdist.linux-x86_64/egg/sequencediagram/macro.py", line 66, in get_htdocs_dirs
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'sequencediagram/htdocs'
2012-01-18 22:44:58,317 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/tracwysiwyg/wysiwyg.js'">
2012-01-18 22:44:58,320 Trac[chrome] DEBUG: Prepare chrome data for request
2012-01-18 22:44:58,323 Trac[session] DEBUG: Retrieving session for ID 'rsiwal'
2012-01-18 22:44:58,325 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2012-01-18 22:44:58,330 Trac[svn_fs] DEBUG: Subversion bindings imported
2012-01-18 22:44:58,335 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 438, in process_request
    for dir in [os.path.normpath(dir[1]) for dir
  File "build/bdist.linux-x86_64/egg/sequencediagram/macro.py", line 66, in get_htdocs_dirs
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'sequencediagram/htdocs'
2012-01-18 22:45:01,614 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/tracwysiwyg/wysiwyg-load.js'">
2012-01-18 22:45:01,618 Trac[chrome] DEBUG: Prepare chrome data for request
2012-01-18 22:45:01,622 Trac[session] DEBUG: Retrieving session for ID 'rsiwal'
2012-01-18 22:45:01,624 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2012-01-18 22:45:01,631 Trac[svn_fs] DEBUG: Subversion bindings imported
2012-01-18 22:45:01,636 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 438, in process_request
    for dir in [os.path.normpath(dir[1]) for dir
  File "build/bdist.linux-x86_64/egg/sequencediagram/macro.py", line 66, in get_htdocs_dirs
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'sequencediagram/htdocs'
2012-01-18 22:45:05,973 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/folder.png'">
2012-01-18 22:45:05,977 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/expander_normal.png'">
2012-01-18 22:45:05,985 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/asc.png'">
2012-01-18 22:45:06,007 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/changeset.png'">
2012-01-18 22:45:08,111 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/expander_normal_hover.png'">
2012-01-18 22:45:11,080 Trac[main] DEBUG: Dispatching <Request "GET '/browser/gatewayServer'">
2012-01-18 22:45:11,082 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/loading.gif'">
2012-01-18 22:45:11,083 Trac[api] INFO: Synchronized '' repository in 0.00 seconds
2012-01-18 22:45:11,084 Trac[session] DEBUG: Retrieving session for ID 'rsiwal'
2012-01-18 22:45:11,092 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/expander_open_hover.png'">
2012-01-18 22:45:11,094 Trac[chrome] DEBUG: Prepare chrome data for request
2012-01-18 22:45:11,701 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/expander_open.png'">
2012-01-18 22:45:19,726 Trac[main] DEBUG: Dispatching <Request "GET '/browser/gatewayServer/trunk'">
2012-01-18 22:45:19,786 Trac[svn_fs] DEBUG: Subversion bindings imported
2012-01-18 22:45:19,790 Trac[api] INFO: Synchronized '' repository in 0.06 seconds
2012-01-18 22:45:19,791 Trac[session] DEBUG: Retrieving session for ID 'rsiwal'
2012-01-18 22:45:19,795 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2012-01-18 22:45:19,934 Trac[chrome] DEBUG: Prepare chrome data for request
2012-01-18 22:45:20,723 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/file.png'">

comment:3 Changed 12 years ago by Jun Omae

Priority: highnormal

Hmmm, I tested with trac 0.12 and tracwysiwyg 0.12.0.4 now, in my environment. And, works fine for me! I think the issue is a installation problem.

Disable the other plugins than tracwysiwyg and try again. If it still doesn't work, could you attach conf/trac.ini and log/trac.log?

comment:4 Changed 12 years ago by rajnesh.siwal@…

[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.htfile.abstractpasswordfilestore = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.svnserve.svnservepasswordstore = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = enabled
gchartplugin.charting.gchart = enabled
sequencediagram.* = enabled
tracmetrixplugin.* = enabled
tractoc.* = enabled
tracwysiwyg.* = enabled
tracwysiwyg.wysiwygmodule = enabled
webadmin.* = enabled
yuml.* = enabled

components section is as above. I am unable to attach the complete ini file

comment:5 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.