Modify

Opened 3 years ago

Closed 3 years ago

#9962 closed defect (fixed)

Not getting radio buttons after install

Reported by: abeauvais@… Owned by: jun66j5
Priority: normal Component: TracWysiwygPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I installed the component then enabled it. In admin I show it in plugins. When I goto edit any wiki pages though the radio buttons are not there and I can not switch to the Wysiwyg editor because of this.

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by jun66j5

I need the detail information in your environment.

  • Please tell me which version of browser you're using.
  • Could you pleass check javascript console in your browser when editing wiki page?
  • Could you please check log/trac.log in your tracenv?

comment:2 Changed 3 years ago by abeauvais@…

I tested in Chrome and IE9
It looks like the script is loading:

</title>
        <link rel="search" href="/trac/search" />
        <link rel="help" href="/trac/wiki/TracGuide" />
        <link rel="tracwysiwyg.base" href="/trac" />
        <link rel="start" href="/trac/wiki" />
        <link rel="stylesheet" href="/trac/chrome/common/css/trac.css" type="text/css" /><link rel="stylesheet" href="/trac/chrome/common/css/wiki.css" type="text/css" /><link rel="stylesheet" href="/trac/chrome/tracwysiwyg/wysiwyg.css" type="text/css" />
        <link rel="tracwysiwyg.stylesheet" href="/trac/chrome/common/css/trac.css" /><link rel="tracwysiwyg.stylesheet" href="/trac/chrome/tracwysiwyg/editor.css" />
        <link rel="shortcut icon" href="/trac/chrome/common/trac.ico" type="image/x-icon" />
        <link rel="icon" href="/trac/chrome/common/trac.ico" type="image/x-icon" />
      <link type="application/opensearchdescription+xml" rel="search" href="/trac/search/opensearch" title="Search iTRACS" />
    <script type="text/javascript" src="/trac/chrome/common/js/jquery.js"></script><script type="text/javascript" src="/trac/chrome/common/js/trac.js"></script><script type="text/javascript" src="/trac/chrome/common/js/search.js"></script><script type="text/javascript" src="/trac/chrome/tracwysiwyg/wysiwyg.js"></script><script type="text/javascript" src="/trac/chrome/tracwysiwyg/wysiwyg-load.js"></script>
    <!--[if lt IE 7]>
    <script type="text/javascript" src="/trac/chrome/common/js/ie_pre7_hacks.js"></script>
    <![endif]-->
    <script type="text/javascript" src="/trac/chrome/common/js/wikitoolbar.js"></script><script type="text/javascript">
      jQuery(document).ready(function($) {
        $("#text").blur(function() {
          $("#scroll_bar_pos").val(this.scrollTop);
        }).get(0).scrollTop = $("#scroll_bar_pos").val();
        $("#editrows").change(function() {
          resizeTextArea("text", this.options[this.selectedIndex].value);
        });
      });
    </script>
  </head>

and from the log:

2012-04-13 10:58:09,288 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/tracwysiwyg/wysiwyg.css'">
2012-04-13 10:58:09,289 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/jquery.js'">
2012-04-13 10:58:09,289 Trac[chrome] WARNING: File js/jquery.js not found in any of ['/usr/lib/python2.6/dist-packages/trac/htdocs']
2012-04-13 10:58:09,290 Trac[chrome] DEBUG: Prepare chrome data for request
2012-04-13 10:58:09,291 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2012-04-13 10:58:09,292 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/trac.js'">
2012-04-13 10:58:09,294 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/search.js'">
2012-04-13 10:58:09,295 Trac[main] WARNING: HTTPNotFound: 404 Not Found (File js/jquery.js not found)
2012-04-13 10:58:09,296 Trac[session] DEBUG: Retrieving session for ID 'abeauvais'
2012-04-13 10:58:09,318 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/tracwysiwyg/wysiwyg.js'">
2012-04-13 10:58:09,320 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/tracwysiwyg/wysiwyg-load.js'">
2012-04-13 10:58:09,325 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/wikitoolbar.js'">
2012-04-13 10:58:09,332 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/css/code.css'">
2012-04-13 10:58:09,441 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/site/trac_logo.png'">
2012-04-13 10:58:09,441 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/topbar_gradient.png'">
2012-04-13 10:58:09,442 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/topbar_gradient2.png'">
2012-04-13 10:58:09,443 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/dots.gif'">
2012-04-13 10:58:09,453 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/trac_logo_mini.png'">

The server is Ubuntu 10.04 LTS Server running within apache.

comment:3 Changed 3 years ago by jun66j5

I just confirmed. It works on IE9 in my environment.

2012-04-13 10:58:09,295 Trac[main] WARNING: HTTPNotFound: 404 Not Found (File js/jquery.js not found)

It seems that your Trac has installation issue.

If you're using Ubuntu or variants, #9239 and comment:ticket:7320:15 will probably help you.

comment:4 Changed 3 years ago by anonymous

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

That was it thank you.

Add Comment

Modify Ticket

Action
as 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.