Ruthven added a comment.
Restricted Application added a subscriber: Liuxinyu970226.


  Actually I tested it with the bot account //and// the sysop account, both 
resulting in the //You are not allowed to change the proofreading status of 
this page.// error when creating a page in ns:Page.
  Thus it seems that it is not possible to create or modify ns:Page using 
pywikibot?
  
  command line:
  
  > pwb.py transferbot -family:wikisource -lang:it -tolang:nap -overwrite -ql:4 
-prefixindex:'Pagina:Canzone_e_Ariette_nove.djvu'
  
  output:
  
      Page transfer configuration
      ---------------------------
      Source: APISite("it", "wikisource")
      Target: APISite("nap", "wikisource")
    
      Pages to transfer: -prefixindex:Pagina:Canzone_e_Ariette_nove.djvu -ql:4
    
      Prefix for transferred pages:
    
    Moving [[Pagina:Canzone e Ariette nove.djvu/1]] to [[nap:Paggena:Canzone e 
Ariette nove.djvu/1]]...
    Sleeping for 9.2 seconds, 2020-01-15 13:26:38
    
    WARNING: API error proofreadpage_notallowedtext: You are not allowed to 
change the proofreading status of this page.
    Traceback (most recent call last):
    File "/srv/paws/pwb/pywikibot/page.py", line 107, in handle
      func(self, *args, **kwargs)
    File "/srv/paws/pwb/pywikibot/page.py", line 1293, in _save
      watch=watch, bot=botflag, **kwargs)
    File "/srv/paws/pwb/pywikibot/site.py", line 1320, in callee
      return fn(self, *args, **kwargs)
    File "/srv/paws/pwb/pywikibot/site.py", line 5267, in editpage
      result = req.submit()
    File "/srv/paws/pwb/pywikibot/data/api.py", line 2079, in submit
      raise APIError(**result['error'])
    pywikibot.data.api.APIError: proofreadpage_notallowedtext: You are not 
allowed to change the proofreading status of this page. [help:See 
https://nap.wikisource.org/w/api.php for API usage. Subscribe to the 
mediawiki-api-announce mailing list at 
<https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for 
notice of API deprecations and breaking changes.]
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
    File "/srv/paws/pwb/pwb.py", line 250, in <module>
      if not main():
    File "/srv/paws/pwb/pwb.py", line 243, in main
      run_python_file(filename, [filename] + args, argvu, file_package)
    File "/srv/paws/pwb/pwb.py", line 95, in run_python_file
      main_mod.__dict__)
    File "/srv/paws/pwb/scripts/transferbot.py", line 179, in <module>
      main()
    File "/srv/paws/pwb/scripts/transferbot.py", line 171, in main
      targetpage.put(text, summary=summary)
    File "/srv/paws/pwb/pywikibot/tools/__init__.py", line 1738, in wrapper
      return obj(*__args, **__kw)
    File "/srv/paws/pwb/pywikibot/tools/__init__.py", line 1738, in wrapper
      return obj(*__args, **__kw)
    File "/srv/paws/pwb/pywikibot/page.py", line 1360, in put
      **kwargs)
    File "/srv/paws/pwb/pywikibot/tools/__init__.py", line 1738, in wrapper
      return obj(*__args, **__kw)
    File "/srv/paws/pwb/pywikibot/tools/__init__.py", line 1738, in wrapper
      return obj(*__args, **__kw)
    File "/srv/paws/pwb/pywikibot/page.py", line 1282, in save
      cc=apply_cosmetic_changes, quiet=quiet, **kwargs)
    File "/srv/paws/pwb/pywikibot/page.py", line 128, in wrapper
      handle(func, self, *args, **kwargs)
    File "/srv/paws/pwb/pywikibot/page.py", line 120, in handle
      raise pywikibot.OtherPageSaveError(self, err)
    pywikibot.exceptions.OtherPageSaveError: Edit to page [[nap:Paggena:Canzone 
e Ariette nove.djvu/1]] failed:
    proofreadpage_notallowedtext: You are not allowed to change the 
proofreading status of this page. [help:See 
https://nap.wikisource.org/w/api.php for API usage. Subscribe to the 
mediawiki-api-announce mailing list at 
&lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for 
notice of API deprecations and breaking changes.]
    CRITICAL: Exiting due to uncaught exception <class 
'pywikibot.exceptions.OtherPageSaveError'>

TASK DETAIL
  https://phabricator.wikimedia.org/T173385

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ruthven
Cc: Liuxinyu970226, Ruthven, pywikibot-bugs-list, Arjunaraoc, Tpt, Aklapper, 
Mpaa, Zkhalido, Viztor, DannyS712, Wenyi, Xover, Tbscho, MayS, Mdupont, JJMC89, 
Tshrinivasan, Dvorapa, Altostratus, Avicennasis, Info-farmer, mys_721tx, 
Candalua, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to