Wikidata not edited when uploading from Nearby
See original GitHub issueLast weekend I went to a lot of places with Nearby as my guide. In the Nearby screen, after touching +, I used both the camera button and the gallery button, with always the same result: No changes to Wikidata.
I am using this commit of the explore branch which contains all commits from master, so I guess I should have wikidata edits (except if the explore branch has broken the wikidata feature, which is unlikely).
Logcat:
06-16 20:32:17.923 18062 18062 I ContributionController: Image selected
06-16 20:32:17.928 790 1855 I ActivityManager: START u0 {act=android.intent.action.SEND typ=image/jpeg flg=0x1 cmp=fr.free.nrw.commons.debug/fr.free.nrw.commons.upload.ShareActivity clip={image/jpeg U:content://media/external/images/media/80958} (has
extras)} from uid 10194 on display 0
06-16 20:32:18.002 18062 18062 D NearbyActivity: GPS is enabled
06-16 20:32:18.086 18062 18182 I EGLConfigChooser: In emulator: false
06-16 20:32:18.132 790 790 E NotificationService: Suppressing notification from package by user request.
06-16 20:32:18.162 18062 18182 W mbgl : {GLThread 2209}[OpenGL]: Not using Vertex Array Objects
06-16 20:32:18.326 18062 18062 V ConnectivityReceiver: Connected: true
06-16 20:32:18.507 790 790 D GpsNetInitiatedHandler: location enabled :true
06-16 20:32:18.511 790 790 D GpsNetInitiatedHandler: location enabled :true
06-16 20:32:18.526 1670 11709 W ctxmgr : [AclManager]No 2 for (accnt=account#410244660#, com.google.android.gms(10033):UserLocationProducer, vrsn=12685000, 0, 3pPkg = null , 3pMdlId = null , pid = 1670). Was: 2 for 1, account#410244660#
06-16 20:32:18.530 1670 11709 W ctxmgr : [AclManager]No 2 for (accnt=account#1905918161#, com.google.android.gms(10033):UserLocationProducer, vrsn=12685000, 0, 3pPkg = null , 3pMdlId = null , pid = 1670). Was: 2 for 1, account#1905918161#
06-16 20:32:18.570 18062 18062 I AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
06-16 20:32:18.654 18062 18073 I art : Background sticky concurrent mark sweep GC freed 1554(90KB) AllocSpace objects, 15(2MB) LOS objects, 19% free, 10MB/13MB, paused 12.665ms total 49.733ms
06-16 20:32:18.748 24445 24445 D SLX GpsReciver: android.location.MODE_CHANGED
06-16 20:32:18.761 24445 24445 D SLX GpsReciver: android.location.PROVIDERS_CHANGED
06-16 20:32:18.768 18062 18062 D ShareActivity: This was initiated by a direct upload from Nearby
06-16 20:32:18.785 1670 24526 I GCoreUlr: Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras
=Bundle[{receiverAction=android.location.PROVIDERS_CHANGED}]
06-16 20:32:18.787 23190 23190 W SearchServiceCore: Abort, client detached.
06-16 20:32:18.802 1670 23900 I GCoreUlr: WorldUpdater received intent Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) } wit
h receiverAction android.location.PROVIDERS_CHANGED
06-16 20:32:18.808 18062 18062 D ShareActivity: Uri: content://media/external/images/media/80958
06-16 20:32:18.811 18062 18062 D ShareActivity: Ext storage dir: /storage/emulated/0
06-16 20:32:18.825 18062 18062 W ShareActivity: not ready for preprocessing: useNewPermissions=true storage=false location=true
06-16 20:32:18.826 18062 18062 D FileProcessor: Calling GPSExtractor
06-16 20:32:18.856 18062 18062 I ExifInterface_JNI: Raw image not detected
06-16 20:32:18.872 18062 18062 W ExifInterface: Skip the tag entry since tag number is not defined: 34864
06-16 20:32:18.873 18062 18062 W ExifInterface: Skip the tag entry since tag number is not defined: 2
06-16 20:32:18.879 1670 1670 W Nearby : Bind call too late - someone already tried to get: interface bghk -- metadata{ service_id: 0 }
06-16 20:32:18.914 18062 18062 D GPSExtractor: EXIF data has no location info
06-16 20:32:18.915 18062 18062 D GPSExtractor: Gps pref set to: false
06-16 20:32:18.957 18062 18062 D FileProcessor: Filepath: /storage/emulated/0/nico/commons/DSC_0057.JPG
06-16 20:32:18.958 18062 18062 D FileProcessor: filePath/storage/emulated/0/nico/commons/DSC_0057.JPG
06-16 20:32:18.963 18062 18062 D FileProcessor: folderTime Number:20
06-16 20:32:18.978 18062 18062 D FileProcessor: fild date:1529148019000 time of creation1529148124000
06-16 20:32:18.985 18062 18062 W System.err: java.io.FileNotFoundException: No content provider: /storage/emulated/0/nico/commons/DSC_0244.JPG
06-16 20:32:18.986 18062 18062 W System.err: at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1135)
06-16 20:32:18.986 18062 18062 W System.err: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:986)
06-16 20:32:18.986 18062 18062 W System.err: at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:839)
06-16 20:32:18.987 18062 18062 W System.err: at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:793)
06-16 20:32:18.987 18062 18062 W System.err: at fr.free.nrw.commons.upload.FileProcessor.findOtherImages(FileProcessor.java:158)
06-16 20:32:18.987 18062 18062 W System.err: at fr.free.nrw.commons.upload.FileProcessor.processFileCoordinates(FileProcessor.java:122)
06-16 20:32:18.987 18062 18062 W System.err: at fr.free.nrw.commons.upload.ShareActivity.onCreate(ShareActivity.java:308)
06-16 20:32:18.987 18062 18062 W System.err: at android.app.Activity.performCreate(Activity.java:6684)
06-16 20:32:18.987 18062 18062 W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
06-16 20:32:18.987 18062 18062 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2637)
06-16 20:32:18.987 18062 18062 W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
06-16 20:32:18.987 18062 18062 W System.err: at android.app.ActivityThread.-wrap12(ActivityThread.java)
06-16 20:32:18.987 18062 18062 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
06-16 20:32:18.987 18062 18062 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
06-16 20:32:18.988 18062 18062 W System.err: at android.os.Looper.loop(Looper.java:154)
06-16 20:32:18.988 18062 18062 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6186)
06-16 20:32:18.988 18062 18062 W System.err: at java.lang.reflect.Method.invoke(Native Method)
06-16 20:32:18.988 18062 18062 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
06-16 20:32:18.988 18062 18062 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
06-16 20:32:18.989 18062 18062 D FileProcessor: fild date:1529148124000 time of creation1529148124000
06-16 20:32:18.991 18062 18062 W System.err: java.io.FileNotFoundException: No content provider: /storage/emulated/0/nico/commons/DSC_0057.JPG
06-16 20:32:18.991 18062 18062 W System.err: at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1135)
06-16 20:32:18.991 18062 18062 W System.err: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:986)
06-16 20:32:18.991 18062 18062 W System.err: at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:839)
06-16 20:32:18.991 18062 18062 W System.err: at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:793)
06-16 20:32:18.991 18062 18062 W System.err: at fr.free.nrw.commons.upload.FileProcessor.findOtherImages(FileProcessor.java:158)
06-16 20:32:18.991 18062 18062 W System.err: at fr.free.nrw.commons.upload.FileProcessor.processFileCoordinates(FileProcessor.java:122)
06-16 20:32:18.992 18062 18062 W System.err: at fr.free.nrw.commons.upload.ShareActivity.onCreate(ShareActivity.java:308)
06-16 20:32:18.992 18062 18062 W System.err: at android.app.Activity.performCreate(Activity.java:6684)
06-16 20:32:18.992 18062 18062 W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
06-16 20:32:18.992 18062 18062 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2637)
06-16 20:32:18.992 18062 18062 W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
06-16 20:32:18.992 18062 18062 W System.err: at android.app.ActivityThread.-wrap12(ActivityThread.java)
06-16 20:32:18.992 18062 18062 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
06-16 20:32:18.992 18062 18062 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
06-16 20:32:18.992 18062 18062 W System.err: at android.os.Looper.loop(Looper.java:154)
06-16 20:32:18.992 18062 18062 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6186)
06-16 20:32:18.992 18062 18062 W System.err: at java.lang.reflect.Method.invoke(Native Method)
06-16 20:32:18.993 18062 18062 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
06-16 20:32:18.993 18062 18062 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
06-16 20:32:19.097 18062 18062 I TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
06-16 20:32:19.103 18062 18062 I TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
06-16 20:32:19.192 18062 18062 D SingleUploadFragment: Image title: 三鷹郵便局, image desc: post office, image categories:
06-16 20:32:19.205 18062 18062 D SingleUploadFragment: CC BY-SA 3.0
06-16 20:32:19.208 18062 18062 D SingleUploadFragment: Position: 2 Attribution-ShareAlike 3.0
06-16 20:32:19.247 18062 18062 I Choreographer: Skipped 69 frames! The application may be doing too much work on its main thread.
06-16 20:32:19.274 1670 23900 I GCoreUlr: WorldUpdater:android.location.PROVIDERS_CHANGED: Ensuring that reporting is active for [account#-1#]
06-16 20:32:19.547 790 790 D GpsNetInitiatedHandler: location enabled :true
06-16 20:32:19.555 790 790 D GpsNetInitiatedHandler: location enabled :true
06-16 20:32:19.609 1670 11709 W ctxmgr : [AclManager]No 2 for (accnt=account#410244660#, com.google.android.gms(10033):UserLocationProducer, vrsn=12685000, 0, 3pPkg = null , 3pMdlId = null , pid = 1670). Was: 2 for 1, account#410244660#
06-16 20:32:19.614 1670 11709 W ctxmgr : [AclManager]No 2 for (accnt=account#1905918161#, com.google.android.gms(10033):UserLocationProducer, vrsn=12685000, 0, 3pPkg = null , 3pMdlId = null , pid = 1670). Was: 2 for 1, account#1905918161#
06-16 20:32:19.675 790 800 I art : Background sticky concurrent mark sweep GC freed 74249(5MB) AllocSpace objects, 15(1328KB) LOS objects, 18% free, 31MB/38MB, paused 2.732ms total 112.298ms
06-16 20:32:19.784 790 812 I ActivityManager: Displayed fr.free.nrw.commons.debug/fr.free.nrw.commons.upload.ShareActivity: +1s725ms
06-16 20:32:19.819 23102 23102 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
06-16 20:32:19.835 18062 18062 D GPSExtractor$MyLocation: Provider gps enabled
06-16 20:32:19.866 24445 24445 D SLX GpsReciver: android.location.MODE_CHANGED
06-16 20:32:19.868 23102 23102 I ShortcutsDataManager: startImportContentTask()
06-16 20:32:19.868 23102 23102 I ShortcutsDataManager: onImportAborted()
06-16 20:32:19.905 24445 24445 D SLX GpsReciver: android.location.PROVIDERS_CHANGED
06-16 20:32:19.956 23190 23190 W SearchServiceCore: Abort, client detached.
06-16 20:32:19.962 1670 24526 I GCoreUlr: Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras
=Bundle[{receiverAction=android.location.PROVIDERS_CHANGED}]
06-16 20:32:19.996 24298 24705 I JobManager: Found pending job request{id=4941, tag=EvernoteFailedVisitJob, transient=false}, canceling
06-16 20:32:20.076 1670 23900 I GCoreUlr: WorldUpdater received intent Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) } wit
h receiverAction android.location.PROVIDERS_CHANGED
06-16 20:32:20.152 23102 23102 I EmptyEmojiDataEx: onActivate()
06-16 20:32:20.244 24234 24234 V StateManager: destroy
06-16 20:32:20.618 1670 23900 I GCoreUlr: WorldUpdater:android.location.PROVIDERS_CHANGED: Ensuring that reporting is active for [account#-1#]
06-16 20:32:20.627 18062 18062 D GPSExtractor$MyLocation: Provider gps enabled
06-16 20:32:20.629 790 790 D GpsNetInitiatedHandler: location enabled :true
06-16 20:32:20.633 790 790 D GpsNetInitiatedHandler: location enabled :true
06-16 20:32:20.649 1670 24274 W ctxmgr : [AclManager]No 2 for (accnt=account#410244660#, com.google.android.gms(10033):UserLocationProducer, vrsn=12685000, 0, 3pPkg = null , 3pMdlId = null , pid = 1670). Was: 2 for 1, account#410244660#
06-16 20:32:20.653 1670 24274 W ctxmgr : [AclManager]No 2 for (accnt=account#1905918161#, com.google.android.gms(10033):UserLocationProducer, vrsn=12685000, 0, 3pPkg = null , 3pMdlId = null , pid = 1670). Was: 2 for 1, account#1905918161#
06-16 20:32:21.031 24445 24445 D SLX GpsReciver: android.location.MODE_CHANGED
06-16 20:32:21.064 24445 24445 D SLX GpsReciver: android.location.PROVIDERS_CHANGED
06-16 20:32:21.105 1670 24526 I GCoreUlr: Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras
=Bundle[{receiverAction=android.location.PROVIDERS_CHANGED}]
06-16 20:32:21.119 23190 23190 W SearchServiceCore: Abort, client detached.
06-16 20:32:21.151 1670 23900 I GCoreUlr: WorldUpdater received intent Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) } wit
h receiverAction android.location.PROVIDERS_CHANGED
06-16 20:32:21.233 24298 24705 D JobProxy24: Schedule periodic jobInfo success, request{id=4942, tag=EvernoteFailedVisitJob, transient=false}, interval 00:30:00, flex 00:30:00
06-16 20:32:21.594 1670 23900 I GCoreUlr: WorldUpdater:android.location.PROVIDERS_CHANGED: Ensuring that reporting is active for [account#-1#]
06-16 20:32:21.677 18062 18062 D GPSExtractor$MyLocation: Provider gps enabled
06-16 20:32:21.680 790 790 D GpsNetInitiatedHandler: location enabled :true
06-16 20:32:21.684 790 790 D GpsNetInitiatedHandler: location enabled :true
Android version: LineageOS 7.1.2
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Wikidata:Tools/OpenRefine/Editing/Uploading
This page explains how to upload your edits to Wikidata. It assumes you already have a created a Wikidata schema in your OpenRefine...
Read more >ARL White Paper on Wikidata: Opportunities and ...
Explore and experiment with Wikidata editing tools such as. Mix'n'match, batch uploading, and database dumps.15.
Read more >Editing Wikidata - The University of Edinburgh
This is a guide for adding a picture to Wikidata for entries which do not already have one. The picture must be uploaded...
Read more >Mary Vaux Walcott Illustrations - Wikipedia
During this event participants will learn what Wikidata is, why Smithsonian units are editing Wikidata, and how to edit Wikidata.
Read more >Prevent string matching only in OpenRefine when adding to ...
I am often faced with OpenRefine edits in Wikidata which were clearly ... (for instance poking around or looking at the catalog upload....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just uploaded 3 pictures via Nearby on Vivek’s wikidataTest branch. The first two succeeded and the third one is the topic of this other issue: #1688
@misaochan Wikidata entities are global, because Wikidata stores concepts, that exist independently of human languages. For instance, the Niagara Falls are a thing independently of languages, and so are its properties such as its height, its coordinates or its picture. Labels are only here to help humans quickly get an idea of what the thing is. So our P18 addition request should not depend on the language of the user.