Hi,
Since the thread has grown a bit longer, I am reopening the same issue, in the following thread.
On Thu, Jul 13, 2017 at 11:33 PM, toto200891 <syedfara...@gmail.com> wrote:
> I am sorry, here it is.
Thanks. It seems to be normal.
Please check the following.
1. If [ticketstats] yui_base_url is configured, remove the option from
your trac.ini.
2. Visit /ticketstats page, view source of the page, and confirm the
page has "//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".
3. Make sure your browser can access
http://cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js.
If it cannot, your browser configuration and/or your network is wrong.
--
Jun Omae <jun...@gmail.com> (大前 潤)
On Thursday, July 13, 2017 at 9:43:18 PM UTC+2, Jun Omae wrote:On Thu, Jul 13, 2017 at 11:33 PM, toto200891 <syedfara...@gmail.com> wrote:
> I am sorry, here it is.
Thanks. It seems to be normal.
Please check the following.
1. If [ticketstats] yui_base_url is configured, remove the option from
your trac.ini.
I removed [ticketstats] section from trac.ini file2. Visit /ticketstats page, view source of the page, and confirm the
page has "//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".
Both the pages are accessible via browser. But still I don't see any plots. Any other method troubleshoot it?
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/yahoo-dom-event/yahoo-dom-event.js"></script>
Please see the attached file, when I click on the link, a following page opens.
Regards,
SF
- Ryan
On Tuesday, July 18, 2017 at 1:20:43 AM UTC-7, toto200891 wrote:
On Tuesday, July 18, 2017 at 12:13:49 AM UTC+2, RjOllos wrote:
On Monday, July 17, 2017 at 1:17:05 AM UTC-7, toto200891 wrote:
On Thursday, July 13, 2017 at 9:43:18 PM UTC+2, Jun Omae wrote:2. Visit /ticketstats page, view source of the page, and confirm the
page has "//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".Both the pages are accessible via browser. But still I don't see any plots. Any other method troubleshoot it?Right click on page and "view source". The source will open in another tag. Please search that page for "yahoo-dom-event.js" and copy the entire line containing that string.
Thanks for the reply Ryan.
Here is the string<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/yahoo-dom-event/yahoo-dom-event.js"></script>
Please see the attached file, when I click on the link, a following page opens.
Regards,
SF
That looks fine. The error you showed in the previous reply (1) looks like it's probably a side-effect of an earlier exception that prevents all the JavaScript code on the page from loading.
I was thinking you might have a plugin conflict, but on looking at (2) I noticed that the only plugin you have installed is TracStats 0.6.1. The version of TracTicketStats should be 3.0.0dev (3). Please try to clarify what plugin you have installed, and whether that's the only plugin installed in the environment.
On Tuesday, July 18, 2017 at 1:20:43 AM UTC-7, toto200891 wrote:
On Tuesday, July 18, 2017 at 12:13:49 AM UTC+2, RjOllos wrote:
On Monday, July 17, 2017 at 1:17:05 AM UTC-7, toto200891 wrote:
On Thursday, July 13, 2017 at 9:43:18 PM UTC+2, Jun Omae wrote:2. Visit /ticketstats page, view source of the page, and confirm the
page has "//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".Both the pages are accessible via browser. But still I don't see any plots. Any other method troubleshoot it?Right click on page and "view source". The source will open in another tag. Please search that page for "yahoo-dom-event.js" and copy the entire line containing that string.
Thanks for the reply Ryan.
Here is the string<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/yahoo-dom-event/yahoo-dom-event.js"></script>
Please see the attached file, when I click on the link, a following page opens.
Regards,
SF
That looks fine. The error you showed in the previous reply (1) looks like it's probably a side-effect of an earlier exception that prevents all the JavaScript code on the page from loading.
I was thinking you might have a plugin conflict, but on looking at (2) I noticed that the only plugin you have installed is TracStats 0.6.1. The version of TracTicketStats should be 3.0.0dev (3). Please try to clarify what plugin you have installed, and whether that's the only plugin installed in the environment.
In the DEBUG log file, I see that some of the files are skipped:1. Skipping "trac.mimeview.pygments = trac.mimeview.pygments [pygments]": ("DistributionNotFound: The 'Pygments>=0.6' distribution was not found and is required by the application" not found)2. Skipping "trac.mimeview.rst = trac.mimeview.rst [rest]": ("DistributionNotFound: The 'docutils>=0.3.9' distribution was not found and is required by the application" not found)3. Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("DistributionNotFound: The 'textile>=2.0' distribution was not found and is required by the application" not found)4. "tracopt.mimeview.silvercity = tracopt.mimeview.silvercity [silvercity]": ("DistributionNotFound: The 'SilverCity>=0.9.4' distribution was not found and is required by the application" not found)5. Skipping "tracopt.perm.authz_policy = tracopt.perm.authz_policy [configobj]": ("DistributionNotFound: The 'ConfigObj' distribution was not found and is required by the application" not found)Are they relevant to my problem? Please find the attached log file for the reference.
On Tuesday, July 18, 2017 at 6:19:16 PM UTC+2, RjOllos wrote:
On Tuesday, July 18, 2017 at 1:20:43 AM UTC-7, toto200891 wrote:
On Tuesday, July 18, 2017 at 12:13:49 AM UTC+2, RjOllos wrote:
On Monday, July 17, 2017 at 1:17:05 AM UTC-7, toto200891 wrote:
On Thursday, July 13, 2017 at 9:43:18 PM UTC+2, Jun Omae wrote:2. Visit /ticketstats page, view source of the page, and confirm the
page has "//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".Both the pages are accessible via browser. But still I don't see any plots. Any other method troubleshoot it?Right click on page and "view source". The source will open in another tag. Please search that page for "yahoo-dom-event.js" and copy the entire line containing that string.
Thanks for the reply Ryan.
Here is the string<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/yahoo-dom-event/yahoo-dom-event.js"></script>
Please see the attached file, when I click on the link, a following page opens.
Regards,
SF
That looks fine. The error you showed in the previous reply (1) looks like it's probably a side-effect of an earlier exception that prevents all the JavaScript code on the page from loading.
I was thinking you might have a plugin conflict, but on looking at (2) I noticed that the only plugin you have installed is TracStats 0.6.1. The version of TracTicketStats should be 3.0.0dev (3). Please try to clarify what plugin you have installed, and whether that's the only plugin installed in the environment.
Yes I have installed TracTicketStats 3.0.0dev version only. I have attached a snapshot of all plugins installed in my TRAC project.
You could also save the page source and send to the list so we can review.
- Ryan
- Ryan
Hi Ryan,As there are no errors found now, could it be due to the HTML file? Because the only problem I am facing is that the charts are not displayed, rest of it works great. I mean the macros, filters etc. I think it is the problem of flash.Regards,SF
No error found while accessing the pages. Could it be due to separate installation of plugins? AdvParseArgs and Tracticketstats, I installed them separately.
You could also save the page source and send to the list so we can review.
- RyanI have attached the source files please find the same.
- Ryan
On Thursday, July 20, 2017 at 5:04:52 PM UTC+2, RjOllos wrote:
On Thursday, July 20, 2017 at 1:45:13 AM UTC-7, toto200891 wrote:No error found while accessing the pages. Could it be due to separate installation of plugins? AdvParseArgs and Tracticketstats, I installed them separately.That would not have any affect. From the errors you've shown, the issue appears to be an exception when executing JavaScript.
You could also save the page source and send to the list so we can review.
- RyanI have attached the source files please find the same.I need to see the source of the TracTicketStats page rather than the source of the static assets, which is what you attached.
I see no errors in the console now.
Yet I still can't see the plots. I copied the source files from tracticketstats page only.
On Thursday, July 20, 2017 at 5:25:04 AM UTC-7, toto200891 wrote:Hi Ryan,As there are no errors found now, could it be due to the HTML file? Because the only problem I am facing is that the charts are not displayed, rest of it works great. I mean the macros, filters etc. I think it is the problem of flash.Regards,SFHave you checked if Flash is enabled for your browser?
Maybe try this page: http://isflashinstalled.com/
- Ryan
Please find attached source file- RyanRegards,SF
- Ryan
On Thursday, July 20, 2017 at 3:28:06 PM UTC-7, toto200891 wrote:
On Thursday, July 20, 2017 at 11:57:13 PM UTC+2, RjOllos wrote:On Thu, Jul 20, 2017 at 2:54 PM, toto200891 <syedfara...@gmail.com> wrote:
On Thursday, July 20, 2017 at 11:46:50 PM UTC+2, RjOllos wrote:On Thu, Jul 20, 2017 at 2:00 PM, toto200891 <syedfara...@gmail.com> wrote:Please find attached source file- RyanRegards,SFAre you using Chrome? If so, could you please test in Firefox?
Here is the source file for ticketstats in firefox.Okay, but does the chart render in Firefox?The chart renders correctly for me in Firefox, but not in Chrome. I'm using Chrome 59 and Firefox 54.I really don't understand, that why it isn't working for me. Considering system error, I tried installing in PC, laptop and another desktop too, but every where its the same problem. I don't understand, which is the step I am missing out.
I doubt you are missing a step. There is probably just a defect that is preventing the plugin from working, but I'm unsure of the cause.
I am out of ideas. It was working for me in Firefox for some time, but stopped working.
Anyway, Flash is deprecated and the YUI library used by this plugin was deprecated in 2011. It's not a good plugin to use.
For now you could use TracTicketGraph.
https://github.com/trac-hacks/TracTicketGraph
Example usage can be seen here: https://bugs.jqueryui.com/ticketgraph
Eventually I'd like to extend it to have features similar to TracTicketStats, but won't have time for that in the near future.
- Ryan
On Friday, July 21, 2017 at 6:44:45 AM UTC+2, RjOllos wrote:
On Thursday, July 20, 2017 at 3:28:06 PM UTC-7, toto200891 wrote:
On Thursday, July 20, 2017 at 11:57:13 PM UTC+2, RjOllos wrote:On Thu, Jul 20, 2017 at 2:54 PM, toto200891 <syedfara...@gmail.com> wrote:
On Thursday, July 20, 2017 at 11:46:50 PM UTC+2, RjOllos wrote:On Thu, Jul 20, 2017 at 2:00 PM, toto200891 <syedfara...@gmail.com> wrote:Please find attached source file- RyanRegards,SFAre you using Chrome? If so, could you please test in Firefox?
Here is the source file for ticketstats in firefox.Okay, but does the chart render in Firefox?The chart renders correctly for me in Firefox, but not in Chrome. I'm using Chrome 59 and Firefox 54.I really don't understand, that why it isn't working for me. Considering system error, I tried installing in PC, laptop and another desktop too, but every where its the same problem. I don't understand, which is the step I am missing out.
I doubt you are missing a step. There is probably just a defect that is preventing the plugin from working, but I'm unsure of the cause.
I am out of ideas. It was working for me in Firefox for some time, but stopped working.
Anyway, Flash is deprecated and the YUI library used by this plugin was deprecated in 2011. It's not a good plugin to use.
Thanks for the help Ryan, I shall use the TicketGraph plugin. Atleast is there any other plugin, which could give me ticket stats just in a table?
- Ryan
- Ryan
Regards,
SF