Page MenuHomePhabricator

Chicocvenancio (Chico Venancio)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Jan 11 2017, 4:41 PM (324 w, 3 d)
Availability
Available
IRC Nick
chicocvenancio
LDAP User
Chico Venancio
MediaWiki User
Chicocvenancio [ Global Accounts ]

Recent Activity

Thu, Mar 23

Chicocvenancio updated the task description for T332079: [Session] IP Masking.
Thu, Mar 23, 11:48 AM · Wikimedia-Hackathon-2023

Jan 25 2023

Chicocvenancio added a comment to T326256: Edit on user talkpage with expired block shows Blocked-notice-logextract.

Sorry I missed the followup questions, but I think you have solved the mystery. Since I have ipblockexempt it didn't stop me from editing, but its likely my vpn provider was blocked.

Jan 25 2023, 1:32 PM · MW-1.41-notes (1.41.0-wmf.2; 2023-03-27), Editing-team (Kanban Board), DiscussionTools, VisualEditor-MediaWiki, VisualEditor

Jan 6 2023

Chicocvenancio updated subscribers of T280886: Add Code of Conduct link to the Universal Code of Conduct to all non technical wikis.

Linkback from https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/DVA7I5TUHSNJAAYKOBD6O77FJT35E2MK/ where I cite this as an example of how WMF has delayed UCoC until the enforcemente guidelines are approved.

Jan 6 2023, 2:25 PM · MW-1.37-notes (1.37.0-wmf.7; 2021-05-25), Patch-For-Review, Wikimedia-Site-requests, WikimediaMessages

Jan 4 2023

Chicocvenancio created T326256: Edit on user talkpage with expired block shows Blocked-notice-logextract.
Jan 4 2023, 5:39 PM · MW-1.41-notes (1.41.0-wmf.2; 2023-03-27), Editing-team (Kanban Board), DiscussionTools, VisualEditor-MediaWiki, VisualEditor
Chicocvenancio added a comment to T326164: Cannot stop server.

It is possible that this will be resolved with T317787

Not really. :/, this is the new Jupyterhub rbac.

Interesting, I was making this guess as I can still delete my server in minikube, and the major difference is that we are not introducing Pod Security Policies in minikube. Begging the question of if not psp, why is it working in minikube. Perhaps we are configuring something else differently in prod that we could adjust?

Jan 4 2023, 3:29 PM · PAWS
Chicocvenancio added a comment to T317787: Pod Security Policies.

Some sections of this, mostly host path parts, will become irrelevant with T308873 other parts remain unclear to me on why we need them. Aside from by default needing a psp, are there known benefits of our current setup?

Jan 4 2023, 3:27 PM · PAWS
Chicocvenancio added a comment to T326164: Cannot stop server.

It is possible that this will be resolved with T317787

Jan 4 2023, 3:21 PM · PAWS

Jan 3 2023

Chicocvenancio closed T326167: Can't connect to database replicas via PAWS as Resolved.
Jan 3 2023, 8:11 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

I tried again, and get a different error message:

400 : Bad Request
Invalid client_id parameter value.

I also get the same issue.

Jan 3 2023, 8:11 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

(my best guess is the authenticator is storing the client-id in the auth state and that has now changed in the upgrade)

Jan 3 2023, 8:00 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Could you try one more time? I've deleted your user from the db, it should be recreated on login for you.

Jan 3 2023, 7:58 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.
MySQL [s52771__paws]> select identifier  from oauth_clients where oauth_clients.allowed_scopes is NULL;
+-------------------------------------------------------+
| identifier                                            |
+-------------------------------------------------------+
| jupyterhub-user-ISO_3166_Bot                          |
| jupyterhub-user-Xover                                 |
| jupyterhub-user-GZWDer                                |
| jupyterhub-user-Qwerfjkl                              |
| jupyterhub-user-Lopullinen                            |
| jupyterhub-user-Ahenches                              |
| jupyterhub-user-Research_Bot                          |
| jupyterhub-user-PonoRoboT                             |
| jupyterhub-user-BlackShadowG                          |
| jupyterhub-user-Oshhhh                                |
| jupyterhub-user-ShalomOrobot                          |
| jupyterhub-user-W2Bot                                 |
| jupyterhub-user-Infrastruktur                         |
| jupyterhub-user-Syunsyunminmin                        |
| jupyterhub-user-%D9%84%D9%88%D9%82%D8%A7              |
| jupyterhub-user-Hannolans                             |
| jupyterhub-user-AnnikaHendriksen                      |
| jupyterhub-user-EmausBot                              |
| jupyterhub-user-Metalfingers2                         |
| jupyterhub-user-TholmeBot                             |
| jupyterhub-user-Hamel.husain                          |
| jupyterhub-user-Ainali                                |
| jupyterhub-user-Jklamo                                |
| jupyterhub-user-Ladon                                 |
| jupyterhub-user-%D8%A3%D8%A8%D9%88_%D8%AC%D8%A7%D8%AF |
| jupyterhub-user-DPLA_bot                              |
| jupyterhub-user-Andrawaag                             |
| jupyterhub-user-Davidjamesadkins                      |
| jupyterhub-user-Hesham_Moharam                        |
| jupyterhub-user-Kekavigi                              |
| jupyterhub-user-Anaka_Satamiya                        |
| jupyterhub-user-AdoroniBot                            |
| jupyterhub-user-MarioGom                              |
| jupyterhub-user-Jahl_de_Vautban                       |
| jupyterhub-user-TomT0m                                |
| jupyterhub-user-Pppery                                |
| jupyterhub-user-Kolja21                               |
+-------------------------------------------------------+
37 rows in set (0.002 sec)
Jan 3 2023, 7:43 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Its probably related to the user being running at the time of upgrade, let me try to manually clear the tokens in the db.

Jan 3 2023, 7:30 PM · PAWS
Chicocvenancio committed rPAWS5031159f6a45: Allow access to private ips from singleuser servers Fixes:T326167 (authored by Chicocvenancio).
Allow access to private ips from singleuser servers Fixes:T326167
Jan 3 2023, 7:24 PM
Chicocvenancio added a comment to T326167: Can't connect to database replicas via PAWS.

If I'm understanding that network policy shouldn't 172.16.1.129 be permitted under 172.16.0.0/12?

Jan 3 2023, 7:23 PM · PAWS
Chicocvenancio added a comment to T326167: Can't connect to database replicas via PAWS.

This seems to be the new networkpolicy blocking private ip addresses.

Jan 3 2023, 7:17 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Didn't manage to delete the server, just logged out and back in.

Jan 3 2023, 7:12 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

More I'm curious, added me where? I'm not in the list of admins in values.yaml, though I have access to the admin tab (well did until today)

Jan 3 2023, 6:28 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Still never known how I had admin before though. I always assumed it was pulling from cloud vps, but that seems unexpected?

Jan 3 2023, 6:00 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

https://jupyterhub.readthedocs.io/en/stable/rbac/roles.html# seems to be the new way of defining admins. I see the admin tab but nothing is there for me right now.

Jan 3 2023, 5:48 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Uhh, it now works... Maybe there was a cached logged in SA for me?

Jan 3 2023, 5:35 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

That seems fine to me. This is RBAC internal to jupyterhub to do oauth dances between the various components. I'm reading code/docs trying to figure out what needs to change.

Jan 3 2023, 5:25 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Oh, an account that was not logged in at the time of the upgrade can auth. Maybe it is something about accounts that were active during the upgrade?

That may parallel why it seemed to work in minikube.

Jan 3 2023, 5:21 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Seems the oauth tokens for the internal service accounts in jupyterhub don't have the right scopes, weird that this doesn't seem to be mentioned in the upgrade guide.

Jan 3 2023, 5:17 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Why was a rollback necessary? Is trying to fix the new version an option?

Jan 3 2023, 5:10 PM · PAWS
Chicocvenancio added a comment to T326160: PAWS is down.

Probably a migration was applied with the upgrade and alembic sees it in the table but not in the migration code of the rolled back version? Nuking the db is always an option, will only disrupt currently running pods and log everyone out. There might be a rollback migration code for the new migration, or it might even be compatible needing only the a DELETE in the revision, that would need to be figured it out if keeping the db is desired.

Jan 3 2023, 5:10 PM · PAWS

Dec 16 2022

Chicocvenancio added a comment to T325373: Is PAWS down?.

Things are working again for me. I see no 400 errors in the logs for the past 10 minutes.

Dec 16 2022, 4:20 PM · User-dcaro, PAWS
Chicocvenancio triaged T325373: Is PAWS down? as Unbreak Now! priority.
Dec 16 2022, 4:02 PM · User-dcaro, PAWS
Chicocvenancio added a comment to T325373: Is PAWS down?.

I confirm its down for me as well.

Dec 16 2022, 4:01 PM · User-dcaro, PAWS

Dec 12 2022

Chicocvenancio added a comment to T310622: [bug] after some time notebooks cannot be saved.

Reading the github issue I guess moving to notebook-based culling is the way to improve things, I can try to take a look at that.

Dec 12 2022, 9:04 PM · PAWS

Dec 6 2022

Chicocvenancio awarded T323317: Initiate and strengthen connections with the community and other partners a Like token.
Dec 6 2022, 8:38 PM · Developer-Advocacy (Jan-Mar 2023), User-Sandra_Fauconnier_WMSE, Tool Maintainers

Jun 15 2022

Chicocvenancio added a comment to T310749: hub deployment set to recreate.

the hub pod has some in-memory state, and (worse) some shared state with the proxy pod. https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/1364 is main upstream issue on this, I think.

Jun 15 2022, 9:41 PM · PAWS
Chicocvenancio added a comment to T302164: upgrade jupyter-rsession-proxy.

https://github.com/toolforge/paws/pull/173 lgtm, Will make the PR upstream.
https://github.com/jupyterhub/jupyter-rsession-proxy/pull/130 is the upstream PR to track, we can use a fork if it takes a while to get merged.

Jun 15 2022, 4:46 PM · PAWS
Chicocvenancio committed rPAWS414834d8fe5d: Try with forked rsession-proxy (authored by Chicocvenancio).
Try with forked rsession-proxy
Jun 15 2022, 4:15 PM
Chicocvenancio added a comment to T302164: upgrade jupyter-rsession-proxy.

Probably https://github.com/jupyterhub/jupyter-rsession-proxy/blob/master/jupyter_rsession_proxy/__init__.py#L139

Jun 15 2022, 4:10 PM · PAWS
Chicocvenancio added a comment to T302164: upgrade jupyter-rsession-proxy.

I created https://github.com/jupyterhub/jupyter-rsession-proxy/issues/129 upstream for this. I think should be a pretty straightforward change there to get things working. As I see it, NB_USER should be the source of truth for users in jupyterhub land.

Jun 15 2022, 12:23 PM · PAWS

Jun 14 2022

Chicocvenancio added a comment to T308873: Investigate moving PAWS to magnum.

I think volume persistence is the biggest blocker here, right?

Jun 14 2022, 10:27 PM · cloud-services-team (FY2022/2023-Q3), PAWS
Chicocvenancio awarded T308873: Investigate moving PAWS to magnum a Love token.
Jun 14 2022, 10:26 PM · cloud-services-team (FY2022/2023-Q3), PAWS
Chicocvenancio added a comment to T310622: [bug] after some time notebooks cannot be saved.

Feels like your firefox is keeping jupyterlab open after it has a disconnect (Very possibly only a disconnect from the nfs), without telling you that it isn't connected.

I think there is something a bit more esoteric going on. If the the pod wasn't running or didn't have access to the filesystem creating a new file would not be possible. Might be browser session, pod v jupyterhub authentication or websocket connection failing. I would look into the hub and proxy logs for any error around the routes to the user pod and in the user pod itself for any error message the next time this happens.

Jun 14 2022, 5:54 PM · PAWS
Chicocvenancio added a comment to T310611: Unable to connect to Wikireplica databases using Python since the upgrade to Stretch.

Have you tried using the absolute path?

Jun 14 2022, 1:43 PM · Cloud-Services

May 22 2022

Chicocvenancio added a comment to T308928: Manage tools in toolforge with mwcli.

Sounds about right to me.

May 22 2022, 2:05 PM · Patch-For-Review, Toolforge, mwcli

May 21 2022

Chicocvenancio created T308955: Maintain kubeusers duplicates context and certificate entries in kubeconfig if the context is not named toolforge.
May 21 2022, 9:45 PM · Cloud-Services
Chicocvenancio created T308928: Manage tools in toolforge with mwcli.
May 21 2022, 3:33 PM · Patch-For-Review, Toolforge, mwcli
Chicocvenancio added a comment to T308888: Possibly remove deploy-hook.

yeah, we haven't used in a few years.

May 21 2022, 2:34 PM · good first task, PAWS

Apr 21 2022

Chicocvenancio added a comment to T292781: Measure impact of requiring login to edit articles on Persian Wikipedia.

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.

Apr 21 2022, 4:25 PM · Epic, Product-Analytics, Anti-Harassment

Mar 14 2022

Chicocvenancio triaged T295043: Choose new PAWS frontend as Medium priority.
Mar 14 2022, 3:04 PM · PAWS
Chicocvenancio added a comment to T295043: Choose new PAWS frontend.

@Isaac indeed. Fixed the link to a permalink to avoid future issues.

Mar 14 2022, 3:03 PM · PAWS
Chicocvenancio updated the task description for T295043: Choose new PAWS frontend.
Mar 14 2022, 3:02 PM · PAWS

Mar 10 2022

Krinkle awarded T295043: Choose new PAWS frontend a Orange Medal token.
Mar 10 2022, 8:15 PM · PAWS

Mar 9 2022

Chicocvenancio added a watcher for Wikimedia-Hackathon-2022: Chicocvenancio.
Mar 9 2022, 4:55 PM

Feb 15 2022

Chicocvenancio committed rPAWS5bb92e4054de: Change psp to allow minesweeper (authored by Chicocvenancio).
Change psp to allow minesweeper
Feb 15 2022, 6:20 PM
Chicocvenancio committed rPAWS611a151ce7b4: Change psp to allow minesweeper (authored by Chicocvenancio).
Change psp to allow minesweeper
Feb 15 2022, 6:09 PM
Chicocvenancio added a comment to T300305: New upstream release for Pywikibot.

6.6.5 was merged.

Feb 15 2022, 5:59 PM · PAWS

Feb 9 2022

Chicocvenancio committed rPAWSab56bdb51749: Tweak settings (authored by Chicocvenancio).
Tweak settings
Feb 9 2022, 1:11 PM

Feb 6 2022

Chicocvenancio committed rPAWS54871b48114b: Bump minesweeper tag, use image template in values, remove GHA on push binding (authored by Chicocvenancio).
Bump minesweeper tag, use image template in values, remove GHA on push binding
Feb 6 2022, 2:27 AM
Chicocvenancio committed rPAWS3e4a3347cef3: Move minesweeper daemonset to singleuser uid (authored by Chicocvenancio).
Move minesweeper daemonset to singleuser uid
Feb 6 2022, 2:27 AM

Feb 5 2022

Chicocvenancio committed rPAWS62b0c7d28809: Fix minesweeper template and directory structure (authored by Chicocvenancio).
Fix minesweeper template and directory structure
Feb 5 2022, 6:43 PM
Chicocvenancio committed rPAWSa43915e7f0eb: Fix minesweeper GHAs (authored by Chicocvenancio).
Fix minesweeper GHAs
Feb 5 2022, 4:24 PM
Chicocvenancio committed rPAWS0ea718e426a5: Add minesweeper (authored by Chicocvenancio).
Add minesweeper
Feb 5 2022, 3:18 PM

Jan 13 2022

Chicocvenancio added a comment to T280303: Adding PIX as a payment type for Brazil.

Other bank transfer methods are also erroring for me.

Jan 13 2022, 12:24 AM · MW-1.38-notes (1.38.0-wmf.18; 2022-01-17), fundraising sprint Yeet-coaster, Fundraising Sprint Xenomorph Petting Zoo, FR-LATAM, Fundraising-Backlog

Jan 12 2022

Chicocvenancio added a comment to T280303: Adding PIX as a payment type for Brazil.

@EMartin its before we actually make the transaction.

Jan 12 2022, 11:43 PM · MW-1.38-notes (1.38.0-wmf.18; 2022-01-17), fundraising sprint Yeet-coaster, Fundraising Sprint Xenomorph Petting Zoo, FR-LATAM, Fundraising-Backlog

Dec 24 2021

Chicocvenancio added a comment to T298183: Upgrade OpenRefine on PAWS to version 3.5.1 (log4j related upgrade).

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 24 2021, 2:26 PM · OpenRefine, PAWS

Dec 22 2021

Chicocvenancio added a comment to T298189: Make connecting to wiki replicas easier by installing wmpaws for all PAWS users.

LGTM. Opinionated ways to run the more basic tasks is a good way to reduce the burden on new users.

Dec 22 2021, 12:39 PM · User-Urbanecm, PAWS

Dec 15 2021

Chicocvenancio added a comment to T296385: Failed to install pyaudio module in PAWS Jupyter.

I guess portaudio19-dev is the missing apt package here.

Dec 15 2021, 3:28 AM · PAWS

Dec 7 2021

Chicocvenancio committed rTVTC76c41ad25c7e: Retry on DownloadError without cache (authored by Chicocvenancio).
Retry on DownloadError without cache
Dec 7 2021, 6:28 PM

Dec 2 2021

Chicocvenancio closed T296933: PAWS singleuser builds are failing due to packagemanager.rstudio.com errors as Resolved.
Dec 2 2021, 7:42 PM · PAWS
Chicocvenancio updated subscribers of T296933: PAWS singleuser builds are failing due to packagemanager.rstudio.com errors.

Thanks to @yuvipanda on the assistance on this. Would've taken me hours to understand it.

Dec 2 2021, 3:49 PM · PAWS
Chicocvenancio renamed T296933: PAWS singleuser builds are failing due to packagemanager.rstudio.com errors from Fix PAWS singleuser R studio build error to PAWS singleuser builds are failing due to packagemanager.rstudio.com errors.
Dec 2 2021, 3:48 PM · PAWS
Chicocvenancio created T296933: PAWS singleuser builds are failing due to packagemanager.rstudio.com errors.
Dec 2 2021, 1:30 PM · PAWS

Nov 29 2021

Chicocvenancio committed rPAWS772d355cb5ae: Escape usernames before sending wikimedia api request (authored by Chicocvenancio).
Escape usernames before sending wikimedia api request
Nov 29 2021, 12:53 PM
Chicocvenancio committed rPAWSb6772f0daa03: Escape usernames before sending wikimedia api request (authored by Chicocvenancio).
Escape usernames before sending wikimedia api request
Nov 29 2021, 12:52 PM
Chicocvenancio committed rPAWS2cf120678132: Escape usernames before sending wikimedia api request (authored by Chicocvenancio).
Escape usernames before sending wikimedia api request
Nov 29 2021, 12:42 PM
Chicocvenancio committed rPAWS169904af2c31: Escape usernames before sending wikimedia api request (authored by Chicocvenancio).
Escape usernames before sending wikimedia api request
Nov 29 2021, 12:42 PM

Nov 27 2021

Chicocvenancio committed rPAWS5208f0bfe48d: Using user_agent and formatversion=2 (authored by Chicocvenancio).
Using user_agent and formatversion=2
Nov 27 2021, 5:39 PM
Chicocvenancio committed rPAWS6c6fe66cd1ee: Fix auth url parameter (authored by Chicocvenancio).
Fix auth url parameter
Nov 27 2021, 12:30 AM
Chicocvenancio committed rPAWSf4a5e10c0f93: Verify if user is locked (authored by Chicocvenancio).
Verify if user is locked
Nov 27 2021, 12:30 AM

Nov 26 2021

Chicocvenancio added a comment to T272752: App mishandles internal links to articles ending in question mark.

Just noting we received a report of this bug in the Portuguese wikipedia telegram group today.

Nov 26 2021, 1:55 PM · Mobile, Wikipedia-iOS-App-Backlog

Nov 25 2021

Chicocvenancio committed rPAWScdc7b20d2e80: Set openrefine Host Fixes T295257 (authored by Chicocvenancio).
Set openrefine Host Fixes T295257
Nov 25 2021, 11:57 PM
Chicocvenancio closed T295257: Upgrade OpenRefine on PAWS to version 3.5.0 as Resolved by committing rPAWS57b56a65349e: Set openrefine Host Fixes T295257.
Nov 25 2021, 11:56 PM · PAWS, OpenRefine
Chicocvenancio committed rPAWS57b56a65349e: Set openrefine Host Fixes T295257 (authored by Chicocvenancio).
Set openrefine Host Fixes T295257
Nov 25 2021, 11:55 PM
Chicocvenancio reopened T295257: Upgrade OpenRefine on PAWS to version 3.5.0 as "Open".

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 25 2021, 9:41 PM · PAWS, OpenRefine
Chicocvenancio added a comment to T295257: Upgrade OpenRefine on PAWS to version 3.5.0.

PR in https://github.com/toolforge/paws/pull/110

Nov 25 2021, 7:22 PM · PAWS, OpenRefine

Nov 24 2021

Chicocvenancio committed rPAWS4b7e97986909: Bump openrefine to 3.5.0 (authored by Chicocvenancio).
Bump openrefine to 3.5.0
Nov 24 2021, 10:42 PM
Chicocvenancio claimed T295257: Upgrade OpenRefine on PAWS to version 3.5.0.
Nov 24 2021, 10:12 PM · PAWS, OpenRefine

Nov 18 2021

Ixocactus awarded rTVTC07d0e34c1eae: Fix upload parameter a Party Time token.
Nov 18 2021, 11:15 PM
Chicocvenancio committed rTVTC07d0e34c1eae: Fix upload parameter (authored by Chicocvenancio).
Fix upload parameter
Nov 18 2021, 2:17 PM
Ixocactus awarded T295115: "Video2commons is getting an error: An exception occurred: FileNotFoundError: b'[Errno 2] No such file or directory'" a Like token.
Nov 18 2021, 12:52 AM · video2commons

Nov 17 2021

Chicocvenancio closed T295908: Server side upload requests created by video2commons should add #server-side-upload-request as Resolved.

Merged and deployed

Nov 17 2021, 8:07 PM · User-Urbanecm, video2commons
Chicocvenancio closed T295115: "Video2commons is getting an error: An exception occurred: FileNotFoundError: b'[Errno 2] No such file or directory'" as Resolved.
Nov 17 2021, 7:58 PM · video2commons
Chicocvenancio created T295924: Login fails if current user does not have permission to create apicache-py3.
Nov 17 2021, 7:55 PM · Pywikibot
Chicocvenancio added a comment to T295115: "Video2commons is getting an error: An exception occurred: FileNotFoundError: b'[Errno 2] No such file or directory'".
[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(' ')[1]
  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 17 2021, 7:10 PM · video2commons

Nov 4 2021

Chicocvenancio updated the task description for T295043: Choose new PAWS frontend.
Nov 4 2021, 2:42 PM · PAWS
Chicocvenancio created T295043: Choose new PAWS frontend.
Nov 4 2021, 2:39 PM · PAWS

Oct 29 2021

Chicocvenancio committed rPAWSbe0379ab0140: Install labpawspublic extension (authored by Chicocvenancio).
Install labpawspublic extension
Oct 29 2021, 5:23 PM

Oct 28 2021

Chicocvenancio closed T294520: Error with video2commons: Error type: b"'NoneType' object has no attribute '__getitem__'" as Resolved.

Fixed on Fixed on https://github.com/toolforge/video2commons/commit/53d51e96d5db24afe3725eb88bdf90f5884fdd0a.

Oct 28 2021, 7:24 PM · video2commons
Chicocvenancio committed rTVTC53d51e96d5db: Fix worker use of encode('hex') (authored by Chicocvenancio).
Fix worker use of encode('hex')
Oct 28 2021, 7:18 PM
Chicocvenancio closed T294520: Error with video2commons: Error type: b"'NoneType' object has no attribute '__getitem__'" as Resolved.

This error should be fixed with the upgrade to python3.

Oct 28 2021, 5:51 PM · video2commons
Chicocvenancio committed rTVTCfe03de333b5c: Update some packages (authored by Chicocvenancio).
Update some packages
Oct 28 2021, 5:39 PM
Chicocvenancio committed rTVTC9c82b38cc8a7: Move puppet to install and use pip3 (authored by Chicocvenancio).
Move puppet to install and use pip3
Oct 28 2021, 5:30 PM
Chicocvenancio claimed T294520: Error with video2commons: Error type: b"'NoneType' object has no attribute '__getitem__'".

yeah, let me see if I can get python3 working on the backend

Oct 28 2021, 5:00 PM · video2commons