-
Notifications
You must be signed in to change notification settings - Fork 47
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
Problem with importing backuped Collection view/Game/User #152
Comments
The import logic is quite different between Android versions before KitKat 4.4 (SDK 19). What versions of the OS are you running? |
Android 9 @ Sony Xperia XZ1 Compact (G8441) |
I just came across this issue (Samsung S20+ with latest android). We exported the files to my Google Drive account, edited the files with my PC and imported the files in the app. |
Nice trick, but either doesn't work for me or I'm doing sth wrong. Could you please explain more details?
*) sorry if translation of these names is not 100% accurate, I don't use English language Android system |
UPDATE to 4th case in previous post. I checked it. I can import any (new and old!) backup via System File Picker from SD but only from "Downloads" or "Latest". This happened after I exported one backup to Google Drive and downloaded it (I wrote above that such files can be imported, pure case 4th). Then I deleted the downloaded file. And I copied an old backup to Download directory. Then, while trying to import, the System File Picker showed the old file (in "Downloads" or "Latest" only) as selectable. BUT. It showed the timestamp and filesize of the removed file! It looks like there's a bug somewhere (File Picker, system or BGG4A) that fools the app (or the File Picker) thus letting me select the old backup. And of course it only works if the desired file has the same name as the downloaded one. Finally I imported what I wanted. But I'm not sure it will work next time 🤷♂️ Pretty weird thing... |
I had this issue yesterday on the latest version (6.8.1) of BGG4A. When I navigated to Google Drive, where I had uploaded the files for safe keeping, I found that the recently exported files were not selectable. I downloaded them, but that didn't change anything. But I had old backups on Drive that were selectable, which was when I remembered I had this issue before. But I didn't remember how to fix it. I will point out that Google Drive reported the newly exported files as "unknown" file type (even though they have My vague recollection was that I copied the contents to new files. So I made copies of the files I knew worked and copied in the contents of the recently exported files. Which worked. This makes me think there is an encoding issue. I'm a software engineer, but I've only dabbled in tutorials for Android/Kotlin. Is it possible that when an app requests a file manager to pick a file, it places filters on the file types it will take? And if so, might it go beyond the extension to the encoding of the contents? If so, it's possible the export encodes one way (utf-8, let's say), and the import expects another encoding (say, latin-1) - maybe even one of them not enforcing it, and the OS substituting a default. |
Sorry for the late reply. We've been out all day and just came in. We thought it might be a file rights issue. |
I hereby confirm that exporting a file to Google Drive + editing content of that file + importing that same file (with new content) = WORKS. Just like @KleineGelbe and @timepieces141 said before. Thank you! What a heck of struggle! :(
|
@ccomeaux Can you export backups to phone memory and import them back? I wonder if it's app-dependent or phone-dependent issue. |
The issue still exists on Samsung Galaxy S22 with latest Android 12 in latest BGG4A v6.8.2 app. Still the same workaround works. |
Just for reference – the same issue thread in BGG guild: https://boardgamegeek.com/thread/2869756/importexport-backup. |
I exported all 3 long time ago. A while ago, after an install of recent version, I wanted to restore them but I couldn't and I can't, the files are unclickable, nothing happens.
I mean export/import on this screen
Files exported previously, now can't be imported.
Is this problem on my side or anyone else has this problem, too?
The text was updated successfully, but these errors were encountered: