Thu, Apr 21
The lack of an uptick in new weekly editors on fawiki during the ip block indicates to me a big difference from ptwiki's implementation. My lack of farsi prevents a deeper investigation, but in ptwiki the interface was hacked to point logged out users at the point of edit. The edit button was changed to point directly to the log-in page and banner explaining the need to create an account linking to the reasoning was put there.
Mar 14 2022
@Isaac indeed. Fixed the link to a permalink to avoid future issues.
Mar 10 2022
Mar 9 2022
Feb 15 2022
6.6.5 was merged.
Feb 9 2022
Feb 6 2022
Feb 5 2022
Jan 13 2022
Other bank transfer methods are also erroring for me.
Jan 12 2022
@EMartin its before we actually make the transaction.
Dec 24 2021
All for the upgrade but just for the record I don't see a path for exploitation here. All requests to openrefine go through the proxy and only authenticated requests pass. And if you're authenticated into a user server, well RCE is the main feature for jupyterhub.
Dec 22 2021
LGTM. Opinionated ways to run the more basic tasks is a good way to reduce the burden on new users.
Dec 15 2021
I guess portaudio19-dev is the missing apt package here.
Dec 7 2021
Dec 2 2021
Thanks to @yuvipanda on the assistance on this. Would've taken me hours to understand it.
Nov 29 2021
Nov 27 2021
Nov 26 2021
Just noting we received a report of this bug in the Portuguese wikipedia telegram group today.
Nov 25 2021
I had to rollback as the new Host validation in openrefine 3.5 broke it with the current settings. I'm not quite sure what best to do here, since we're already proxying it through the jupyter server we could disable the validation. But I think I'll set it up to have the proper value in the next few days.
Nov 24 2021
Nov 18 2021
Nov 17 2021
Merged and deployed
[2021-11-17 13:47:56,895: ERROR/ForkPoolWorker-14] Task video2commons.backend.worker.main[ea3650a1-4dcd-4341-95a3-7afa84e43b94] raised unexpected: FileNotFoundError(2, 'No such file or directory') Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/celery/app/trace.py", line 450, in trace_task R = retval = fun(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/celery/app/trace.py", line 731, in __protected_call__ return self.run(*args, **kwargs) File "/srv/v2c/video2commons/backend/worker.py", line 132, in main pywikibot.Site('commons', 'commons', user=username).login() File "/usr/local/lib/python3.7/dist-packages/pywikibot/site/_apisite.py", line 358, in login if self.userinfo['name'] == self.user(): File "/usr/local/lib/python3.7/dist-packages/pywikibot/site/_apisite.py", line 465, in userinfo uidata = uirequest.submit() File "/usr/local/lib/python3.7/dist-packages/pywikibot/data/api.py", line 1739, in submit self._add_defaults() File "/usr/local/lib/python3.7/dist-packages/pywikibot/data/api.py", line 1245, in _add_defaults and self.site.mw_version >= '1.25wmf5'): File "/usr/local/lib/python3.7/dist-packages/pywikibot/site/_apisite.py", line 953, in mw_version mw_ver = MediaWikiVersion(self.version()) File "/usr/local/lib/python3.7/dist-packages/pywikibot/site/_apisite.py", line 929, in version version = self.siteinfo.get('generator', expiry=1).split(' ') File "/usr/local/lib/python3.7/dist-packages/pywikibot/site/_siteinfo.py", line 296, in get preloaded = self._get_general(key, expiry) File "/usr/local/lib/python3.7/dist-packages/pywikibot/site/_siteinfo.py", line 237, in _get_general default_info = self._get_siteinfo(props, expiry) File "/usr/local/lib/python3.7/dist-packages/pywikibot/site/_siteinfo.py", line 162, in _get_siteinfo data = request.submit() File "/usr/local/lib/python3.7/dist-packages/pywikibot/data/api.py", line 2022, in submit self._write_cache(self._data) File "/usr/local/lib/python3.7/dist-packages/pywikibot/data/api.py", line 2014, in _write_cache with open(self._cachefile_path(), 'wb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/srv/v2c/apicache-py3/644d1c68a83935b749c8608f05fd23e5e5c1e18f5dce61a6c873727d7791a896'
Not sure how to debug this, is this perhaps a known issue with pywikibot?
Nov 4 2021
Oct 29 2021
Oct 28 2021
This error should be fixed with the upgrade to python3.
yeah, let me see if I can get python3 working on the backend
[2021-10-28 14:05:21,534: WARNING/ForkPoolWorker-38] -1: Configuring Pywikibot... [2021-10-28 14:05:21,546: VERBOSE/ForkPoolWorker-38] Found 1 commons:commons processes running, including this one. [2021-10-28 14:05:21,637: WARNING/ForkPoolWorker-38] -1: Uploading... [2021-10-28 14:05:21,734: WARNING/ForkPoolWorker-38] -1: Uploading... [2021-10-28 14:05:21,736: WARNING/ForkPoolWorker-38] -1: Cleaning up... [2021-10-28 14:05:21,738: VERBOSE/ForkPoolWorker-38] Dropped throttle(s). [2021-10-28 14:05:21,801: ERROR/ForkPoolWorker-38] Task video2commons.backend.worker.main[103dff53-8c71-4f82-82c8-f07d9cf6f011] raised unexpected: TypeError("'NoneType' object has no attribute '__getitem__'",) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 385, in trace_task R = retval = fun(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 648, in __protected_call__ return self.run(*args, **kwargs) File "/srv/v2c/video2commons/backend/worker.py", line 138, in main filedesc, username, statuscallback, errorcallback File "/srv/v2c/video2commons/backend/upload/__init__.py", line 48, in upload size, statuscallback, errorcallback File "/srv/v2c/video2commons/backend/upload/__init__.py", line 91, in upload_pwb chunk_size=chunked, async=bool(chunked) # , ignore_warnings=['exists-normalized'] File "/usr/local/lib/python2.7/dist-packages/pywikibot/tools/__init__.py", line 1447, in wrapper return obj(*__args, **__kw) File "/usr/local/lib/python2.7/dist-packages/pywikibot/site.py", line 5979, in upload token = self.tokens['edit'] File "/usr/local/lib/python2.7/dist-packages/pywikibot/site.py", line 1786, in __getitem__ key = self.site.validate_tokens([key]) File "/usr/local/lib/python2.7/dist-packages/pywikibot/site.py", line 3299, in validate_tokens 'token')['type'] TypeError: 'NoneType' object has no attribute '__getitem__'
@Hogue this seems to be expected behaviour. PAWS spawns containers for each user based on a pre-built image, every time that container is restarted the image will not have packages installed in its previous generations. The same is true for python packages installed with pip or any other package manager. If there are R packages that would benefit users to have pre-installed we can add them to the image.
Oct 27 2021
as a 4 year old ticket I'm assuming it no longer is an issue.
I am bit worried of us going in the direction of depending more on jupyter notebook classic interface while the jupyter community seems to be discussing how it will declare its abandonment.
Oct 22 2021
Oct 18 2021
@mdipietro The commit I made there should be enough to fix the label issue. Not sure about other issues, such as the hub image build.
Oct 13 2021
So I worked a bit on this but didn't finish it, at the end I've noticed @yuvipanda ran into this a few months ago https://github.com/berkeley-dsep-infra/datahub/pull/2264/files
Oct 11 2021
With @Andrew and @LucasWerkmeister helping we have ported the frontend to python3 and its running in toolforge. This particular error is gone. I do expect some other error to show up, please report it and we can try and deal with it.
Oct 6 2021
The maximum file size for any file on Commons is 4 GiB (4,294,967,296 bytes).
While nowhere near the same domain knowledge as @zhuyifei1999 has I think I can take the mantle of maintaining it on life support for the time being. Medium term I think this is the kind of tool with enough complexity and popularity that it needs a team to dedicate professional resources to it. I am hoping Wiki Movimento Brasil can eventually fulfill that role, but that depends on annual plan grants.
Oct 3 2021
Video2commons still uses python 2. I could not get it to work in Toolforge. Will try to move the front-end to the vps project this week.
I think this is not relevant to PAWS as we don't have mono installed. Please correct me if this is wrong.
Investigating if any workaround while using python 2 is feasiable.
Sep 16 2021
Aug 3 2021
Q34069 is protected to autoconfirmed users though. The edit was probably blocked due to that and the error message is unhelpful.
Jul 2 2021
Jun 30 2021
@Xeno This has been fully blocked by your team since June 3rd, when I sent you and others on the UCoC facilitation team an email
Jun 4 2021
Jun 3 2021
Jun 1 2021
Yep https://public.paws.wmcloud.org/User:Arjunaraocbot/replace.py is the culprit. Delete it and you should be good to go.
this is a weird error to be having in PAWS, seems you're using an outdated version of the replace.py script with PAWS updated pywikibot library. Is it possible you downloaded an old version of the pywikibot at some point into your PAWS home folder?
May 31 2021
May 29 2021
May 27 2021
May 23 2021
Quay.io access to the repo is also a thing we should provide if there is interest by @yuvipanda
The timeout is now 24 hours. This will be an experiment and we might need to reduce it, but the intention is to support more long running tasks in PAWS.
I was going to add github repo write access to the request but it's already there.
May 22 2021
https://github.com/toolforge/paws/pull/62 solved this.