Google Drive - Unable to export files created by 3rd party App from Google Workspace Marketplace

In my Google Drive, I installed an App "MindMup 2" below in order to create some Mind Maps, directly within Drive.

As expected, rclone can't export this special file type, using the command below.

What is the problem you are having with rclone?

I wonder if we can ever export such 3rd party files, for example, at least into PNG/JPG?
If not, there should be some errors/notifications in the Console Output, for example, "This file type is not exportable". (maybe I missed some input flag for rclone?)

What is your rclone version

rclone-v1.57.0-windows-amd64

Which cloud storage system are you using?

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync --verbose --fast-list --create-empty-src-dirs --transfers 8 --checkers 16 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats-one-line-date --stats 1s --stats-file-name-length 0 --progress --progress-terminal-title "google-drive:" "x:/Google/rclone/"

Thank you.

I am not sure what you mean about exporting a different file.

There's isn't a log file either so no error to look at.

You can only export Google Document types as that's a Google thing, not a rclone thing.

Google drive (rclone.org)

Hello, thanks for your reply.

I meant: In Google Drive, there are some built-in Apps, e.g. Google Drawings:

Fortunately, this file type is exportable (IN RCLONE). But file types created by, e.g. MindMup is not, even though within this App (MindMup), we can choose to export the file (the mind map) as JPG/PNG. So I hope somehow Google Drawings and MindMup 2 may share the same programming interface, and rclone can invoke such interface to export the file as JPG/PNG. However, at the moment, the files created by MindMup (or probably any Apps in Google Workspace Marketplace), are not exportable using rclone automatically.

I wonder if there are solutions for this issue. Of course, I can always do the backing up of those MindMup-created files manually, one file at a time. This would be very tedious!!!

Did you check the link I shared and tried to export? Can you share that log file?

Hello,

This is the command:

rclone sync --verbose --log-file=mylogfile.txt --fast-list --create-empty-src-dirs --transfers 8 --checkers 16 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats-one-line-date --stats 1s --stats-file-name-length 0 --progress --progress-terminal-title "google-drive:" "x:/Google/rclone/"

Note: the destination is already in sync. I ran again just to get the log file.

Here is the Console Output:

2021/12/22 16:45:42 -           0 B / 0 B, -, 0 B/s, ETA -

Here is the log file:

2021/12/22 16:45:42 INFO  : There was nothing to transfer
2021/12/22 16:45:42 INFO  : 2021/12/22 16:45:42 -           0 B / 0 B, -, 0 B/s, ETA -

I'm sure that the files created by MindMup were not exported.

Following your link, I don't see MindMup as well as Google Drawings are supported. But using rclone, Google Drawings are exported as SVG.

Anyway, I assume when a "file" on Google Drive is not exportable, rclone should inform users. (I didn't see such notification in Console Output and Log file). Is this worth a "feature suggestion" for future versions of rclone? :slight_smile:

When right-clicking on a Google Drawings file (in Google Drive), we see "Download" entry. But doing so with MindMup file, such entry is not available despite that Users can export the Mind Map within the MindMup app as PNG/JPG.

You have a mindmup file.
You want to export that file locally to a PNG via rclone?

Hopefully that's what you are asking as I think the answer is that there isn't a Google API to export it. You are using a 3rd party API to do that via their app.

rclone lsjson GD:test
[
{"Path":"doctest.docx","Name":"doctest.docx","Size":-1,"MimeType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","ModTime":"2021-12-22T16:26:41.054Z","IsDir":false,"ID":"1PzOZzrxGfya4UkfsGfQW1wVLSBmdeF1YLEfMfODPm70"},
{"Path":"test.mup","Name":"test.mup","Size":266,"MimeType":"application/vnd.mindmup","ModTime":"2021-12-22T16:21:30.868Z","IsDir":false,"ID":"14Apws1G-JT6IHZUCL8vBwLZ3a98bufag"}
]

The mime types look good.

rclone copy GD:test `pwd`/Test -vvv --drive-export-formats pdf
2021/12/22 11:35:22 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "copy" "GD:test" "/Users/etexter/Downloads/Test" "-vvv" "--drive-export-formats" "pdf"]
2021/12/22 11:35:22 DEBUG : Creating backend with remote "GD:test"
2021/12/22 11:35:22 DEBUG : Using config file from "/Users/etexter/.config/rclone/rclone.conf"
2021/12/22 11:35:22 DEBUG : GD: detected overridden config - adding "{6iTGc}" suffix to name
2021/12/22 11:35:22 DEBUG : Google drive root 'test': 'root_folder_id = 0AGoj85v3xeadUk9PVA' - save this in the config to speed up startup
2021/12/22 11:35:22 DEBUG : fs cache: renaming cache item "GD:test" to be canonical "GD{6iTGc}:test"
2021/12/22 11:35:22 DEBUG : Creating backend with remote "/Users/etexter/Downloads/Test"
2021/12/22 11:35:22 DEBUG : Local file system at /Users/etexter/Downloads/Test: Waiting for checks to finish
2021/12/22 11:35:22 DEBUG : Local file system at /Users/etexter/Downloads/Test: Waiting for transfers to finish
2021/12/22 11:35:23 DEBUG : test.mup: md5 = d6f2095a7ac57bae945eb163a1548851 OK
2021/12/22 11:35:23 INFO  : test.mup: Copied (new)
2021/12/22 11:35:23 DEBUG : Local file system at /Users/etexter/Downloads/Test: File to upload is small (11552 bytes), uploading instead of streaming
2021/12/22 11:35:23 DEBUG : doctest.pdf: md5 = af2f504d230973c3ff711ebdec8562f7 OK
2021/12/22 11:35:23 INFO  : doctest.pdf: Copied (new)
2021/12/22 11:35:23 DEBUG : doctest.pdf: Updating size of doc after download to 11552
2021/12/22 11:35:23 INFO  : doctest.pdf: Copied (Rcat, new)
2021/12/22 11:35:23 INFO  :
Transferred:   	   22.822 KiB / 22.822 KiB, 100%, 0 B/s, ETA -
Transferred:            4 / 4, 100%
Elapsed time:         1.2s

2021/12/22 11:35:23 DEBUG : 11 go routines active
etexter@seraphite Downloads % rclone lsjson Test
[
{"Path":"doctest.pdf","Name":"doctest.pdf","Size":11552,"MimeType":"application/pdf","ModTime":"2021-12-22T11:26:41.054000000-05:00","IsDir":false},
{"Path":"test.mup","Name":"test.mup","Size":266,"MimeType":"application/octet-stream","ModTime":"2021-12-22T11:21:30.868000000-05:00","IsDir":false}
]

But since Google does do that conversion via their API, it won't work. That's why I listed out the supported MIME types that they offer.

I think @albertony can check my work and validate my answer as I don't do much with this.

Yes. I'm periodically doing a Google Drive backup: copy everything on Google Drive to a local Disk. Mindmup file is a file that can only be created within Google Drive, using MindMup app (installed from Google Workspace Marketplace).

Thanks for your answer.

It looks like rclone can't export MindMup files as Image file. But at least it should inform users, such as "File ... is not exportable" either in Console Output or Log file. What do you think?

That wouldn't make much sense as almost every single file other than a few office types are not exportable.

It isn't rclone can't export, it's Google doesn't have an API to export a 3rd party app. It has little to do with rclone. You can using the Web App to do the export.

Hi, if rclone were to inform users about non-exportable files when syncing, at least, users would know which files need manually exporting (open the Web App, export the file in there). Some non-exportable files, e.g. MindMup, may be buried deep in folder structure on Google Drive; without a clear notification from rclone, users would find it difficult to manually traverse the entire Google Drive, and export the MindMup files.

Put it simply, this issue is a matter of user-friendliness (Usability). :smiley:

So I get your point as the challenge is majority is not exportable.

If you sync 300k files and 299.9k can't be exported, you get a lot of errors.

The gotchas and supported information is here:

Google drive (rclone.org)

As it's more beneficial to know what you can export as that's a small list rather than what you can't export.

Your use case here is pretty edge.

majority is not exportable.

I didn't know that. Thanks.

I wish there could be a special switch/flag so that we can turn on the reporting of non-exportable files. That said, by default, rclone doesn't need to report such cases, but in case the Users really need such info, they can make use of the switch.

I'm in the same boat as you as my voice is really just as loud as yours.

If you want a switch and it add values for you, make it :slight_smile:

If you don't program like me, add a feature request and if it has enough want, someone may pick it up.

Right now, there are 56 requests for new backends, 346 enhancements and 65 features out there. We all want, but not a lot of people to 'do'.

Making a switch takes time, people to maintain and keep up with it, etc.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.