User talk:Σ/Archive/2019/November


Duplication in Teahouse archive

See this edit and this diff You'll just have to take my word for it.— Vchimpanzee • talk • contributions • 21:04, 6 September 2019 (UTC)

This and this is the problem. Bot added the threads to the archive but couldn't remove them from the teahouse page due to an edit conflict. Wiping out teh edit conflict is not great, but given the nature of the edit conflict there's no way to resolve that without human intervention, sadly. Σσς(Sigma) 06:49, 7 September 2019 (UTC)

Automated archiving on the reliable sources noticeboard

Hi Σ, earlier today, Lowercase sigmabot III only archived 2 discussions from Wikipedia:Reliable sources/Noticeboard. This reduced the size of the noticeboard down to 440kB, while the User:MiszaBot/config tag had maxarchivesize set to 250K. Many older discussions including WP:RSN § RfC: Bellingcat (August 2019) (last comment on 15 September), WP:RSN § Seeking acceptance of reliability of UK progressive online only news sites - The Canary, Evolve Politics and Skwawkbox (last comment on 19 September), and WP:RSN § Leigh Rayment (last comment on 9 September) were not archived, even though algo was set to old(5d). Do you know why Lowercase sigmabot III did not archive the older discussions? — Newslinger talk 04:18, 7 October 2019 (UTC)

(talk page watcher) @Newslinger: First off, without even looking at the diff provided, I can say that you are misunderstanding |maxarchivesize= - this has nothing to do with the size of the noticeboard, its value is checked against the size of the archive page, so that the bot knows when it is time to bump the |counter= and start another archive. --Redrose64 🌹 (talk) 18:57, 7 October 2019 (UTC)
Thanks for the correction, Redrose64. I was searching for an explanation for the archival pattern and got momentarily confused. Since the archive time is set to 5 days, I am still trying to understand why the older discussions were skipped by Lowercase sigmabot III. — Newslinger talk 19:02, 7 October 2019 (UTC)
I've manually archived the noticeboard with OneClickArchiver as a one-time remedy, per WT:RSN § Automatic archiving not fully working. — Newslinger talk 18:11, 19 October 2019 (UTC)

Tools

You may be interested to know that the Edit Summary Search Tool you made is no longer functioning. DS (talk) 19:48, 7 October 2019 (UTC)

Yes, it throws a HTTP 500 with a traceback like this:
        Traceback (most recent call last):
  File "./app.py", line 33, in inner
    return func(*a, **kw)
  File "./app.py", line 100, in summary_py
    return tpl.render(store=store)
  File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/mako/template.py", line 462, in render
    return runtime._render(self, self.callable_, args, data)
  File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/mako/runtime.py", line 838, in _render
    **_kwargs_for_callable(callable_, data))
  File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/mako/runtime.py", line 873, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/mako/runtime.py", line 899, in _exec_template
    callable_(context, *args, **kwargs)
  File "summary_query_mako", line 48, in render_body
  File "./summary.py", line 156, in fix_results
    yield self.contrib_line(new_line)
  File "./tool.py", line 102, in contrib_line
    stamp = ch_locale(store.lang, ts.strftime, [fmt])
  File "./localeshit.py", line 33, in ch_locale
    p.start()
  File "/usr/lib/python3.5/multiprocessing/process.py", line 105, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.5/multiprocessing/context.py", line 212, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/usr/lib/python3.5/multiprocessing/context.py", line 267, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.5/multiprocessing/popen_fork.py", line 17, in __init__
    sys.stdout.flush()
OSError: [Errno 116] Stale file handle
--Redrose64 🌹 (talk) 21:12, 7 October 2019 (UTC)

no idea what could've caused that but i restarted it and it seems to be working nowΣσς(Sigma) 03:43, 10 October 2019 (UTC)

It worked today but is now giving "500 - Internal Server Error". DS (talk) 23:49, 18 October 2019 (UTC)
I was trying EditorInteract but I also get 500. — regards, Revi 13:00, 19 October 2019 (UTC)

Interaction analyzer down?

You probably already know, but figured I'd mention the very useful tool, the editor interaction analyzer seems to be down (haven't been able to access for the last couple days). — Rhododendrites talk \\ 22:24, 19 October 2019 (UTC)

User:MiszaBot/config defaults

Whenever I implement "Example 2: Incremental archives", it feels silly to add parameters that I mostly keep at the same default. But I note that the suggested default for "Example 2: Incremental archives" is not the same as the template's default values. Wouldn't it make sense to change the default to what is most commonly used and thus reduce the need for adding extra parameters to talk pages? Unless there's a reason I'm missing, I suggest using defaults similar to the current example: archiveheader of {{aan}}, minthreadsleft = 3, minthreadstoarchive = 1, maxarchivesize = 150K, algo = old(90d). And then all most talk pages would need is the archive and counter params. czar 22:54, 15 November 2019 (UTC)

be bold Σσς(Sigma) 09:03, 25 November 2019 (UTC)
Is User:Lowercase sigmabot III/Source.py the right place to modify the code? Or is it hosted elsewhere? czar 03:22, 26 November 2019 (UTC)
Sorry for the confusion - By that, I meant that you could feel free to correct the documentation.
I don't think it's a good idea to change the default settings that the bot actually uses, since I don't know how many pages actually rely on them remaining the same. Σσς(Sigma) 23:53, 29 November 2019 (UTC)