-
Notifications
You must be signed in to change notification settings - Fork 75
unable to GROUP BY, or ORDER BY on Android -- "open /tmp/ql-tmp-260419420: no such file or directory" #132
Comments
Please ping me in two weeks, I am away from a PC. |
No Problem, I put a temporary fix in my local copy but it is "crude". Will ping in a couple of weeks |
FWIW, |
@calmh , Thanks for pitching in. Unfortunately am not able to build/compile with the flag I am attempting to create a ".aar" library to be imported into Android Studio. command used was: error received was:
|
I have unfortunately never used Go with gomobile. Can you please try with latest stable, ie. go1.7, if, by chance, it gets any farther? I am disappointed that FileTemp, as @calmh points out, does not adhere to platform specifics (if I understood the comment correctly). |
No, it does, it's just that Android is not Linux, does not have a /tmp, and requires GOOS=android building. How to do that successfully I don't know, it's just that I ran into the same temp file issue on another project. |
I'm back. @rasabbey I'm not sure what I can do for you. Please let me know about the progress on this, if any. |
@cznic welcome back, I only put a temporary fix to check if an sdcard exists and use that instead. |
Looking forward your PR 😄 |
I also am using this with gomobile to make an aar package. It's really because an a droid app has no ability to write anywhere. Elias Naur will probably know the answer I suspect. |
This is closed. But for some reason it is listed under open issues (GitHub shows it). |
@dc0d This issue was never closed. |
Sorry and Thanks! |
Hi Cznic, thank you very much for this library.
Please correct me if my conclusion is wrong.
After going through the source I believe this bug occurs because the "/tmp/" folder is not present or writable on a lot of Android devices.
As per the comment on line 122 in file github.com/cznic/file.go
The text was updated successfully, but these errors were encountered: