Open thulasicse opened 2 months ago
Many errors while running the code
Many errors while running the code
Can you list out the errors, please, because I am not facing any errors in my system?
[{ "resource": "/home/student/Downloads/Employee-Management-System-main/Backend_database.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportMissingImports", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportMissingImports" } }, "severity": 4, "message": "Import \"mysql.connector\" could not be resolved", "source": "Pylance", "startLineNumber": 1, "startColumn": 8, "endLineNumber": 1, "endColumn": 23 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportMissingImports", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportMissingImports" } }, "severity": 4, "message": "Import \"customtkinter\" could not be resolved", "source": "Pylance", "startLineNumber": 2, "startColumn": 6, "endLineNumber": 2, "endColumn": 19 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"set_appearance_mode\" is not defined", "source": "Pylance", "startLineNumber": 8, "startColumn": 1, "endLineNumber": 8, "endColumn": 20 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 155, "startColumn": 28, "endLineNumber": 155, "endColumn": 37 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 166, "startColumn": 21, "endLineNumber": 166, "endColumn": 30 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 211, "startColumn": 20, "endLineNumber": 211, "endColumn": 29 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 220, "startColumn": 21, "endLineNumber": 220, "endColumn": 30 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 238, "startColumn": 20, "endLineNumber": 238, "endColumn": 29 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 247, "startColumn": 21, "endLineNumber": 247, "endColumn": 30 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkEntry\" is not defined", "source": "Pylance", "startLineNumber": 281, "startColumn": 8, "endLineNumber": 281, "endColumn": 16 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkEntry\" is not defined", "source": "Pylance", "startLineNumber": 296, "startColumn": 21, "endLineNumber": 296, "endColumn": 29 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkEntry\" is not defined", "source": "Pylance", "startLineNumber": 311, "startColumn": 14, "endLineNumber": 311, "endColumn": 22 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkComboBox\" is not defined", "source": "Pylance", "startLineNumber": 326, "startColumn": 16, "endLineNumber": 326, "endColumn": 27 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkEntry\" is not defined", "source": "Pylance", "startLineNumber": 343, "startColumn": 15, "endLineNumber": 343, "endColumn": 23 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkEntry\" is not defined", "source": "Pylance", "startLineNumber": 358, "startColumn": 17, "endLineNumber": 358, "endColumn": 25 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkEntry\" is not defined", "source": "Pylance", "startLineNumber": 373, "startColumn": 13, "endLineNumber": 373, "endColumn": 21 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkComboBox\" is not defined", "source": "Pylance", "startLineNumber": 388, "startColumn": 20, "endLineNumber": 388, "endColumn": 31 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkTextbox\" is not defined", "source": "Pylance", "startLineNumber": 410, "startColumn": 17, "endLineNumber": 410, "endColumn": 27 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 419, "startColumn": 16, "endLineNumber": 419, "endColumn": 25 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 428, "startColumn": 17, "endLineNumber": 428, "endColumn": 26 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 485, "startColumn": 17, "endLineNumber": 485, "endColumn": 26 },{ "resource": "/home/student/Downloads/Employee-Management-System-main/Frontend.py", "owner": "_generated_diagnostic_collectionname#2", "code": { "value": "reportUndefinedVariable", "target": { "$mid": 1, "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportUndefinedVariable" } }, "severity": 4, "message": "\"CTkButton\" is not defined", "source": "Pylance", "startLineNumber": 494, "startColumn": 17, "endLineNumber": 494, "endColumn": 26 }]
Many errors while running the code