User Details
- User Since
- Nov 8 2015, 8:24 AM (384 w, 6 d)
- Availability
- Available
- IRC Nick
- Dvorapa
- LDAP User
- Dvorapa
- MediaWiki User
- Dvorapa [ Global Accounts ]
Dec 17 2022
It seems this is the issue with Firefox blocking tracking cookies by default
I'll check how it currently behaves at Jan 1st (scheduled task) and close this if working. I'll check if it takes 2-3days as it did in 2021 and before and we'll see
Dec 6 2022
Dec 2 2022
(BTW it always took 2-3 days, last time in January 2022. In May 2022 it took 8 days. Now it takes 6 days and still is woking on categories starting with B)
The patch seems to help a little bit, it doesn't fail after a minute, but after few hours. And if I pass all exceptions, it is now extremely slow. It takes 6 days for one letter of the alphabet of cswiki categories, previously the whole cswiki was scanned in 2-3 days
Nov 18 2022
It seems this commit broke the behavior: rPWBC76cbce788c6db42b5285140d100245c8bdc3cd87, before it it still works as expected
Why does Category.members() calls Category.subcategories()? This seems to be completely wrong as subcategories() calls members() internally:
Reverting subcategories method to its state from May 2022 fixes the issue:
def subcategories(self, recurse: Union[int, bool] = False, total: Optional[int] = None, content: bool = False): """ Iterate all subcategories of the current category. :param recurse: if not False or 0, also iterate subcategories of subcategories. If an int, limit recursion to this number of levels. (Example: recurse=1 will iterate direct subcats and first-level sub-sub-cats, but no deeper.) :param total: iterate no more than this number of subcategories in total (at all levels) :param content: if True, retrieve the content of the current version of each category description page (default False) """ if not isinstance(recurse, bool) and recurse: recurse = recurse - 1 if not hasattr(self, '_subcats'): self._subcats = [] for member in self.site.categorymembers( self, member_type='subcat', total=total, content=content): subcat = Category(member) self._subcats.append(subcat) yield subcat if total is not None: total -= 1 if total == 0: return if recurse: for item in subcat.subcategories( recurse, total=total, content=content): yield item if total is not None: total -= 1 if total == 0: return else: for subcat in self._subcats: yield subcat if total is not None: total -= 1 if total == 0: return if recurse: for item in subcat.subcategories( recurse, total=total, content=content): yield item if total is not None: total -= 1 if total == 0: return
Nov 6 2022
Also there is python3-requests missing in Python pods (I know I can avoid that using venv, but this is https requests library, which is usually preferred to be installed locally installed due to security reasons). Would have to relocate my bot's environment to venv
Also there is gzip missing (Pywikibot needs that as well)
It is a blocker for me as I use ssh to git push on one of my projects
I see, should be mentioned at the image page and perhaps the redirect from commons should be changed too
Last time in May 7th. Result:
Last time in May 7th. Result:
If I remember correctly, last time I tried there was git not working properly in K8s, which is a blocker for DvorapaBot
Thanks @Multichill. Anyway, I check periodically every 3-6 months if the transition is possible, but there are still some issues with K8s and it waits for them to be resolved.
It waits for some issues with K8s to be resolved. I check periodically every 3-6 months if the transition is possible.
Nov 5 2022
It looks like rPWBC935f33205b730677a2be46200e021868995cb98a introduced this issue
Per wrapper.py docs, it should still be possible:
https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/scripts/wrapper.py$9
Sep 18 2022
Hi, just a reminder to update the schema in https://commons.wikimedia.org/w/index.php?title=File:MediaWiki_database_schema_latest.svg&redirect=no when the work is finished (or perhaps also after each of the normalizations?)
May 12 2022
I think you've summarized my thoughts pretty well. From my point of view, there came nothing good from mentoring novices, who never saw Pywikibot before and never used it on a wiki. Just losing time with those basically, as no one stayed with Pywikibot long-term and for me personally it was just too much energy for almost nothing. I had to teach them basics - how to use Pywikibot's scripts, Gerrit, Phabricator, Git, command line, wiki, Python, ... and what for?
I remember more interest at the 2019 Prague Wikimedia Hackathon came from people already using it / planning to use it on their task/project/wiki.
I am now starting to think that this might be better audience to reach as they are already familiar / getting familiar with Pywikibot and also might be more willing to stay contributing to Pywikibot, once they first try. Me and @matej_suchanek are good examples of such Pywikibot users, who started to contribute to the project as well. Such people might even need less mentoring as they dig in Pywikibot docs by themselves. So I would propose targetting such people / communities.
May 8 2022
May 7 2022
So my options are https or OAuth. Neither convenient :/
Feb 8 2022
Oh, I found the issue, you have already solved it in the new commit :)
@Xqt no problem. Pretty weird, I think there might have been an issue within command line parameter parsing code section. Have you found the cause already?
Feb 7 2022
It seems that the commit broke the basic functionality of the replace.py script.
Reverted in https://gerrit.wikimedia.org/r/c/pywikibot/core/+/760553 (see T301185)
Identified rPWBC15b2db3906276030b8b475c66c3d2ad4ce8eddc0 as a source of trouble. Reverting for now
Dec 9 2021
We can either ignore dependency check in Toolforge for pymysql, or wait until Debian devs add 0.7.11 to Stretch (never gonna happen), or wait until Toolforge updates to Buster (hopefully soon), or go back and revert the change, or release 7.0.0 after Toolforge updates to Buster. No solution is ideal but every solution is better than the current state.
WARNING: /mnt/nfs/labstore-secondary-tools-project/dvorapabot/pywikibot/pywikibot/pagegenerators.py:2815: FutureWarning: pymysql package release 0.7.10 is deprecated since release 7.0.0; use pymysql >= 0.7.11 instead.
Jun 15 2021
As I said earlier, we can do a workaround and "install" setuptools into a folder inside pywikibot folder, like we do with mwparserfromhell. I'll test my suggestion and if it will work, we don't have to revert anything.
Jun 14 2021
As a workaround we could temporarily install newer setuptools into /shared/pywikibot/setuptools, like we do with mwparserfromhell. Not sure if it will work this way though.
Jun 6 2021
May 29 2021
So to make this possible, I should activate beta feature in addition to discussion tools? Understood! But it should have been written in Tech News or somewhere, Tech News just said what you said here:
It’s already live, see Speciální:Nastavení#mw-prefsection-editing-discussion (setting Aktivovat experimentální nástroje v editoru zdrojového kódu…).
Still happens even after logout and browser cache clearance. I am logged in at cswiki. If I open mediawikiwiki, I have to click Login button. Sometimes it helps and I'm logged in, sometimes it requires a password even though I'm logged in at cswiki.
There is no such option for me
When this is going to be live on cswiki?
I had similar issue, installing mwparserfromhell and optimizing my script helped me.
May 21 2021
May 14 2021
May 1 2021
Yeah, when I run python pwb.py generate_user_files locally, it breaks on the same issue:
$ python pwb.py generate_user_files Traceback (most recent call last): File "/home/pavel/pywikibot5/pwb.py", line 199, in <module> import pywikibot as pwb File "/home/pavel/pywikibot5/pywikibot/__init__.py", line 22, in <module> from pywikibot import config as _config File "/home/pavel/pywikibot5/pywikibot/config.py", line 380, in <module> base_dir = get_base_dir() File "/home/pavel/pywikibot5/pywikibot/config.py", line 371, in get_base_dir raise RuntimeError(exc_text) RuntimeError: No user-config.py found in directory '/home/pavel/pywikibot5'. Please check that user-config.py is stored in the correct location. Directory where user-config.py is searched is determined as follows:
Apr 13 2021
Yes. Should I logout, login and try again?
Last few months this happens to me all the time, never before.
Mar 30 2021
It seems there are new changes in the repository. You should first update files in your computer, before uploading your changes to the repository. Make sure you use (git checkout master -> ) git pull ( -> git checkout <your branch name>)
Oct 25 2020
Jul 29 2020
I mean this is a fair point to me. Project Dashboards are much more novice-friendly than just list of open changes and a search field, for sure.
But that would just show all things (even abandoned) and not in distinct categories, which is usually quite cluttered. To me this is a huge regression, that perhaps bothers just me (as I was using the dashboard all the time), but as it does not bother anyone else, noone want to make effort to fix this.
Jul 22 2020
No sysopwiki/arbcomwiki is in Pwb yet I think, perhaps let's close it as declined until we decide to include them as a whole group
Jul 9 2020
(or find more stable wiki installation with unavailable api.php)
Reverted, the patch broke the test. It fails because the wiki has temporary server issues. Either leave the test as is or remove it at all.