User talk:Σ/Archive/2024/January


Error on toolforge

URL : https://sigma.toolforge.org/created.py?name=CKali&server=frwiktionary&max=500&startdate=&ns=%2C+%2C&redirects=none

Error:

Traceback (most recent call last):
  File "/workspace/app.py", line 33, in inner
    return func(*a, **kw)
           ^^^^^^^^^^^^^^
  File "/workspace/app.py", line 63, in created_py
    return tpl.render(store=store)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/template.py", line 462, in render
    return runtime._render(self, self.callable_, args, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 837, in _render
    _render_context(template, callable_, context, *args,
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 873, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 899, in _exec_template
    callable_(context, *args, **kwargs)
  File "created_query_mako", line 49, in render_body
  File "/workspace/created.py", line 135, in fix_results
    urls, ts, stamp, diffword, histword, sizetag, minor, page, summ, top = self.contrib_line(args)
                                                                           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/tool.py", line 102, in contrib_line
    stamp = ch_locale(store.lang, ts.strftime, [fmt])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/localeshit.py", line 38, in ch_locale
    raise err
locale.Error: unsupported locale setting

CKali (talk) 08:35, 22 December 2023 (UTC)

Error on ptwiki timeline function on user interactivity

Hi Σ, there is a problem with the timeline function on the user interactivity tool in the Portuguese Wikipedia, as you can see here. It is working fine on the English Wikipeda. The error message says you are the person to contact. Thank you and I bid you a restful, peaceful and happy time over the end-of-year lull. Rui ''Gabriel'' Correia (talk) 10:46, 22 December 2023 (UTC)

Error on eswiki timeline function

I got the following error message when trying to access the timeline function on the user interactivity tool for the Spanish Wikipedia, through this link

Traceback (most recent call last):
 File "/workspace/app.py", line 33, in inner
   return func(*a, **kw)
          ^^^^^^^^^^^^^^
 File "/workspace/app.py", line 110, in timeline_py
   return tpl.render(store=store)
          ^^^^^^^^^^^^^^^^^^^^^^^
 File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/template.py", line 462, in render
   return runtime._render(self, self.callable_, args, data)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 837, in _render
   _render_context(template, callable_, context, *args,
 File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 873, in _render_context
   _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
 File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 899, in _exec_template
   callable_(context, *args, **kwargs)
 File "timeline_query_mako", line 38, in render_body
 File "/workspace/timeline.py", line 142, in fix_results
   yield self.history_line(new_line)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/workspace/tool.py", line 117, in history_line
   urls, ts, stamp, diffword, histword, sizetag, minor, page, summ, top = self.contrib_line(args)
                                                                          ^^^^^^^^^^^^^^^^^^^^^^^
 File "/workspace/tool.py", line 102, in contrib_line
   stamp = ch_locale(store.lang, ts.strftime, [fmt])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/workspace/localeshit.py", line 38, in ch_locale
   raise err
locale.Error: unsupported locale setting

--38.25.30.164 (talk) 16:35, 23 December 2023 (UTC)

Problem on Toolforge

https://sigma.toolforge.org/created.py?startdate=20220806&name=Leopold&ns=%2C&server=itwiki&max=500

500 You shouldn't be seeing this page. Please report this to User:Σ on enwp. Include the current URL and the text below in your report. If you do not include this information, then there is nothing I can do to help.

Traceback (most recent call last):
  File "/workspace/app.py", line 33, in inner
    return func(*a, **kw)
           ^^^^^^^^^^^^^^
  File "/workspace/app.py", line 63, in created_py
    return tpl.render(store=store)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/template.py", line 462, in render
    return runtime._render(self, self.callable_, args, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 837, in _render
    _render_context(template, callable_, context, *args,
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 873, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/layers/heroku_python/dependencies/lib/python3.12/site-packages/mako/runtime.py", line 899, in _exec_template
    callable_(context, *args, **kwargs)
  File "created_query_mako", line 49, in render_body
  File "/workspace/created.py", line 135, in fix_results
    urls, ts, stamp, diffword, histword, sizetag, minor, page, summ, top = self.contrib_line(args)
                                                                           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/tool.py", line 102, in contrib_line
    stamp = ch_locale(store.lang, ts.strftime, [fmt])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/localeshit.py", line 38, in ch_locale
    raise err
locale.Error: unsupported locale setting

//////

Thanks for your Activity, i am a user of Wikipedia italy. Riccardo di Capena (talk) 22:37, 25 December 2023 (UTC)

@0xDeadbeef: Could you please take a look at the above locale issues? Separately, maybe we should change the error message to ask people to report to a more central location than Sigma's talk page (issue tracker?) — The Earwig (talk) 15:24, 29 December 2023 (UTC)

I will try to address this soon. 0xDeadbeef→∞ (talk to me) 13:49, 30 December 2023 (UTC)
Looked into it, now tracked at phab:T354128. 0xDeadbeef→∞ (talk to me) 07:27, 31 December 2023 (UTC)

|minthreadstoarchive = 1

Hello,

I wonder, why have the bot run every time a new thread is added when |minthreadstoarchive = is set to "1" (example)? This is suboptimal for many editors who have the "latest revision" filter toggled in their watchlist, doubly so for those who have bot edits excluded from their watchlist. Seeing new threads on talk pages takes extra steps for editors like myself who have "latest revision" toggled. I keep missing important threads. I can see that MiszaBot archived a post but I will have to click through to the talk page to see that Randy in Boise has proposed to delete the main page (or some other nonsense). Why not run MiszaBot only once a week (excluding certain high traffic administrative pages, or disregard "|minthreadstoarchive =" when it is set to less than three?

Appreciate everything you do. Schierbecker (talk) 04:31, 24 December 2023 (UTC)

@Schierbecker: Respectfully, if this change were made, this talk page would receive 10x the frequency of users complaining that the archive bot isn't running or not archiving the sections they expected. Following the config that has been standard for well over ten years is the safest option. It does sound like the watchlist should ignore bot edits when showing latest revisions rather than pages most recently edited by bots. I would consider that more a watchlist bug than an archiving logic bug. — The Earwig (talk) 15:34, 29 December 2023 (UTC)

AFD Stats not showing all my votes

It looks like the tool is not counting or registering all my votes, (see here https://afdstats.toolforge.org/afdstats.py?name=Cray04)

Is there a way to fix this or update it? Cray04 (talk) 05:19, 3 January 2024 (UTC)

This editor hasn't been active since mid-2022 so I wouldn't hold my breath on getting a response to your query. Liz Read! Talk! 01:53, 4 January 2024 (UTC)