Error while importing the password protected XLSX files.
swarajsomala opened this issue · 7 comments
Describe your Environment
OS: Windows 11
Paisa Version: 0.6.3
App Variant: CLI
Describe the bug
I encountered an issue when trying to import a XLSX file into Paisa after Paytm introduced a new password protection for its statements. The following error is being thrown:
To Reproduce
Steps to reproduce the behavior:
- Go to 'Ledger->Import'
- Click on 'Drag and Drop'
- Choose the XLSX file.
Expected behavior
Paisa should show a popup so user can enter the password for the XLSX file.
@swarajsomala can you check the file extension? As I mentioned in the discussion thread, CSV file is just ascii characters and can't be password protected. Can you share the file extension? Windows explorer might be hiding the extension, you can use a powershell or other terminal to view it.
@ananthakumaran , I am sorry it’s XlSX file not csv, updated the relevant details.
@swarajsomala I have pushed some changes to https://demo.paisa.fyi, can you try if that works for you?
@ananthakumaran , Tested its working fine but I can see the password when I enter. Can you hide it?
Can you hide it?
I am using the javascript prompt which doesn't allow me to hide the input. I will later refactor this and use a custom modal (which is more work because the prompt is synchronous, whereas the modal will be async and need to change at different places).
Sure it’s good to have feature. Implement whenever you have some bandwidth, Thanks for adding the support.
This is now available on 0.6.5