trello-to-deck icon indicating copy to clipboard operation
trello-to-deck copied to clipboard

Attachment import fails

Open nielsgeo opened this issue 4 years ago • 7 comments

Issue

To Deck imported attachment files are corrupted (.pdf, .docx) or contain text "unauthorized permission requested" instead of the Trello attachment content (.txt). Import of cards, comments, checklists works fine, no error messages, only "successfully migrated to deck!"

Seems as if links to attachments on trello servers are not accessible for trello-to-deck (as usual in browser if not logged in to trello). Maybe necessary to provide trello's login details to trello-to-deck?

To reproduce:

  • Run the tool and import Trello-Board with attachments (.pdf, .docx, .txt)
  • Check attachments in Deck after import

OS

Win10 Python 3.9.4

Nextcloud version

20.0.13 (most likely, it is a manged server I do not have access to)

Please feel free to ask for any details if needed. Thanks a lot for providing this essential tool!

nielsgeo avatar Oct 09 '21 15:10 nielsgeo

Hm that could actually be! Did it the import work for images? I suppose trello handles images and other attachments differently.

maxammann avatar Oct 09 '21 16:10 maxammann

Maybe this would be an API which could simplify this: https://developer.atlassian.com/cloud/trello/guides/rest-api/automating-exports/

maxammann avatar Oct 09 '21 16:10 maxammann

Hm that could actually be! Did it the import work for images?

Thanks for quick reply. .jpg images are likewise not imported in correct way. Same content if I open with text editor.

nielsgeo avatar Oct 09 '21 16:10 nielsgeo

Oke this is very strange, because it means that Trello changed their policy. Previously it was possible to download attachments without authentication

maxammann avatar Oct 09 '21 16:10 maxammann

I'll soon have more free time (next week). In the mean time one option could be to make your board public for a short time.

maxammann avatar Oct 09 '21 16:10 maxammann

In the mean time one option could be to make your board public for a short time.

Great, this does work for me! Thanks for the hint.

nielsgeo avatar Oct 09 '21 16:10 nielsgeo

Perfect :) Nonetheless thanks for the report. Will look at is more close soon

maxammann avatar Oct 09 '21 20:10 maxammann