Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Error import #3

Open
Jeanoo opened this issue Aug 17, 2024 · 1 comment
Open

Error import #3

Jeanoo opened this issue Aug 17, 2024 · 1 comment

Comments

@Jeanoo
Copy link

Jeanoo commented Aug 17, 2024

hello,
when I try to import a file from nextcloud 23 to nextcloud 28, I get the following error.

File "C:\Users\Jean\Documents\ncp\main.py", line 40, in
ds.sendBoard(data)
File "C:\Users\Jean\Documents\ncp\utils.py", line 224, in sendBoard
createdBoard = self.__createBoard(board['title'], board['color'])
File "C:\Users\Jean\Documents\ncp\utils.py", line 126, in __createBoard
boardId = board['id']
TypeError: list indices must be integers or slices, not str

can you help me please?

@filipizydorczyk
Copy link
Owner

Hey! Unfortunately I don use this plugin anymore so I stopped updating the script. Its possible that the payload differs between these versions and because of that you get type error. Try to compare API responses from these 2 versions and see if there are differences that could brake. I will archive this repository since it wont be getting any updates but feel free to fork it and adjust it if you need this script

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants