javacore-analyser 2.3.0.dev16__py3-none-any.whl → 2.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- javacore_analyser/data/style.js +14 -0
- javacore_analyser/data/xml/javacores/javacore.xsl +3 -3
- javacore_analyser/javacore_analyser_web.py +3 -3
- javacore_analyser/templates/index.html +21 -6
- {javacore_analyser-2.3.0.dev16.dist-info → javacore_analyser-2.4.0.dist-info}/METADATA +6 -1
- {javacore_analyser-2.3.0.dev16.dist-info → javacore_analyser-2.4.0.dist-info}/RECORD +9 -8
- {javacore_analyser-2.3.0.dev16.dist-info → javacore_analyser-2.4.0.dist-info}/WHEEL +0 -0
- {javacore_analyser-2.3.0.dev16.dist-info → javacore_analyser-2.4.0.dist-info}/entry_points.txt +0 -0
- {javacore_analyser-2.3.0.dev16.dist-info → javacore_analyser-2.4.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
|
3
3
|
<!--
|
4
|
-
# Copyright IBM Corp. 2024 -
|
4
|
+
# Copyright IBM Corp. 2024 - 2025
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
6
|
-->
|
7
7
|
|
@@ -58,9 +58,9 @@
|
|
58
58
|
</xsl:attribute>
|
59
59
|
<a target="_blank">
|
60
60
|
<xsl:attribute name="href">
|
61
|
-
<xsl:value-of select="concat('../threads/thread_', thread_hash, '.html')"/>
|
61
|
+
<xsl:value-of select="concat('../threads/thread_', preceding-sibling::thread_hash, '.html')"/>
|
62
62
|
</xsl:attribute>
|
63
|
-
<xsl:value-of select="thread_name"/>
|
63
|
+
<xsl:value-of select="preceding-sibling::thread_name"/>
|
64
64
|
</a>
|
65
65
|
<xsl:choose>
|
66
66
|
<xsl:when test="stack_depth > 0">
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright IBM Corp. 2024 -
|
2
|
+
# Copyright IBM Corp. 2024 - 2025
|
3
3
|
# SPDX-License-Identifier: Apache-2.0
|
4
4
|
#
|
5
5
|
import argparse
|
@@ -26,7 +26,7 @@ To run the application from cmd type:
|
|
26
26
|
|
27
27
|
flask --app javacore_analyser_web run
|
28
28
|
"""
|
29
|
-
app = Flask(__name__)
|
29
|
+
app = Flask(__name__, static_folder='data')
|
30
30
|
reports_dir = DEFAULT_REPORTS_DIR
|
31
31
|
|
32
32
|
|
@@ -139,7 +139,7 @@ def main():
|
|
139
139
|
|
140
140
|
def run_web(debug=False, port=5000, reports_directory=DEFAULT_REPORTS_DIR):
|
141
141
|
global reports_dir
|
142
|
-
reports_dir = reports_directory
|
142
|
+
reports_dir = os.path.abspath(reports_directory)
|
143
143
|
create_console_logging()
|
144
144
|
logging.info("Javacore analyser")
|
145
145
|
logging.info("Python version: " + sys.version)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<!--
|
3
|
-
# Copyright IBM Corp. 2024 -
|
3
|
+
# Copyright IBM Corp. 2024 - 2025
|
4
4
|
# SPDX-License-Identifier: Apache-2.0
|
5
5
|
-->
|
6
6
|
|
@@ -11,14 +11,22 @@
|
|
11
11
|
<html xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
|
12
12
|
<head>
|
13
13
|
<title>Javacore Analyser</title>
|
14
|
+
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"/>
|
15
|
+
<link rel="stylesheet" href="{{ url_for('static', filename='jquery/jq.css') }}"/>
|
16
|
+
<link rel="stylesheet" href="{{ url_for('static', filename='jquery/theme.blue.css') }}"/>
|
17
|
+
<script type="text/javascript" src="{{ url_for('static', filename='jquery/jquery.min.js') }}"> _ </script>
|
18
|
+
<script type="text/javascript" src="{{ url_for('static', filename='jquery/jquery.tablesorter.min.js') }}"> _ </script>
|
19
|
+
<script type="text/javascript" src="{{ url_for('static', filename='style.js')}}"></script>
|
14
20
|
</head>
|
15
21
|
<body>
|
16
22
|
<h1>Javacore Analyser</h1>
|
17
23
|
|
18
|
-
<
|
24
|
+
<h1>Generate report:</h1>
|
19
25
|
<form action="/upload" method="post" enctype="multipart/form-data">
|
20
26
|
<ol>
|
21
|
-
<li>
|
27
|
+
<li>One or more javacores;</br>
|
28
|
+
zero or more verbose.gc files;</br>
|
29
|
+
Note: files can be either individual or in an archive
|
22
30
|
<input type="file" name="files" multiple required>
|
23
31
|
</li>
|
24
32
|
<li>Give the name for your report: <input type="text" id="report_name" name="report_name" required></li>
|
@@ -32,9 +40,16 @@
|
|
32
40
|
<br></br>
|
33
41
|
|
34
42
|
|
35
|
-
<
|
36
|
-
<table>
|
37
|
-
<
|
43
|
+
<h1>List of generated reports:</h1>
|
44
|
+
<table id="generated_reports_table">
|
45
|
+
<thead>
|
46
|
+
<tr>
|
47
|
+
<th> Name </th>
|
48
|
+
<th> Creation Date </th>
|
49
|
+
<th> Download </th>
|
50
|
+
<th> Delete </th>
|
51
|
+
</tr>
|
52
|
+
</thead>
|
38
53
|
{% for report in reports %}
|
39
54
|
{% set name = report['name'] %}
|
40
55
|
{% set date = report['date'] %}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: javacore_analyser
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.4.0
|
4
4
|
Summary: The tool to review IBM Javacore files
|
5
5
|
Project-URL: Homepage, https://github.com/IBM/javacore-analyser
|
6
6
|
Project-URL: Issues, https://github.com/IBM/javacore-analyser/issues
|
@@ -333,6 +333,11 @@ The `mount` option specifies where you want locally to store the reports. The re
|
|
333
333
|
restart.
|
334
334
|
The application is running in the container on port 5000. By using `-p 5001:5000` option, you specify to map container
|
335
335
|
port 5000 to port 5001 on your machine. Therefore the application will be available under `http://localhost:5001/`.
|
336
|
+
|
337
|
+
NOTE: If you get a `PermissionError: [Errno 13] Permission denied: '/reports/wait2-debug.log'` message,
|
338
|
+
try specifying a different folder as the `src` parameter value or use the
|
339
|
+
[--volume](https://docs.docker.com/engine/storage/volumes/) option instead of `--mount`. Find more on
|
340
|
+
[Issue #140](https://github.com/IBM/javacore-analyser/issues/140#issuecomment-2757809160).
|
336
341
|
|
337
342
|
<!-- The following are OPTIONAL, but strongly suggested to have in your repository. -->
|
338
343
|
<!--
|
@@ -7,7 +7,7 @@ javacore_analyser/har_file.py,sha256=grXpfIyPek9xQ5jp3_AYOB5JDELd17o4O4rYELxWO7w
|
|
7
7
|
javacore_analyser/java_thread.py,sha256=nDFJiFQSO78jP9YdMpBr2d_M2RMT0te_kJxn5KY_RNo,5437
|
8
8
|
javacore_analyser/javacore.py,sha256=oqJ-nKkZvq8xk_zlF9Z4dX61isqLRndSVLnQob_KUG4,7006
|
9
9
|
javacore_analyser/javacore_analyser_batch.py,sha256=2JnRruA0jazWHspT60cXX-Yuwf4vFSA5ywXYPQ4-ZiM,7888
|
10
|
-
javacore_analyser/javacore_analyser_web.py,sha256=
|
10
|
+
javacore_analyser/javacore_analyser_web.py,sha256=RVOtHewraQ3YhDPOI_IWqWn_aoA5a45AYOx0ZtG5-HA,5990
|
11
11
|
javacore_analyser/javacore_set.py,sha256=5x16j8KfA_DXD3FlvKlRHfRJ2B1rj5j2EkMfb2dV3dg,33341
|
12
12
|
javacore_analyser/logging_utils.py,sha256=vLob0ikezysjGv9XGqv9GbLekxu4eO_csq22M-gtLiQ,966
|
13
13
|
javacore_analyser/properties.py,sha256=SVxe86mL4DM_vkPEBT-V0_xDeIbXp2vjYE1aD-Z_UCQ,805
|
@@ -21,6 +21,7 @@ javacore_analyser/tips.py,sha256=JggNTmCkH2x2jqFChdnWlex8hU9q3Gy5IqJaxDQtPwI,862
|
|
21
21
|
javacore_analyser/verbose_gc.py,sha256=FdSzj9bB9GrJVM8qzkvjNm0LsJZRvKWpd2oMQ8G8eEE,6373
|
22
22
|
javacore_analyser/data/expand.js,sha256=KwqvNUoO7yMDeQKcnLDywfMdR3Zsjan5L8QoPsQQLGo,956
|
23
23
|
javacore_analyser/data/style.css,sha256=HSKPajW3EItHjye6mSGNMRPEzfE2r7o1Gq-BEAI54Ts,2879
|
24
|
+
javacore_analyser/data/style.js,sha256=oLF2ToXmGQfdL2dAgur9i7ycfWbliSnpmCZ2GHl_3Hk,271
|
24
25
|
javacore_analyser/data/html/error.html,sha256=dJI5RdeNL1E4Y-zaU7NTBqrsxCuAovVc1Cebrk5GcYA,520
|
25
26
|
javacore_analyser/data/html/processing_data.html,sha256=S1S2GMXQ8oQdqdYTcPzVMxUib-NLtM4ffT3OJaIIO7w,421
|
26
27
|
javacore_analyser/data/jquery/chart.js,sha256=tgiW1vJqfIKxE0F2uVvsXbgUlTyrhPMY_sm30hh_Sxc,203464
|
@@ -38,12 +39,12 @@ javacore_analyser/data/jquery/wait2scripts.js,sha256=jORUs9xgz_o-VnRm0RxjKlraZOl
|
|
38
39
|
javacore_analyser/data/xml/index.xml,sha256=9VH2rmri3FQpXcW39kbyi2dON94C5XTiaQn0ioExCe8,282
|
39
40
|
javacore_analyser/data/xml/report.xsl,sha256=LlrleGFx9MC0VOhP6CBgII1uhP-kzhbo4pwro-HwAGo,60178
|
40
41
|
javacore_analyser/data/xml/javacores/javacore.xml,sha256=6dG89Whx1_kpEYVS_F6Upa2XuXnXorlQATFc8kD5Mfc,280
|
41
|
-
javacore_analyser/data/xml/javacores/javacore.xsl,sha256=
|
42
|
+
javacore_analyser/data/xml/javacores/javacore.xsl,sha256=puJl7CDR7FACAHbb2lTKHiwTrQMZT02_l-D4pV241w0,11682
|
42
43
|
javacore_analyser/data/xml/threads/thread.xml,sha256=6dG89Whx1_kpEYVS_F6Upa2XuXnXorlQATFc8kD5Mfc,280
|
43
44
|
javacore_analyser/data/xml/threads/thread.xsl,sha256=1tg5tImtr1gyZ8Q61tqIukNtm1fQ6R8YoKC3EgIjLRA,14084
|
44
|
-
javacore_analyser/templates/index.html,sha256=
|
45
|
-
javacore_analyser-2.
|
46
|
-
javacore_analyser-2.
|
47
|
-
javacore_analyser-2.
|
48
|
-
javacore_analyser-2.
|
49
|
-
javacore_analyser-2.
|
45
|
+
javacore_analyser/templates/index.html,sha256=c40-JY3eXG9NzPVMy14VSZFj1Yq7cuUDVUg5BWa2WY0,2466
|
46
|
+
javacore_analyser-2.4.0.dist-info/METADATA,sha256=I0TGXoMC9xEOx-bCzpRptH5nOOK6LPsxbY_iRSWFIZg,22737
|
47
|
+
javacore_analyser-2.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
48
|
+
javacore_analyser-2.4.0.dist-info/entry_points.txt,sha256=W3S799zI58g5-jWMsC3wY9xksz21LPEMYOILv8sayfM,160
|
49
|
+
javacore_analyser-2.4.0.dist-info/licenses/LICENSE,sha256=xllut76FgcGL5zbIRvuRc7aezPbvlMUTWJPsVr2Sugg,11358
|
50
|
+
javacore_analyser-2.4.0.dist-info/RECORD,,
|
File without changes
|
{javacore_analyser-2.3.0.dev16.dist-info → javacore_analyser-2.4.0.dist-info}/entry_points.txt
RENAMED
File without changes
|
{javacore_analyser-2.3.0.dev16.dist-info → javacore_analyser-2.4.0.dist-info}/licenses/LICENSE
RENAMED
File without changes
|