Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
create_isbn_edition.py script contains known issues like listed below.
Create phab tasks for such problems which are not related to bot owners but
the script itself which sh/could be solved.
**Known Problems:**
- Unknown ISBN, e.g. 9789400012820
- If there is no ISBN data available for an edition either returns no output
(goob = Google Books), or an error message (wiki, openl). The script is taking
care of both. Try another library instance.
- Only 6 specific ISBN attributes are listed by the webservice(s), missing
are e.g.: place of publication, number of pages
- Some digital libraries have more registrations than others.
- Some digital libraries have data quality problems.
- Not all ISBN atttributes have data values (authors, publisher, date of
publication), language can be missing at the digital library.
- How to add still more digital libraries?
- This would require an additional isbnlib module
- Does the KBR has a public ISBN service (Koninklijke Bibliotheek van
Belgiƫ)?
- The script uses multiple webservice calls; script might take time, but it
is automated.
- Need to manually amend ISBN items that have no author, publisher, or other
required data
- You could use another digital library
- Which other services to use?
- BibTex service is currently unavailable
- Filter for work properties: https://www.wikidata.org/wiki/Q63413107
::
['9781282557246', '9786612557248', '9781847196057', '9781847196040'] P5331
<https://phabricator.wikimedia.org/P5331>: OCLC identification code for work
793965595; should only have P243 <https://phabricator.wikimedia.org/P243>)
P8383 <https://phabricator.wikimedia.org/P8383>: Goodreads identification code
for work 13957943; should only have P2969
<https://phabricator.wikimedia.org/P2969>)
- ERROR: an HTTP error has ocurred e.g. (503) Service Unavailable
- error: externally-managed-environment
``isbnlib-kb`` cannot be installed via :code:`pip install` command. It
raises ``error: externally-managed-environment`` because this environment is
externally managed.
To install Python packages system-wide, try :samp:`apt install
python3-{xyz}`, where *xyz* is the package you are trying to install.
If you wish to install a non-Debian-packaged Python package, create a
virtual environment using :code:`python3 -m venv path/to/venv`. Then use
:code:`path/to/venv/bin/python` and :code:`path/to/venv/bin/pip`. Make sure you
have ``python3-full`` installed.
If you wish to install a non-Debian packaged Python application, it may be
easiest to use :samp:`pipx install {xyz}`, which will manage a virtual
environment for you. Make sure you have ``pipx`` installed.
.. seealso:: See :pylib:`venv` for more information about virtual
environments.
TASK DETAIL
https://phabricator.wikimedia.org/T379492
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Geertivp, Xqt, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho,
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]