Giter Club home page Giter Club logo

toollabs's Issues

[claim_templates][Enhancement] Make log reviewer-friendly

As pointed out by Andy Mabbett (Pigsonthewing), there are false positives, so reviewing (or at least making it easy for people to review) is needed.

I want to regularly review all edits made from ja:user:NoclaimsBot/Template claim

By "reviewing", I mean scrolling through the list and spending 0.2 second per item checking whether it sounds like a false-positive or not.

The current log is extremely hard to read fast:

Working on Tokyo Central Park using Template:Infobox park
Working on Osaka Green Hill using Template:Infobox park
Working on Joe Biden using Template:Infobox park

I could go through such a list 20 times faster:

[Template:Infobox park] Tokyo Central Park
[Template:Infobox park] Osaka Green Hill
[Template:Infobox park] Joe Biden

Ideally, the log would be in HTML format, so that in case of doubt I can check the article to check whether it is really a park, and fix the item if it is something else.

Also, splitting by language would allow me to concentrate on my pet language/templates, without the log being "polluted" by other languages.

CRITICAL: Exiting due to uncaught exception <class 'PermissionError'>

when trying to run wikidata_uploader.py I get the error:

File size 1407316 is smaller than 80000000 so not using chunked uploading Traceback (most recent call last): File "C:\Users\VKO010\OneDrive - KB nationale bibliotheek\Documents\scripts\wikidata uploader\wikidata_uploader.py", line 606, in <module> main() File "C:\wikidata_uploader.py", line 603, in main wikidataUploaderBot.run() File "C:\wikidata_uploader.py", line 219, in run self.uploadPainting(metadata) File "C:\wikidata_uploader.py", line 327, in uploadPainting uploadsuccess = self.site.upload(imagefile, source_filename=t.name, report_success=False, comment=comment) File "C:\Python39\lib\site-packages\pywikibot\tools\__init__.py", line 1480, in wrapper return obj(*__args, **__kw) File "C:\Python39\lib\site-packages\pywikibot\site\__init__.py", line 4568, in upload with open(source_filename, 'rb') as f: PermissionError: [Errno 13] Permission denied: 'C:\\Users\\VKO010\\AppData\\Local\\Temp\\tmpk3jzvsy_\' CRITICAL: Exiting due to uncaught exception <class 'PermissionError'>

This is Line 329

I've changed the deprecated "ignore_warnings=True" to "report_success=False"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.