-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tracker.json
More file actions
79 lines (79 loc) · 3.32 KB
/
Copy path.tracker.json
File metadata and controls
79 lines (79 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[
{
"id": "issue-001",
"title": "SyntaxError in Python Script",
"tag": "pending",
"language": "python",
"desc": "Running the script results in a SyntaxError due to a missing colon in an if-statement.",
"snippet": "if x == 10\n print('X is 10')",
"solution-desc": "",
"solution-snippet": "",
"time-taken": ""
},
{
"id": "issue-002",
"title": "Undefined Variable in JavaScript",
"tag": "ignored",
"language": "js",
"desc": "ReferenceError: 'myVar' is not defined. Occurs when trying to use 'myVar' before declaration.",
"snippet": "console.log(myVar);",
"solution-desc": "",
"solution-snippet": "",
"time-taken": ""
},
{
"id": "issue-003",
"title": "Bash Script Fails with 'Command Not Found'",
"tag": "pending",
"language": "bash",
"desc": "A command inside the script isn't recognized. It could be due to a missing package or incorrect path.",
"snippet": "mycommand --option",
"solution-desc": "",
"solution-snippet": "",
"time-taken": ""
},
{
"id": "issue-004",
"title": "Permission Denied Error in Bash",
"tag": "solved",
"language": "bash",
"desc": "Script execution fails with 'Permission denied'. The script lacks execution permissions.",
"snippet": "./myscript.sh",
"solution-desc": "Resolved by making the script executable using chmod.",
"solution-snippet": "chmod +x myscript.sh",
"time-taken": "5 minutes"
},
{
"id": "issue-005",
"title": "Incorrect JSON Parsing in Python",
"tag": "solved",
"language": "python",
"desc": "The JSON parser fails when reading a file with single quotes instead of double quotes.",
"snippet": "import json\njson.loads(\"{'key': 'value'}\")",
"solution-desc": "Replaced single quotes with double quotes in JSON string.",
"solution-snippet": "json.loads('{\"key\": \"value\"}')",
"time-taken": "10 minutes"
},
{
"id": "010",
"title": "Sync vs Async Django views",
"tag": "solved",
"language": "python",
"desc": "async def views with ratelimit caused unawaited coroutine under WSGI, Django expected sync views.",
"snippet": "async def search_view(request):\\n result = await engine.regular_search(...)",
"solution-desc": "Changed to regular def views and wrapped async calls with async_to_sync().",
"solution-snippet": "def search_view(request):\\n result = async_to_sync(engine.regular_search)(query)\\n return JsonResponse(...)",
"time-taken": "40m"
},
{
"id": "011",
"title": "Test Problem",
"tag": "solved",
"language": "python",
"desc": "async def views with ratelimit caused unawaited coroutine under WSGI, Django expected sync views.",
"snippet": "async def search_view(request):\\n result = await engine.regular_search(...)",
"solution-desc": "Changed to regular def views and wrapped async calls with async_to_sync().",
"solution-snippet": "def search_view(request):\\n result = async_to_sync(engine.regular_search)(query)\\n return JsonResponse(...)",
"time-taken": "40m"
}
]