User talk:Σ/Archive/2022/March

Latest comment: 2 years ago by Σ in topic Who else manages your bots?


Feedback request: Politics, government, and law request for comment

 

Your feedback is requested at Template talk:Yes on a "Politics, government, and law" request for comment. Thank you for helping out!
You were randomly selected to receive this invitation from the list of Feedback Request Service subscribers. If you'd like not to receive these messages any more, you can opt out at any time by removing your name.

Message delivered to you with love by Yapperbot :) | Is this wrong? Contact my bot operator. | Sent at 16:30, 17 February 2022 (UTC)

Add an archive parameter for unsigned

Add a parameter for sigmabot archive config to automatically sign unsigned comment. Similar to User:Anomie/unsignedhelper.Manabimasu (talk) 15:49, 23 February 2022 (UTC)

Just wondering

It seems to me that sometimes a talk pages is archived just after I post to it, though (fortunately) not the sections I posted to. How does it know which pages to check for archiving? Gah4 (talk) 01:45, 3 March 2022 (UTC)

500 error for article revision statistics tool

At the URL https://sigma.toolforge.org/articleinfo.py?page=cAT&startdate=&enddate=&revlimit=10000&server=enwiki an error occurred and the following message was displayed:

Traceback (most recent call last):
 File "/data/project/sigma/www/python/src/app.py", line 33, in inner
   return func(*a, **kw)
 File "/data/project/sigma/www/python/src/app.py", line 117, in articleinfo_py
   tpl, store = ArticleInfo(params)()
 File "./articleinfo.py", line 77, in __call__
   loop.run_until_complete(self.do_query(store.server, store.query))
 File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
   return future.result()
 File "./articleinfo.py", line 168, in do_query
   await cur3.execute("SELECT * FROM actor WHERE actor_id IN (%s)" % ','.join(map(str, actor_ids)))  # actor_id, actor_user, actor_name
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/aiomysql/cursors.py", line 239, in execute
   await self._query(query)
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/aiomysql/cursors.py", line 457, in _query
   await conn.query(q)
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/aiomysql/connection.py", line 428, in query
   await self._read_query_result(unbuffered=unbuffered)
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/aiomysql/connection.py", line 622, in _read_query_result
   await result.read()
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/aiomysql/connection.py", line 1105, in read
   first_packet = await self.connection._read_packet()
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/aiomysql/connection.py", line 593, in _read_packet
   packet.check_error()
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/pymysql/protocol.py", line 220, in check_error
   err.raise_mysql_exception(self._data)
 File "/data/project/sigma/www/python/venv/lib/python3.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
   raise errorclass(errno, errval)
pymysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1")

Hope you can fix the problem and I'm grateful for the work you do to maintain tools like this one. —The Editor's Apprentice (talk) 19:37, 4 March 2022 (UTC)

Thanks, I fixed it. Now it should show you a better error message. Σσς(Sigma) 12:13, 7 March 2022 (UTC)

Arching failure due to blacklisted URL

Please take a look at this diff. The error message is unhelpful and does not specify which URL, nor even which section, is the cause. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:01, 8 March 2022 (UTC)

@Pigsonthewing: I don't know exactly which link it was, but I removed the "EL modified" threads and it seems to be unstuck now. GA-RT-22 (talk) 01:20, 26 March 2022 (UTC)

Who else manages your bots?

Since you've been less than active nowadays, do you know who else can manage your bots archiving any page using an archive bot? --George Ho (talk) 05:50, 14 March 2022 (UTC)

I manage the archive bot on English Wikipedia only. You are free to take the source code and adapt it to create your own archive bot for any other wiki, as long as you follow the licensing restrictions. Σσς(Sigma) 09:15, 29 March 2022 (UTC)