Comments (13)
@iakmds I would like to ask 2 off topic questions. Should I open an issue or can I ask here?
from librecamera.
You can create a new issue and I'll assign the "Help wanted" label
*Also, regarding the SD card issue, may I know which Android version you are running?
from librecamera.
*Also, regarding the SD card issue, may I know which Android version you are running?
I'm on Android 8.1.
if you need to know something else I'll be around (No, I don't know the lottery numbers! XP )
Side note: This issue keeps me from using the app full time because I really want to save photos to SD card
from librecamera.
I am facing the same problem.
Android version is 9.
Even though I have given permissions regarding the SD card, it gives me the message as shown in the attached image and I am unable to save it.
It used to be the case in my environment.
It takes the picture but the white frame surrounding the image never goes away and the image is never saved.
But today, after updating to version 1.6.0, it now gives the error message as shown in the attached image.
from librecamera.
@ksnnkr thanks for your info. Is the path /storage/6CD1-3126/DCIM/
a path on the SD card, or is it on the phone in this case?
You're right, the new version includes some error messages when things go wrong. What this error says is that it cannot copy the image file from the cache to the final destination; Probably because of an SD card related permission issue when saving that needs to be fixed
from librecamera.
Sorry for the lack of words.
/storage/6CD1-3126/DCIM/ is the path on the SD card.
In addition, today I tried to disable the permissions related to storage, and the message shown in the attached image appears at startup. The screen is dark because the cover is still on.
from librecamera.
Hello! Same issue for me... and approximately the same error message. No problem with the Samsung's photo app. Not a read only issue as I created a new folder "LibreCamera" in the DCIM (in SD) without any difficulty.
Android 9. Samsung Galaxy XCover 4.
from librecamera.
same issue here.
Libre Camera can't write any files, neither to SD card nor to the internal storage.
Running Lineage19.1, and other apps (like Open Camera) are working fine.
Libre Camera in the latest 1.7.0 from f-droid.
Screenshots from the (pretty similar) error messages:
from librecamera.
I can confirm this issue also in Android 10
from librecamera.
Same issue here with GrapheneOS (Android 13): "Operation not permitted" errors when trying to access internal storage.
from librecamera.
Confirming on Graphene 230805 on a Pixel 6a. The Give Storage Permission button in the Onboarding Wizard does nothing and manually pointing the app at a directory throws the previously posted 'Operation Not Permitted' error.
from librecamera.
I have a samsung galaxy J5 2017(yes I know, but was practically forced to get a samsung phone, since only unaltered samsung phones where allowed).
android 9
app version 1.9.1
I could give t the permissions from the settings,
saving images to internal storage does work, but when saving to external storage it gives a
PathAccesException: Cannot copy file to '/storage/sdIDhere/libcam/imagename.jpg', path = '/data/user/0/com.iakmds.librecamera/cache/otherimagename.jpg' (OS Error: Permission denied, errno =13)
perhaps it is related to t[](his: https://stackoverflow.com/questions/60558577/how-to-solve-os-error-permission-denied-errno-13-in-flutter )
which is a problem which happens due to a conflict between before and including android sdk28 and android sdk29 and later.
android sdk 29 is aimed for android 10 and later and uses a difference in how it handles and requests external storage
they say that adding:
"
<application
android:requestLegacyExternalStorage="true"
"
to the AndroidManifest file would fix it
however would need to see if that doesn't affect newer devices, and if it does it would only be worth it if it only enables that setting on older devices, or if it has to be manually enabled.
from librecamera.
I see you already used that setting in the main AndroidManifest file.
in my case the first path it shows in the error is a correct one, the /data/user path I do not know, I think that is cache or ram where the image is stored before writing to normal storage or such.
FreeDCam does work on my device and is also opensource.
https://github.com/KillerInk/FreeDcam/blob/60682b2a086988f291725f8c9866a41350abda91/app/src/main/AndroidManifest.xml#L4
so perhaps you can find the solution for the problem there.
their AndroidManifest file does not seem to use that line which is supposed to fix this issue, so perhaps that one line might be the cause of the problem?
or perhaps a older android apk version is used there?(I don't know which versions either projects uses)
from librecamera.
Related Issues (20)
- Suggest about formats HOT 1
- [Feature request] Camera grid
- Switching cameras while filming bugs footage HOT 2
- [Bug] Selecting a screen location to focus on is just above where tapped HOT 1
- Higher resolution 4:3
- No shutter sound problem
- Unable to give Storage Permission HOT 4
- Use external usb camera with app HOT 1
- [Feature request] Show prompt to enable EXIF
- [Feature request] Autorotate icons rather than whole screen
- [Feature request] Hold take photo button for quick recording
- [Bug] LibreCamera doesn't open from other apps HOT 3
- [Feature request] Add feature to do video recording even with screen off / locked
- [Bug] Exif not working for webp
- [Feature request] Allow opening albums apps from built-in preview
- [Bug] Should the torch be turned off when entering settings?
- [Feature request] Flash indicator for automatic flash
- [Feature request] Zoom indicator (text) for two-finger pinch
- [Feature request] Text labels and auto-fitting for quality slider
- [1.9.1] EXIF doesn't include GPS infos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librecamera.