streetcomplete / StreetComplete

Easy to use OpenStreetMap editor for Android
https://streetcomplete.app
GNU General Public License v3.0
3.87k stars 353 forks source link

Notify user of not working camera app when adding trying to add a photo in note #2911

Closed N-i-o closed 3 years ago

N-i-o commented 3 years ago

I want to take a photo at a note. When I press the button "Adding a photo..." nothing happens. Notes without photos can be created.

How to Reproduce Create new note --> Adding a photo...

Versions affected StreetComplete 31.3 (F-Droid) Android Version 11 (GrapheneOS RQ2A.210505.003.2021.05.19.06) Phone: Pixel 4a (5G) All available permissions have been granted.

matkoniecz commented 3 years ago

Probably obvious - but can you make photos otherwise?

Is it feasible for you to provide logs of what happens when you try doing attaching photo?

you can grab the logs via adb logcat (https://www.siteforinfotech.com/capture-android-logs-minimal-adb-and-fastboot/), without root

or by installing Android Studio, connecting phone via USB and switching logcat tab in bottom left of the screen

N-i-o commented 3 years ago

Probably obvious - but can you make photos otherwise?

Do you mean insert a photo via link? Or is there another way to add a photo to a note?

Is it feasible for you to provide logs of what happens when you try doing attaching photo?

adb logcat / open StreetComplete / Add Note / Add Photo

05-27 10:43:33.496   829   912 W SEE     : @ 262778.640: instance avail d_s = 0x0 sensor = 0x100
05-27 10:43:33.497   829   912 W SEE     : @ 262778.640: adding req to Q sensor=256 req=0xb203c538 msg=514
05-27 10:43:33.504   829   912 W SEE     : @ 262778.648: instance avail d_s = 0x100 sensor = 0x200
05-27 10:43:33.505   829   912 W SEE     : @ 262778.648: skip removing req from Q sensor=11447 req=0xb2039c28 msg=514
05-27 10:43:40.669  1891  1891 W native  : event_matcher.cc:56 Frame 83452284746000 earlier than last matched event: 83452286075000; dropping
05-27 10:43:41.271  1891  1891 W native  : event_matcher.cc:56 Frame 83452886066000 earlier than last matched event: 83452886899000; dropping
05-27 10:43:41.319  1238 13741 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.westnordost.streetcomplete/.MainActivity bnds=[740,517][953,770]} from uid 10131
05-27 10:43:41.333  1238  1286 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10154; state: DISABLED
05-27 10:43:41.334  1238  1286 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10154; state: ENABLED
05-27 10:43:41.334  1238  1298 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10154; state: ENABLED
05-27 10:43:41.344   777   777 D Zygote  : Forked child process 32074
05-27 10:43:41.348 32074 32074 W Zygote  : Can't access app profile directory: /data_mirror/cur_profiles/0/de.westnordost.streetcomplete
05-27 10:43:41.353  1238  1298 I ActivityManager: Start proc 32074:de.westnordost.streetcomplete/u0a154 for pre-top-activity {de.westnordost.streetcomplete/de.westnordost.streetcomplete.MainActivity}
05-27 10:43:41.363 32074 32074 E .streetcomplet: Not starting debugger since process cannot load the jdwp agent.
05-27 10:43:41.418 32074 32074 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 10154 <<<<<<
05-27 10:43:41.418 32074 32074 W .streetcomplete: type=1400 audit(0.0:774354): avc: denied { read } for name="u:object_r:device_config_runtime_native_boot_prop:s0" dev="tmpfs" ino=1151 scontext=u:r:untrusted_app:s0:c154,c256,c512,c768 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=0 app=de.westnordost.streetcomplete
05-27 10:43:41.420 32074 32074 E libc    : Access denied finding property "persist.device_config.runtime_native_boot.profilebootclasspath"
05-27 10:43:41.420 32074 32074 E libc    : Access denied finding property "persist.device_config.runtime_native_boot.enable_apex_image"
05-27 10:43:41.420 32074 32074 I AndroidRuntime: Using default boot image
05-27 10:43:41.420 32074 32074 E libc    : Access denied finding property "persist.device_config.runtime_native_boot.disable_lock_profiling"
05-27 10:43:41.420 32074 32074 I AndroidRuntime: Leaving lock profiling enabled
05-27 10:43:41.420 32074 32074 E libc    : Access denied finding property "persist.device_config.runtime_native_boot.enable_generational_cc"
05-27 10:43:41.418 32074 32074 W .streetcomplete: type=1400 audit(0.0:774356): avc: denied { read } for name="u:object_r:device_config_runtime_native_boot_prop:s0" dev="tmpfs" ino=1151 scontext=u:r:untrusted_app:s0:c154,c256,c512,c768 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=0 app=de.westnordost.streetcomplete
05-27 10:43:41.422 32074 32074 W .streetcomplete: type=1400 audit(0.0:774358): avc: denied { lock } for path="/apex/com.android.art/javalib/arm64/boot.art" dev="dm-8" ino=139 scontext=u:r:untrusted_app:s0:c154,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=de.westnordost.streetcomplete
05-27 10:43:41.486 32074 32074 D de.westnordost.streetcomplete: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
05-27 10:43:41.486 32074 32074 D de.westnordost.streetcomplete: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt66l.dat
05-27 10:43:41.500 32074 32074 W de.westnordost.streetcomplete: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
05-27 10:43:41.504 32074 32074 D AndroidRuntime: Calling main entry com.android.internal.os.ExecInit
05-27 10:43:41.505 32074 32074 D Zygote  : begin preload
05-27 10:43:41.505 32074 32074 I Zygote  : Calling ZygoteHooks.beginPreload()
05-27 10:43:41.507 32074 32074 I Zygote  : Preloading shared libraries...
05-27 10:43:41.576 32074 32074 I Zygote  : Called ZygoteHooks.endPreload()
05-27 10:43:41.586 32074 32074 I Zygote  : Installed AndroidKeyStoreProvider in 10ms.
05-27 10:43:41.586 32074 32074 D Zygote  : end preload
05-27 10:43:41.616 32074 32074 I PackageParser: Skipping target and overlay pair com.android.settings and /product/overlay/SettingsOverlayG025H.apk: overlay ignored due to required system property: ro.boot.hardware.sku with value: G025H
05-27 10:43:41.617 32074 32074 I PackageParser: Skipping target and overlay pair com.android.settings and /product/overlay/SettingsOverlayG025E.apk: overlay ignored due to required system property: ro.boot.hardware.sku with value: G025E
05-27 10:43:41.618 32074 32074 I PackageParser: Skipping target and overlay pair com.android.settings and /product/overlay/SettingsOverlayG6QU3.apk: overlay ignored due to required system property: ro.boot.hardware.sku with value: G6QU3
05-27 10:43:41.629 32074 32074 I PackageParser: Skipping target and overlay pair android and /product/overlay/FrameworkOverlayG6QU3.apk: overlay ignored due to required system property: ro.boot.hardware.sku with value: G6QU3
05-27 10:43:41.640 32074 32074 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-27 10:43:41.640 32074 32074 D NetworkSecurityConfig: No Network Security Config specified, using platform default
05-27 10:43:41.666 32074 32074 I TetheringManager: registerTetheringEventCallback:de.westnordost.streetcomplete
05-27 10:43:41.675 32074 32074 I Preload : Preloading data
05-27 10:43:41.686   666   697 W DisplayIdentification: Invalid EDID: falling back to serial number due to missing display name.
05-27 10:43:41.686   666   697 W DisplayIdentification: Invalid EDID: falling back to ASCII text due to missing serial number.
05-27 10:43:41.701 32074 32109 D libEGL  : loaded /vendor/lib64/egl/libEGL_adreno.so
05-27 10:43:41.709 32074 32109 D libEGL  : loaded /vendor/lib64/egl/libGLESv1_CM_adreno.so
05-27 10:43:41.714 32074 32109 D libEGL  : loaded /vendor/lib64/egl/libGLESv2_adreno.so
05-27 10:43:41.769 32074 32103 I Preload : Loaded country boundaries
05-27 10:43:41.827 32074 32074 W SQLiteLog: (28) double-quoted string literal: "ANSWERED"
05-27 10:43:41.827 32074 32074 W SQLiteLog: (28) double-quoted string literal: "CLOSED"
05-27 10:43:41.827 32074 32074 W SQLiteLog: (28) double-quoted string literal: "HIDDEN"
05-27 10:43:41.858   814   845 E LocSvc_APIClientBase: onResponseCb:894] ERROR: 5 ID: 195
05-27 10:43:41.871   829   829 I sensors-hal: [hal]batch_physical_sensor:301, android.sensor.accelerometer/11, period=66667000, max_latency=0
05-27 10:43:41.871   829   829 I sensors-hal: [hal]batch_physical_sensor:310, android.sensor.accelerometer/11, period=66667000, max_latency=0 request completed
05-27 10:43:41.871   829   829 I sensors-hal: [hal]activate_physical_sensor:238, android.sensor.accelerometer/11 en=1
05-27 10:43:41.872   829   829 I sensors-hal: [ssc_utils]get_qmi_debug_flag:244, support_qmi_debug : false
05-27 10:43:41.874   829   829 D Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error = 13
05-27 10:43:41.875   829   829 I sensors-hal: [ssc_utils]get_qmi_debug_flag:244, support_qmi_debug : false
05-27 10:43:41.877   829   829 I sensors-hal: [hal]activate_physical_sensor:249, android.sensor.accelerometer/11 en=1 completed
05-27 10:43:41.878   829 32118 I sensors-hal: [ssc_sensor]ssc_conn_resp_cb:663, resp_value = 0
05-27 10:43:41.878   829   912 W SEE     : @ 262787.024: adding req to Q sensor=1 req=0xb2039fc8 msg=513
05-27 10:43:41.879   829   829 I sensors-hal: [hal]batch_physical_sensor:301, android.sensor.magnetic_field/21, period=66667000, max_latency=0
05-27 10:43:41.880   829   829 I sensors-hal: [hal]batch_physical_sensor:310, android.sensor.magnetic_field/21, period=66667000, max_latency=0 request completed
05-27 10:43:41.880   829   829 I sensors-hal: [hal]activate_physical_sensor:238, android.sensor.magnetic_field/21 en=1
05-27 10:43:41.880   829   829 I sensors-hal: [ssc_utils]get_qmi_debug_flag:244, support_qmi_debug : false
05-27 10:43:41.892   829   829 D Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error = 13
05-27 10:43:41.893   829   829 I sensors-hal: [ssc_utils]get_qmi_debug_flag:244, support_qmi_debug : false
05-27 10:43:41.899   829   829 I sensors-hal: [MagCC]activate:115, MagCurrentCompService activate
05-27 10:43:41.899   829   829 I sensors-hal: [ssc_utils]get_qmi_debug_flag:244, support_qmi_debug : false
05-27 10:43:41.901   829 32127 I sensors-hal: [ssc_sensor]ssc_conn_resp_cb:663, resp_value = 0
05-27 10:43:41.907   829   829 I sensors-hal: [mag]activate:309, mag_filter is disabled, active_count 1
05-27 10:43:41.907   829   829 I sensors-hal: [hal]activate_physical_sensor:249, android.sensor.magnetic_field/21 en=1 completed
05-27 10:43:41.915   829   912 W SEE     : @ 262787.061: adding req to Q sensor=1 req=0xb203c408 msg=513
05-27 10:43:41.920   829   912 W SEE     : @ 262787.067: adding req to Q sensor=2 req=0xb203a2c8 msg=513
05-27 10:43:41.939   829   912 D ASH     : @ 262787.085: SensorType 195 resampler quality 1
05-27 10:43:41.960 32074 32135 D Tangram : Loading native library took 13ms
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: QUALCOMM build                   : 4783c89, I46ff5fc46f
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: Build Date                       : 11/30/20
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.31.04.01
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: Local Branch                     : QPR2
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: Remote Branch                    : 
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: Remote Branch                    : 
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: Reconstruct Branch               : 
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: Build Config                     : S P 10.0.4 AArch64
05-27 10:43:41.967 32074 32107 I AdrenoGLES-0: Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
05-27 10:43:41.969 32074 32074 E RecyclerView: No adapter attached; skipping layout
05-27 10:43:41.976 32074 32107 I AdrenoGLES-0: PFP: 0x016dd090, ME: 0x00000000
05-27 10:43:41.987 32074 32107 W AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
05-27 10:43:41.987 32074 32107 W AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
05-27 10:43:42.021 32074 32074 D Tangram : Loading native library took 0ms
05-27 10:43:42.023 32074 32074 D Tangram : MapController creation took 2ms
05-27 10:43:42.024 32074 32074 D Tangram : MapController init took 1ms
05-27 10:43:42.033  1238  1295 I ActivityTaskManager: Displayed de.westnordost.streetcomplete/.MainActivity: +703ms
05-27 10:43:42.038 32074 32142 D Tangram : TANGRAM map.cpp:877: setup GL
05-27 10:43:42.052 32074 32134 I Upload  : Starting upload
05-27 10:43:42.053 32074 32134 I CommentNoteUpload: Commented on 0 notes
05-27 10:43:42.053 32074 32134 I DeleteOsmElementUpload: Deleting Elements
05-27 10:43:42.054 32074 32134 I UndoOsmQuestUpload: Undoing quest changes
05-27 10:43:42.055 32074 32134 I OsmQuestUpload: Applying quest changes
05-27 10:43:42.061 32074 32134 W SQLiteLog: (28) double-quoted string literal: "NEW"
05-27 10:43:42.061 32074 32134 W SQLiteLog: (28) double-quoted string literal: "HIDDEN"
05-27 10:43:42.077 32074 32142 D Tangram : TANGRAM hardware.cpp:60: Driver supports map buffer: 0
05-27 10:43:42.077 32074 32142 D Tangram : TANGRAM hardware.cpp:61: Driver supports vaos: 1
05-27 10:43:42.077 32074 32142 D Tangram : TANGRAM hardware.cpp:62: Driver supports rgb8_rgba8: 1
05-27 10:43:42.077 32074 32142 D Tangram : TANGRAM hardware.cpp:63: Driver supports NPOT texture: 0
05-27 10:43:42.078 32074 32142 D Tangram : TANGRAM hardware.cpp:77: Hardware max texture size 16384
05-27 10:43:42.078 32074 32142 D Tangram : TANGRAM hardware.cpp:78: Hardware max combined texture units 96
05-27 10:43:42.079 32074 32134 I SplitOsmWayUpload: Splitting ways
05-27 10:43:42.083 32074 32134 I CreateNotesUpload: Uploading create notes
05-27 10:43:42.083 32074 32142 D Tangram : TANGRAM map.cpp:210: resize: 1080 x 2340
05-27 10:43:42.091 32074 32134 I CreateNotesUpload: Created 0 notes
05-27 10:43:42.093 32074 32141 D Tangram : NOTIFY importer.cpp:282: Merging different node types: 
05-27 10:43:42.093 32074 32141 D Tangram : 'rgb(204,214,238)'
05-27 10:43:42.093 32074 32141 D Tangram : <--
05-27 10:43:42.093 32074 32141 D Tangram : '[0.16, 0.36, 0.36, 0.75]'
05-27 10:43:42.093 32074 32141 D Tangram : NOTIFY importer.cpp:282: Merging different node types: 
05-27 10:43:42.093 32074 32141 D Tangram : 'rgb(185,195,217)'
05-27 10:43:42.093 32074 32141 D Tangram : <--
05-27 10:43:42.093 32074 32141 D Tangram : '[0.12, 0.32, 0.32, 0.75]'
05-27 10:43:42.094 32074 32141 D Tangram : WARNING sceneLoader.cpp:687: Can't find data source streetcomplete_selected_quests for layer streetcomplete_selected_quests
05-27 10:43:42.094 32074 32141 D Tangram : WARNING sceneLoader.cpp:687: Can't find data source streetcomplete_quests for layer streetcomplete_quests
05-27 10:43:42.094 32074 32141 D Tangram : WARNING sceneLoader.cpp:687: Can't find data source streetcomplete_geometry for layer streetcomplete_geometry
05-27 10:43:42.094 32074 32141 D Tangram : WARNING tileManager.cpp:204: add source jawg
05-27 10:43:42.096 32074 32141 E Tangram : Error in font.xml parsing: END_TAG expected (position:START_TAG (empty) <axis tag='wght' stylevalue='400'>@153:49 in java.io.InputStreamReader@639d6f) 
05-27 10:43:42.096 32074 32141 E Tangram : Error in font.xml parsing: END_TAG expected (position:START_TAG (empty) <axis tag='wdth' stylevalue='100.0'>@292:51 in java.io.InputStreamReader@639d6f) 
05-27 10:43:42.097 32074 32141 E Tangram : Error in font.xml parsing: END_TAG expected (position:START_TAG (empty) <axis tag='wght' stylevalue='400'>@369:49 in java.io.InputStreamReader@639d6f) 
05-27 10:43:42.099 32074 32141 D Tangram : FontConfig init took 5ms
05-27 10:43:42.100 32074 32141 D Tangram : TANGRAM scene.cpp:427: Fetch texture asset:///map_theme/jawg/images/oneway_arrow@2x.png
05-27 10:43:42.100 32074 32141 D Tangram : TANGRAM scene.cpp:427: Fetch texture asset:///map_theme/jawg/images/quest_dot@2x.png
05-27 10:43:42.100 32074 32141 D Tangram : TANGRAM scene.cpp:427: Fetch texture file:///data/user/0/de.westnordost.streetcomplete/files/quests.png
05-27 10:43:42.101 32074 32140 D Tangram : TANGRAM scene.cpp:432: Received texture asset:///map_theme/jawg/images/oneway_arrow@2x.png
05-27 10:43:42.101 32074 32140 D Tangram : WARNING texture.cpp:172: OpenGL ES doesn't support texture repeat wrapping for NPOT textures nor mipmap textures
05-27 10:43:42.101 32074 32140 D Tangram : WARNING texture.cpp:173: Falling back to LINEAR Filtering
05-27 10:43:42.101 32074 32140 D Tangram : TANGRAM scene.cpp:432: Received texture asset:///map_theme/jawg/images/quest_dot@2x.png
05-27 10:43:42.101 32074 32134 I Upload  : Finished upload
05-27 10:43:42.104 32074 32140 D Tangram : TANGRAM scene.cpp:432: Received texture file:///data/user/0/de.westnordost.streetcomplete/files/quests.png
05-27 10:43:42.108 32074 32142 D Tangram : TANGRAM scene.cpp:312: Prefetch tiles for View: 1080.000000x2340.000000 / zoom:2.357552 lon:0.000000 lat:0.000000
05-27 10:43:42.176 32074 32140 D Tangram : WARNING texture.cpp:172: OpenGL ES doesn't support texture repeat wrapping for NPOT textures nor mipmap textures
05-27 10:43:42.176 32074 32140 D Tangram : WARNING texture.cpp:173: Falling back to LINEAR Filtering
05-27 10:43:42.177 32074 32142 D Tangram : TANGRAM scene.cpp:312: Prefetch tiles for View: 1080.000000x2340.000000 / zoom:2.357552 lon:0.000000 lat:0.000000
05-27 10:43:42.335 32074 32094 I de.westnordost.streetcomplete: Background young concurrent copying GC freed 371934(11MB) AllocSpace objects, 3(17MB) LOS objects, 58% free, 60MB/145MB, paused 160us total 290.752ms
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "OsmNoteQuestType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddRoadName"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPlaceName"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddOneway"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPostboxCollectionTimes"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "CheckExistence"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddSuspectedOneway"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddCycleway"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddSidewalk"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBusStopName"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBusStopRef"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddIsBuildingUnderground"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddHousenumber"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddAddressStreet"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "CheckShopType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "MarkCompletedHighwayConstruction"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddReligionToPlaceOfWorship"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddParkingAccess"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddRecyclingType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddRecyclingContainerMaterials"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddSport"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddRoadSurface"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddMaxHeight"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddLanes"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddRailwayCrossingBarrier"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddOpeningHours"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBikeParkingCapacity"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddOrchardProduce"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddProhibitedForPedestrians"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddCrossingType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddCrossingIsland"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBusStopShelter"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddParkingFee"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddMotorcycleParkingCapacity"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPathSurface"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddTracktype"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddMaxWeight"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddForestLeafType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBikeParkingType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBikeParkingAccess"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBikeParkingFee"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddStepsRamp"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddWheelchairAccessToilets"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPlaygroundAccess"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddToiletAvailability"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddFerryAccessPedestrian"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddFerryAccessMotorVehicle"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "DetermineRecyclingGlass"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddWayLit"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddToiletsFee"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBikeParkingCover"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddDrinkingWater"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddTactilePavingCrosswalk"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddTactilePavingKerb"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddKerbHeight"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddTrafficSignalsSound"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddTrafficSignalsVibration"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddWheelchairAccessPublicTransport"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddWheelchairAccessOutside"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddTactilePavingBusStop"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBridgeStructure"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddReligionToWaysideShrine"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddCyclewaySegregation"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "MarkCompletedBuildingConstruction"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddGeneralFee"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddSelfServiceLaundry"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddStepsIncline"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddHandrail"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddStepCount"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddInformationToTourism"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddAtmOperator"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddChargingStationCapacity"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddChargingStationOperator"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddClothingBinOperator"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPitchSurface"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddIsDefibrillatorIndoor"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddSummitRegister"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddCyclewayPartSurface"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddFootwayPartSurface"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddMotorcycleParkingCover"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddFireHydrantType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddParkingType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPostboxRef"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBoardType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPowerPolesMaterial"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddCarWashType"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBenchStatusOnBusStop"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddBenchBackrest"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddTrafficSignalsButton"
05-27 10:43:42.346 32074 32104 W SQLiteLog: (28) double-quoted string literal: "AddPostboxRoyalCypher"
05-27 10:43:42.429   836 25068 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xa
05-27 10:43:42.430  1074  1074 I cnss-daemon: nl80211 response handler invoked
05-27 10:43:42.430  1074  1074 I cnss-daemon: nl80211_response_handler: cmd 103, vendorID 4980, subcmd 10  received
05-27 10:43:42.431 25152 25152 I wpa_supplicant: wlan0: CTRL-EVENT-AVOID-FREQ ranges=2412,2437,2457-2472,5180
05-27 10:43:42.431 25152 25152 I wpa_supplicant: wlan0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
05-27 10:43:42.968 32074 32105 I Preload : Loaded features dictionary
05-27 10:43:42.992  1891  1891 W native  : event_matcher.cc:56 Frame 83454607028000 earlier than last matched event: 83454607586000; dropping
05-27 10:43:43.482  1238  1887 E TouchVideoDevice: More than 20 frames have been accumulated. Dropping 1 frames
05-27 10:43:43.533  1891  1891 W native  : event_matcher.cc:44 Event queue exceeds maximum size; dropping oldest
05-27 10:43:43.867  1891  1891 I chatty  : uid=9999(nobody) classifier@1.0- identical 5 lines
05-27 10:43:43.872  1891  1891 W native  : event_matcher.cc:44 Event queue exceeds maximum size; dropping oldest
05-27 10:43:44.256  1891  1891 W native  : event_matcher.cc:56 Frame 83455876306000 earlier than last matched event: 83455876914000; dropping
05-27 10:43:44.486 32074 32141 D Tangram : NOTIFY importer.cpp:282: Merging different node types: 
05-27 10:43:44.486 32074 32141 D Tangram : 'rgb(204,214,238)'
05-27 10:43:44.486 32074 32141 D Tangram : <--
05-27 10:43:44.486 32074 32141 D Tangram : '[0.16, 0.36, 0.36, 0.75]'
05-27 10:43:44.487 32074 32141 D Tangram : NOTIFY importer.cpp:282: Merging different node types: 
05-27 10:43:44.487 32074 32141 D Tangram : 'rgb(185,195,217)'
05-27 10:43:44.487 32074 32141 D Tangram : <--
05-27 10:43:44.487 32074 32141 D Tangram : '[0.12, 0.32, 0.32, 0.75]'
05-27 10:43:44.490 32074 32141 D Tangram : WARNING sceneLoader.cpp:687: Can't find data source streetcomplete_selected_quests for layer streetcomplete_selected_quests
05-27 10:43:44.490 32074 32141 D Tangram : WARNING sceneLoader.cpp:687: Can't find data source streetcomplete_quests for layer streetcomplete_quests
05-27 10:43:44.490 32074 32141 D Tangram : WARNING sceneLoader.cpp:687: Can't find data source streetcomplete_geometry for layer streetcomplete_geometry
05-27 10:43:44.490 32074 32141 D Tangram : WARNING tileManager.cpp:204: add source jawg
05-27 10:43:44.496 32074 32141 D Tangram : TANGRAM scene.cpp:427: Fetch texture asset:///map_theme/jawg/images/oneway_arrow@2x.png
05-27 10:43:44.496 32074 32141 D Tangram : TANGRAM scene.cpp:427: Fetch texture asset:///map_theme/jawg/images/quest_dot@2x.png
05-27 10:43:44.496 32074 32141 D Tangram : TANGRAM scene.cpp:427: Fetch texture file:///data/user/0/de.westnordost.streetcomplete/files/quests.png
05-27 10:43:44.496 32074 32140 D Tangram : TANGRAM scene.cpp:432: Received texture asset:///map_theme/jawg/images/oneway_arrow@2x.png
05-27 10:43:44.496 32074 32140 D Tangram : WARNING texture.cpp:172: OpenGL ES doesn't support texture repeat wrapping for NPOT textures nor mipmap textures
05-27 10:43:44.496 32074 32140 D Tangram : WARNING texture.cpp:173: Falling back to LINEAR Filtering
05-27 10:43:44.496 32074 32140 D Tangram : TANGRAM scene.cpp:432: Received texture asset:///map_theme/jawg/images/quest_dot@2x.png
05-27 10:43:44.497 32074 32142 D Tangram : TANGRAM scene.cpp:312: Prefetch tiles for View: 1080.000000x2340.000000 / zoom:16.560671 lon:7.483709 lat:51.495955
05-27 10:43:44.497 32074 32140 D Tangram : TANGRAM scene.cpp:432: Received texture file:///data/user/0/de.westnordost.streetcomplete/files/quests.png
05-27 10:43:44.557 32074 32140 D Tangram : WARNING texture.cpp:172: OpenGL ES doesn't support texture repeat wrapping for NPOT textures nor mipmap textures
05-27 10:43:44.557 32074 32140 D Tangram : WARNING texture.cpp:173: Falling back to LINEAR Filtering
05-27 10:43:44.557 32074 32142 D Tangram : TANGRAM scene.cpp:312: Prefetch tiles for View: 1080.000000x2340.000000 / zoom:16.560671 lon:7.483709 lat:51.495955
05-27 10:43:44.666 32074 32140 D Tangram : WARNING networkDataSource.cpp:93: URL Callback for deleted TileSource 'https://tile.jawg.io/streets-v2/16/34131/21794.pbf?access-token=mL9X4SwxfsAGfojvGiion9hPKuGLKxPbogLyMbtakA2gJ3X88gcVlTSQ7OD6OfbZ&'
05-27 10:43:44.667 32074 32140 D Tangram : WARNING networkDataSource.cpp:93: URL Callback for deleted TileSource 'https://tile.jawg.io/streets-v2/16/34130/21794.pbf?access-token=mL9X4SwxfsAGfojvGiion9hPKuGLKxPbogLyMbtakA2gJ3X88gcVlTSQ7OD6OfbZ&'
05-27 10:43:45.324  3514 31402 D WebSocketConnection: Sending keep alive...
05-27 10:43:45.326  3514 31401 D WebSocketConnection: Sending keep alive...
05-27 10:43:45.327  3514 31402 W AlarmSleepTimer: Setting alarm to wake up in 55000ms.
05-27 10:43:45.331  3514 31401 W AlarmSleepTimer: Setting alarm to wake up in 55000ms.
05-27 10:43:45.720  1891  1891 W native  : event_matcher.cc:56 Frame 83457334931000 earlier than last matched event: 83457335618000; dropping
matkoniecz commented 3 years ago

Do you mean insert a photo via link? Or is there another way to add a photo to a note?

I meant by phone in general (in theory your phone-taking software can be crashing or was disabled...) - unlikely but I more than once did something weird and caused entirely expected bug.

matkoniecz commented 3 years ago

adb logcat / open StreetComplete / Add Note / Add Photo

Is it maybe possible to paste just part of log appearing after you press "Add Photo"? (maybe there are hints what is going wrong already and someone else will spot it, but nothing is visible to me)

N-i-o commented 3 years ago

I meant by phone in general (in theory your phone-taking software can be crashing or was disabled...) - unlikely but I more than once did something weird and caused entirely expected bug.

The phone basically takes photos, yes. I can also take photos from other apps, such as Signal.

N-i-o commented 3 years ago

Is it maybe possible to paste just part of log appearing after you press "Add Photo"? (maybe there are hints what is going wrong already and someone else will spot it, but nothing is visible to me)

Basically, a lot of logs appear. This happens when I press Add Photo 3 times in a row.

05-27 11:06:09.488  1891  1891 W native  : event_matcher.cc:56 Frame 84358594453000 earlier than last matched event: 84358594741000; dropping
05-27 11:06:09.653  1891  1891 W native  : event_matcher.cc:56 Frame 84358759886000 earlier than last matched event: 84358760228000; dropping
05-27 11:06:10.111  1891  1891 W native  : event_matcher.cc:56 Frame 84359217181000 earlier than last matched event: 84359217681000; dropping
matkoniecz commented 3 years ago

Thanks!

"earlier than last matched event" has zero matches in search engines, great.

Straightforward searching failed, I guess that the next step would be to locate event_matcher.cc code and try to understand why event is dropped. Unless someone knows what is going on here. (and that assumes that it is event relevant)

matkoniecz commented 3 years ago

Basically, a lot of logs appear. This happens when I press Add Photo 3 times in a row.

Just to check: just this three lines, with nothing between them? I see " a lot of logs appear", so please:

(1) note where log is (maybe copy it) (2) press "Add photo" (3) copy log again (4) paste everything new that appeared since (1)

N-i-o commented 3 years ago

Basically, a lot of logs appear. This happens when I press Add Photo 3 times in a row.

Just to check: just this three lines, with nothing between them? I see " a lot of logs appear", so please:

Generally, "adb logcat" has a lot of logs

(1) note where log is (maybe copy it) (2) press "Add photo" (3) copy log again (4) paste everything new that appeared since (1)

(1): 11:30:00.133 (2): 11:30:07.194

05-27 11:30:00.133  4907  4907 D ExposureNotification: Advertising active, status=0
05-27 11:30:07.194  1921  1921 W native  : event_matcher.cc:56 Frame 227905187000 earlier than last matched event: 227906049000; dropping
05-27 11:30:10.646  4907  4907 D ExposureNotification: ScannerService.start: Intent { flg=0x4 cmp=de.corona.tracing/org.microg.gms.nearby.exposurenotification.ScannerService (has extras) }
05-27 11:30:10.646  4907  4907 I ExposureNotification: Starting scanner for service 0000fd6f-0000-1000-8000-00805f9b34fb for 20000ms
05-27 11:30:10.650  4907  4907 D BluetoothAdapter: isLeEnabled(): ON
05-27 11:30:10.653  1994  2681 I bt_stack: [INFO:gatt_api.cc(947)] GATT_Register ec2ef455-7c0d-8cd7-6147-4ed997429c08
05-27 11:30:10.653  1994  2681 I bt_stack: [INFO:gatt_api.cc(967)] allocated gatt_if=6
05-27 11:30:10.654  4907  4970 D BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0
N-i-o commented 3 years ago

[...] I guess that the next step would be to locate event_matcher.cc code [...]

https://chromium.googlesource.com/chromium/src/+/refs/heads/main/extensions/common/event_matcher.cc

BTW: I have 2 chrome based browsers installed, Bromite and Vanadium. Bromite I have uninstalled, Vanadium disabled (not possible to uninstall). Then restarted the phone. Same result.

tapetis commented 3 years ago

Does the Open Location in another app feature work on your phone? It can be accessed by holding your finger on the map and then tapping the second option in the menu that pops up. If it does not work, a toast containing an error message should be displayed.

N-i-o commented 3 years ago

Does the Open Location in another app feature work on your phone?

Yes, that works. I can also add notes. Only when I press add photo, nothing happens.

Another thing I noticed, the app doesn't ask for permission to access the camera. All other apps that access the camera ask for permission.

tapetis commented 3 years ago

Another thing I noticed, the app doesn't ask for permission to access the camera.

This is the expected behavior. StreetComplete delegates taking the photo to the existing camera app installed on your phone. Other apps that ask for the camera permission, such as Signal, use Android's Camera API to take the photo themselves. While this allows for more flexibility in the user interface and more special features, it is much more complex to implement.

Which camera app (e.g. Google Camera) is installed on your phone?

N-i-o commented 3 years ago

Which camera app (e.g. Google Camera) is installed on your phone?

The thing about the camera is a crucial clue. I had deactivated the standard GrapheneOS camera and installed the Google camera.

After I enabled the default camera app again, everything works. Thanks for the tip!

Is it possible to include a check if the camera works?

tapetis commented 3 years ago

Is it possible to include a check if the camera works?

It would definitely be possible to display an error message if no camera app is found. Currently, StreetComplete just fails silently in this case.

I am still wondering why the Google Camera app did not work on your device, though. Maybe it is just buggy when used together with GrapheneOS.

N-i-o commented 3 years ago

I am still wondering why the Google Camera app did not work on your device, though. Maybe it is just buggy when used together with GrapheneOS.

GrapheneOS is completely google free, so no google services either. The google camera app requires either microG or Gcam service provider. This is already a tinkering and probably therefore not so well integrated into the system.

tapetis commented 3 years ago

How should StreetComplete deal with the problem if no camera app can be found? I can think of the following two options:

  1. Show a Toast containing an error message. This is currently done when no email client or map application can be found.
  2. Hide the add photo button when no suitable Activity for the MediaStore.ACTION_IMAGE_CAPTURE Intent can be found.

I am undecided which option is better. A short error message displayed in a Toast does not really tell the user how to fix the underlying problem. However, the lack of the add photo button can also be confusing when the user's device actually has a camera.

The first option has the advantage that it would be possible to remove the android.media.action.IMAGE_CAPTURE action from the <queries> element in the AndroidManifest. Who knows what restrictions there will be for declaring increased package visibility in the future. It is already known that Google Play will soon restrict which apps can request the QUERY_ALL_PACKAGES permission.

matkoniecz commented 3 years ago

First is in my opinion clearly superior - lets user know that something is going wrong rather than mysteriously hiding feature.

I think that it is safe to assume that smartphone has a camera?

I would expect that error will happen if user did something weird and it is likely that they have some ability to debug it. Maybe recommend reenabling standard photo-taking app?