forked from ashwinpra/gyfe
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Running the following command:
python3 gyfe.py breadth --notp --year 3 --session 2023-2024 --semester AUTUMNproduces the following output and error:
INFO:root: [SESSION STATUS]: Not Alive
INFO:root: Retrieved tokens from file
INFO:root: [TOKENS STATUS]: Valid
Enter your department code: gg
Traceback (most recent call last):
File "/home/ubuntu/gyfe/gyfe.py", line 478, in <module>
main()
File "/home/ubuntu/gyfe/gyfe.py", line 449, in main
save_breadths(responses)
File "/home/ubuntu/gyfe/gyfe.py", line 305, in save_breadths
df["Slot"].replace("", "Not alloted yet", inplace=True)
~~^^^^^^^^
File "/home/ubuntu/miniforge3/envs/general/lib/python3.12/site-packages/pandas/core/frame.py", line 4102, in __getitem__
indexer = self.columns.get_loc(key)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/miniforge3/envs/general/lib/python3.12/site-packages/pandas/core/indexes/range.py", line 417, in get_loc
raise KeyError(key)
KeyError: 'Slot'
Environment (please complete the following information):
- OS: Ubuntu
- Python version: 3.12
Metadata
Metadata
Assignees
Labels
No labels