Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment import fails #30

Open
nielsgeo opened this issue Oct 9, 2021 · 7 comments
Open

Attachment import fails #30

nielsgeo opened this issue Oct 9, 2021 · 7 comments

Comments

@nielsgeo
Copy link

nielsgeo commented Oct 9, 2021

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!

@maxammann
Copy link
Owner

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

@maxammann
Copy link
Owner

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

@nielsgeo
Copy link
Author

nielsgeo commented Oct 9, 2021

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.

@maxammann
Copy link
Owner

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

@maxammann
Copy link
Owner

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.

@nielsgeo
Copy link
Author

nielsgeo commented Oct 9, 2021

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.

@maxammann
Copy link
Owner

maxammann commented Oct 9, 2021

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

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

No branches or pull requests

2 participants