Couldn't attach file for exports

Help on issues you run into with LapTimer; in case you have a question on how to use LapTimer, use the forum "Using LapTimer" instead
Post Reply
kryzak
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Fri Feb 28, 2014 8:07 am

Couldn't attach file for exports

Post by kryzak » Sun Jan 19, 2020 11:08 pm

Hi everyone!

I recently tried to export a session at the track (CSV) for use in RaceRender3, but every time I try to Mail (gmail app), share (onedrive, Google Drive), it always says "Couldn't attach file" when the email is formed. I tried sending the email and I have all the text info about the file, but no attachment.

I tried this with other formats too, as well as "All" formats, and the same thing keeps happening. This used to work on the Motorola Moto X4, but doesn't seem to work here.

the following is the email info I have for the file I was trying to export and attach.

LapTimerDB.csv: lapped times as universal CSV format
LapTimerGPSRecDB.csv: recorded GPS fixes as universal CSV format

SOFTWARE
Product: Harry's LapTimer (DVP)
Edition: Rookie Edition
Version: v23.0.13 - Dec 20 2019 11:36:35

SYSTEM
Manufacturer: Motorola - Model: motorola one hyper
OS: 10 (SDK 29) - Databases: L76G75V74E00P6AT71
Screen: xxhdpi, 1080x2214, normal
Sensor: Internal
Available Storage: 88 GB internal / 88 GB SD card
SD cards: /storage/emulated/0/Android/data/com.harrys.laptimer/files/Movies
/storage/3631-6530/Android/data/com.harrys.laptimer/files/Movies
RAM: 3 GB - CPU cores: 8
Dalvik Heap: 9 MB/9 MB/192 MB
Native Heap: 91 MB
UDID: D93D9C15-12EA-4601-8086-8669B6C5CABF (certified)
Product: def_retail

ONLINE CLIENT
DriverID: Kry - Simplified UDID: 3455445101
Server: 134 KB uploaded, 42 KB downloaded
User avatar
Harry
Site Admin
Site Admin
Posts: 9626
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Couldn't attach file for exports

Post by Harry » Sun Jan 19, 2020 11:14 pm

This is an Android 10 problem. We work on a solution. I think it is the same when using the the Share option, but you can try.

- Harry
Image Image Image Image
kryzak
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Fri Feb 28, 2014 8:07 am

Re: Couldn't attach file for exports

Post by kryzak » Sun Jan 19, 2020 11:20 pm

Oh I see. Thanks for the quick response. No wonder I didn't experience this when I exported all the files from my old phones (Moto X4) to the new one.

Share also doesn't work. The attachment files always have errors.
414bhp
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 1
Joined: Tue Jan 28, 2020 3:51 pm

Re: Couldn't attach file for exports

Post by 414bhp » Tue Jan 28, 2020 3:54 pm

I am also having the "Can't attach file" problem on Android OS 10.

I have an older phone with older Android. Is there some way to transfer my app database to the older phone so I can export my laps from there?
User avatar
Harry
Site Admin
Site Admin
Posts: 9626
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Couldn't attach file for exports

Post by Harry » Tue Feb 04, 2020 9:43 am

The old phone will not be helpful because the problem is to get the data from the 10. When exporting data, LapTimer creates the files to export in some temporary directory in LapTimer's sandbox (local folder "cache"). Next, it allows other apps to access this file (which is the step that doesn't work for Android 10 currently). In case you find a way to access the "cache" folder, you can copy the export. Problem will be that it is still in LapTimer's sandbox thus read protected. To my knowledge, you need to root the devices to do this...

- Harry
Image Image Image Image
kryzak
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Fri Feb 28, 2014 8:07 am

Re: Couldn't attach file for exports

Post by kryzak » Tue Feb 04, 2020 5:56 pm

Hmm, that's unfortunate with Android 10. I was looking in the Lap Timer folder in the "Android" folder, but didn't see a "cache" sub folder. I'm not sure if it's hidden or something?

Read-only might be fine if all I'm trying to do is read the data for Race Render.
User avatar
Harry
Site Admin
Site Admin
Posts: 9626
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Couldn't attach file for exports

Post by Harry » Tue Feb 04, 2020 5:59 pm

“Read protected” means it is *not readable* - except for a root user or the app itself.

Harry
Image Image Image Image
kryzak
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 9
Joined: Fri Feb 28, 2014 8:07 am

Re: Couldn't attach file for exports

Post by kryzak » Tue Feb 04, 2020 6:43 pm

Oh, haha. I understood that as "read only". =P

So still no possibility of accessing that file without rooting the device or saving the attachment somewhere else?
Post Reply