Score:0

Sound file referenced in the wrong directory when using camera resources

us flag

When creating a program with a Camera, be through qml or directly with C++ code, the sound files are referenced to an ubports directory instead of the lomiri real one inside the Ubuntu Touch phone.

I suppose that it must be fixed somewhere in the libraries or tools used, as it is not possible to change the Read-Only file system in the phone to create, at least, a dynamic link.

lomiri::MediaHub::DBusUtils::waitForFinished(const QDBusPendingCall&)::<lambda(QDBusPendingCallWatcher*)> QDBusError("mpris.Player.Error.UriNotFound", "Warning: Failed to open uri file:///usr/share/sounds/ubports/camera/click/camera_click.ogg because it can't be found.")

ubuntu-phablet aa-exec[7602]: ** Media playback error:  "Warning: Failed to open uri file:///usr/share/sounds/ubports/camera/click/camera_click.ogg because it can't be found."

phablet@ubuntu-phablet:/usr/share/sounds/lomiri/camera$ ls -ali
total 16
8699 drwxr-xr-x 4 root root 4096 ene  1  1970 .
8653 drwxr-xr-x 5 root root 4096 ene  1  1970 ..
8702 drwxr-xr-x 2 root root 4096 ene  1  1970 click
8700 drwxr-xr-x 2 root root 4096 ene  1  1970 focus
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.