Skip to content

Commit dab7973

Browse files
committed
Added diagnostics reports to debug any issues
1 parent 51202a3 commit dab7973

10 files changed

+996
-10
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,6 @@ products_vectorstore/
175175
# ignore gradio private files
176176
.gradio
177177
/.gradio
178+
179+
# ignore diagnostics reports
180+
**/report.txt

diagnostics.ipynb

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "73287ed4-81e3-496a-9e47-f0e8c3770ce9",
6+
"metadata": {},
7+
"source": [
8+
"# Gathering Essential Diagnostic information\n",
9+
"\n",
10+
"## Please run this next cell to gather some important data\n",
11+
"\n",
12+
"Please run the next cell; it should take a minute or so to run (mostly the network test).\n",
13+
"Rhen email me the output of the last cell to [email protected]. \n",
14+
"Alternatively: this will create a file called report.txt - just attach the file to your email."
15+
]
16+
},
17+
{
18+
"cell_type": "code",
19+
"execution_count": null,
20+
"id": "ed8056e8-efa2-4b6f-a4bb-e7ceb733c517",
21+
"metadata": {},
22+
"outputs": [],
23+
"source": [
24+
"# Run my diagnostics report to collect key information for debugging\n",
25+
"# Please email me the results. Either copy & paste the output, or attach the file report.txt\n",
26+
"\n",
27+
"!pip install -q requests speedtest-cli psutil setuptools\n",
28+
"from diagnostics import Diagnostics\n",
29+
"Diagnostics().run()"
30+
]
31+
}
32+
],
33+
"metadata": {
34+
"kernelspec": {
35+
"display_name": "Python 3 (ipykernel)",
36+
"language": "python",
37+
"name": "python3"
38+
},
39+
"language_info": {
40+
"codemirror_mode": {
41+
"name": "ipython",
42+
"version": 3
43+
},
44+
"file_extension": ".py",
45+
"mimetype": "text/x-python",
46+
"name": "python",
47+
"nbconvert_exporter": "python",
48+
"pygments_lexer": "ipython3",
49+
"version": "3.11.10"
50+
}
51+
},
52+
"nbformat": 4,
53+
"nbformat_minor": 5
54+
}

0 commit comments

Comments
 (0)