TRACTICKETSTATS plugin

51 views
Skip to first unread message

toto200891

unread,
Jul 13, 2017, 5:10:17 AM7/13/17
to Trac Users
Hi,

In one of the previous thread, I had already spoke about the issues, I am facing with TRACTICKETSTATS plugin. Since the thread has grown a bit longer, I am reopening the same issue, in the following thread.

I have been using TRAC 1.0.2 on a standalone server. Currently, I'm trying to have "ticket stats" either in a table or graphical format within my TRAC environment. For the same, I tried installing TRACTICKETSTATS plugin. Before It gave me an installation error, while downloading the AdvParseArgs plugin, But thanks to Ryan, he did helped me to solve the following issue.

Now I have the plugin installed, yet I could not see any plots displayed in the "Ticket Stats" section of the TRAC environment. 

Anybody could please guide or help me in this regard?

I would really like to have TICKET stats within the TRAC project, So kindly help me in this regard.


Regards,
SF

toto200891

unread,
Jul 13, 2017, 8:39:29 AM7/13/17
to Trac Users, rjo...@gmail.com
The default yui_base_url used in the ticketstats.py file "http://yui.yahooapis.com/2.5.2, is inacessible. Its giving an error 404. So I think that is what creating a problem? 

Regards,
SF

Jun Omae

unread,
Jul 13, 2017, 8:52:00 AM7/13/17
to trac-...@googlegroups.com
On Thu, Jul 13, 2017 at 9:39 PM, toto200891 <syedfara...@gmail.com> wrote:
> The default yui_base_url used in the ticketstats.py file
> "http://yui.yahooapis.com/2.5.2, is inacessible. Its giving an error 404. So
> I think that is what creating a problem?

No. Your using TracTicketStatsPlugin is very old. Please update to the latest.

The location has been modified to use CDNJS 2 years ago,
in https://trac-hacks.org/changeset/14702.

See also https://trac-hacks.org/browser/tracticketstatsplugin/trunk/ticketstats/ticketstats.py#L33

--
Jun Omae <jun...@gmail.com> (大前 潤)

toto200891

unread,
Jul 13, 2017, 9:38:44 AM7/13/17
to Trac Users
I tried installing the recent version of plugin too. Yet I cannot load the java scripts:


{{{{

  <head>
    <title>Ticket Statistics</title>
    <style type="text/css">#chart {
      height: 500px
    }</style>
    <script type="text/javascript"
            src="${yui_base_url}/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script type="text/javascript"
            src="${yui_base_url}/element/element-min.js"></script>
    <script type="text/javascript"
            src="${yui_base_url}/datasource/datasource-min.js"></script>
    <script type="text/javascript"
            src="${yui_base_url}/json/json-min.js"></script>
    <script type="text/javascript"
            src="${yui_base_url}/swf/swf-min.js"></script>
    <script type="text/javascript"
            src="${yui_base_url}/logger/logger-min.js"></script>
    <!-- OPTIONAL: Connection (enables XHR) -->
    <script type="text/javascript"
            src="${yui_base_url}/connection/connection-min.js"></script>
    <!-- Source files -->
    <script type="text/javascript"
            src="${yui_base_url}/charts/charts-min.js"></script>
    <script type="text/javascript">
      jQuery(document).ready(function($) {
        if ('datepicker' in $) {
          $("#start_date").datepicker();
          $("#end_date").datepicker();
        }
      });
    </script>
  </head>

}}}}



This section in ticketstats.html is producing a browser error
error.PNG

Jun Omae

unread,
Jul 13, 2017, 10:20:13 AM7/13/17
to trac-...@googlegroups.com
On Thu, Jul 13, 2017 at 10:38 PM, toto200891 <syedfara...@gmail.com> wrote:
> I tried installing the recent version of plugin too. Yet I cannot load the
> java scripts:
>
>
> {{{{
>
> <head>
> <title>Ticket Statistics</title>
> <style type="text/css">#chart {
> height: 500px
> }</style>
> <script type="text/javascript"
>
> src="${yui_base_url}/yahoo-dom-event/yahoo-dom-event.js"></script>
> <script type="text/javascript"

Your environment is very weird.
Please post System Information and Installed plugins from about page
on your Trac.

Also, yahoo-dom-event.js is existent.

$ wget -S -O /dev/null
http://cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/yahoo-dom-event/yahoo-dom-event.js
--2017-07-13 23:17:53--
http://cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/yahoo-dom-event/yahoo-dom-event.js
Resolving cdnjs.cloudflare.com (cdnjs.cloudflare.com)...
104.19.192.102, 104.19.193.102, 104.19.194.102, ...
Connecting to cdnjs.cloudflare.com
(cdnjs.cloudflare.com)|104.19.192.102|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Thu, 13 Jul 2017 14:17:53 GMT
Content-Type: application/javascript; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Last-Modified: Wed, 22 Jun 2016 20:08:53 GMT
Expires: Tue, 03 Jul 2018 14:17:53 GMT
Cache-Control: public, max-age=30672000
Access-Control-Allow-Origin: *
CF-Cache-Status: HIT
Server: cloudflare-nginx
CF-RAY: 37dcde4bb1140b2c-NRT
Length: unspecified [application/javascript]

toto200891

unread,
Jul 13, 2017, 10:26:56 AM7/13/17
to Trac Users
Please find the attached file.

Regards,
SF
system info.PNG

toto200891

unread,
Jul 13, 2017, 10:33:38 AM7/13/17
to Trac Users
I am sorry, here it is.
info.PNG

Jun Omae

unread,
Jul 13, 2017, 3:43:18 PM7/13/17
to trac-...@googlegroups.com
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.

RjOllos

unread,
Jul 13, 2017, 4:58:46 PM7/13/17
to Trac Users


On Thursday, July 13, 2017 at 2:10:17 AM UTC-7, toto200891 wrote:
Hi,

Since the thread has grown a bit longer, I am reopening the same issue, in the following thread.

To control thread length, please consider replying below the  text you are replying to and removing irrelevant text. It can get confusing to refer back to information spread across multiple threads. It's also very confusing when someone replies at the top of the thread, which makes it difficult to know the context of the reply.

toto200891

unread,
Jul 17, 2017, 4:17:05 AM7/17/17
to Trac Users


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 file  

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.

Both the pages are accessible via browser. But still I don't see any plots. Any other method troubleshoot it? 

--
Jun Omae <jun...@gmail.com> (大前 潤)

Regards,

SF 

toto200891

unread,
Jul 17, 2017, 4:24:00 AM7/17/17
to Trac Users
The browser console says that there is an uncaught error in line 37 of the source code "ticketstats". I have attached the screenshots of it, please find the same.

Regards,
SF 
code.PNG
error.PNG

RjOllos

unread,
Jul 17, 2017, 6:13:49 PM7/17/17
to Trac Users


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:
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 file  

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.

- Ryan

 

toto200891

unread,
Jul 18, 2017, 4:20:43 AM7/18/17
to Trac Users, rjo...@gmail.com

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

- Ryan

 
page.PNG

RjOllos

unread,
Jul 18, 2017, 12:19:16 PM7/18/17
to Trac Users, rjo...@gmail.com

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.

- Ryan

(1) https://groups.google.com/d/msg/trac-users/DlSyN4YGwfY/NDEsStUABQAJ
(2) https://groups.google.com/d/msg/trac-users/DlSyN4YGwfY/2kSgLFHaAwAJ
(3) https://trac-hacks.org/wiki/TracTicketStatsPlugin

toto200891

unread,
Jul 19, 2017, 4:41:26 AM7/19/17
to Trac Users, rjo...@gmail.com


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.

Regards,
SF
plugins.PNG

toto200891

unread,
Jul 19, 2017, 8:25:53 AM7/19/17
to Trac Users, rjo...@gmail.com


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.


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.
Regards,
SF 
trac.log

RjOllos

unread,
Jul 19, 2017, 8:56:33 PM7/19/17
to Trac Users, rjo...@gmail.com


On Wednesday, July 19, 2017 at 5:25:53 AM UTC-7, toto200891 wrote:

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.

Those are optional components. Skipping them is normal when a dependency is not installed. The messages aren't related to your TracTicketStats issue.

- Ryan

RjOllos

unread,
Jul 19, 2017, 9:08:06 PM7/19/17
to Trac Users, rjo...@gmail.com


On Wednesday, July 19, 2017 at 1:41:26 AM UTC-7, toto200891 wrote:


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.

I've tried to reproduce with Trac 1.0.2, but cannot.

When viewing the source, you should see a collection of <script> tags, like the following:


    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/element/element-min.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/datasource/datasource-min.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/json/json-min.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/swf/swf-min.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/logger/logger-min.js"></script>

    <!-- OPTIONAL: Connection (enables XHR) -->
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/connection/connection-min.js"></script>
    <!-- Source files -->
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/yui/2.9.0/charts/charts-min.js"></script>

You could check to see that all of those "src" hrefs that are valid. You can click on each of them and confirm that you don't get a page that shows "Error: Not Found".

You could also save the page source and send to the list so we can review.

- Ryan

 
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

toto200891

unread,
Jul 20, 2017, 4:45:13 AM7/20/17
to Trac Users, rjo...@gmail.com
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.

- Ryan

I have attached the source files please find the same.

Regards,
SF 

 
Message has been deleted
Message has been deleted

toto200891

unread,
Jul 20, 2017, 4:50:43 AM7/20/17
to Trac Users, rjo...@gmail.com
charts-min.txt
connection-min.txt
datasource-min.txt
element-min.txt
json-min.txt
logger-min.txt
swf-min.txt
yahoo-dom-event.txt

toto200891

unread,
Jul 20, 2017, 8:25:04 AM7/20/17
to Trac Users, rjo...@gmail.com
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 

- Ryan

 

RjOllos

unread,
Jul 20, 2017, 11:03:19 AM7/20/17
to Trac Users, rjo...@gmail.com


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,
SF 

Have you checked if Flash is enabled for your browser?

Maybe try this page: http://isflashinstalled.com/

- Ryan 

RjOllos

unread,
Jul 20, 2017, 11:04:52 AM7/20/17
to Trac Users, rjo...@gmail.com


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.

- Ryan

I 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.

- Ryan 

toto200891

unread,
Jul 20, 2017, 12:15:19 PM7/20/17
to Trac Users, rjo...@gmail.com

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.

- Ryan 

Regards,
SF

Ryan Ollos

unread,
Jul 20, 2017, 12:17:54 PM7/20/17
to toto200891, Trac Users, rjo...@gmail.com
On Thu, Jul 20, 2017 at 9:15 AM, toto200891 <syedfara...@gmail.com> wrote:


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.

- Ryan

I 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.

Okay, that leads me to further consider that you don't have Flash installed or enabled.
 
Yet I still can't see the plots. I copied the source files from tracticketstats page only. 

I need to see the *generated HTML* for your TracTicketStats page.

Right click on the page and "View source", then "Save as" and attach to this message.

- Ryan
 

toto200891

unread,
Jul 20, 2017, 12:21:14 PM7/20/17
to Trac Users, rjo...@gmail.com


On Thursday, July 20, 2017 at 5:03:19 PM UTC+2, RjOllos wrote:


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,
SF 

Have you checked if Flash is enabled for your browser?
Yes I had checked, its installed. 

Maybe try this page: http://isflashinstalled.com/
Even this page says that it's installed.

- Ryan 

I have attached snapshots, in that you could see that all options of the seems to work properly, only the plot isn't visible. Indeed, in the menu, I could also see the option to download the chart. But I still what's wrong with the flash.

Regards,
SF
options.png
page.PNG

toto200891

unread,
Jul 20, 2017, 5:00:07 PM7/20/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com
Please find  attached source file
- Ryan

Regards,
SF 
 
html.txt

Ryan Ollos

unread,
Jul 20, 2017, 5:46:50 PM7/20/17
to toto200891, Trac Users, rjo...@gmail.com
On Thu, Jul 20, 2017 at 2:00 PM, toto200891 <syedfara...@gmail.com> wrote:

Please find  attached source file
- Ryan

Regards,
SF

Are you using Chrome? If so, could you please test in Firefox?

- Ryan 

toto200891

unread,
Jul 20, 2017, 5:54:50 PM7/20/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com

Here is the source file for ticketstats in firefox.

- Ryan 

Regards,
SF
http _localhost 8000_project1_ticketstats.html

Ryan Ollos

unread,
Jul 20, 2017, 5:57:13 PM7/20/17
to toto200891, Trac Users, rjo...@gmail.com
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.

- Ryan
 

toto200891

unread,
Jul 20, 2017, 6:00:44 PM7/20/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com

No it doesnot. I am using the same version of firefox as you.

Regards,
SF
 

Ryan Ollos

unread,
Jul 20, 2017, 6:04:25 PM7/20/17
to toto200891, Trac Users, rjo...@gmail.com
Have you checked whether Flash is enabled for your Firefox?

- Ryan 

toto200891

unread,
Jul 20, 2017, 6:07:40 PM7/20/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com
Yes it is enabled. The link also says that it is installed. 

- Ryan 

flash.JPG

toto200891

unread,
Jul 20, 2017, 6:28:06 PM7/20/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com
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.

SF 

- Ryan
 

RjOllos

unread,
Jul 21, 2017, 12:44:45 AM7/21/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com

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

toto200891

unread,
Jul 21, 2017, 4:15:16 AM7/21/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com


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
- Ryan

Regards,
SF

Are 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?

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

Regards,
SF

Ryan Ollos

unread,
Jul 21, 2017, 4:28:45 AM7/21/17
to toto200891, Trac Users, rjo...@gmail.com
On Fri, Jul 21, 2017 at 1:15 AM, toto200891 <syedfara...@gmail.com> wrote:


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
- Ryan

Regards,
SF

Are 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? 

That depends on what ticket statistics that you want. You can do quite a lot with wiki table markup and TicketQuery macro.

- Ryan 

toto200891

unread,
Jul 21, 2017, 4:34:04 AM7/21/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com
I would like to have number of tickets closed, created and total number of tickets for a day, month or year.
- Ryan 

Regards,
SF

toto200891

unread,
Jul 21, 2017, 4:46:30 AM7/21/17
to Trac Users, syedfara...@gmail.com, rjo...@gmail.com

Ryan is it possible to edit the timeline for ticket graph? I mean by default it is 90 days, is it possible to modify it?

Regards,
SF

- Ryan

Regards,
SF

Ryan Ollos

unread,
Jul 21, 2017, 2:49:39 PM7/21/17
to toto200891, Trac Users, rjo...@gmail.com
It's not yet configurable, but I opened a ticket for the issue.

- Ryan
 
Reply all
Reply to author
Forward
0 new messages