maxammann / trello-to-deck

trello-to-deck reads from an JSON export of Trello and creates a board in Nextcloud Deck.
MIT License
66 stars 9 forks source link

Unable to run succesfully KeyError: 'deck' #25

Closed georgeowell closed 3 years ago

georgeowell commented 3 years ago

Heya, I'm getting this error when I ran the program earlier today. Not sure what to make of this. Perhaps Trello changed something on their end?

Found:                                                                          
6 labels                                                                        
6 stacks                                                                        
40 cards (archived and non-archived)                                            
Traceback (most recent call last):                                              
  File "/home/user/.local/bin/trello-to-deck", line 47, in <module>              
    compatibility = api.getCompatibility()                                      
  File "/home/user/.local/lib/python3.8/site-packages/trello_to_deck/deck.py", li
ne 80, in getCompatibility                                                      
    deck = result['ocs']['data']['capabilities']['deck']                        
KeyError: 'deck'
maxammann commented 3 years ago

I can look into it on the weekend. Are you sure deck is installed?

That is an error while speaking to nextcloud. I think the compatability check is failing.

georgeowell commented 3 years ago

Thanks for your time!

Oh I just had a thought...

Are you sure deck is installed?

Yes it is, however we're using LDAP for Nextcloud auth. I wonder if that might be causing this?

maxammann commented 3 years ago

@georgeowell which nextcloud version are you running?

maxammann commented 3 years ago

Feel free to pull again from main and try that one. It will probably tell you that deck is not installed.

Are you using an admin account?

maxammann commented 3 years ago

Closing because of inactivity