[Pywikipedia-bugs] [Maniphest] [Reopened] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-17 Thread PotsdamLamb
PotsdamLamb reopened this task as "Open". PotsdamLamb added a comment. @Xqt I just tried again, and I get the same errors. Here is the log: (Also still defaults me to test instead of logging into simple) **Notice** also that these are in different lines from the first error l

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-17 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt as long as it is before those two sections then I think we will be alright as it should default to being under notes due to placement. Let’s go ahead and push it and I’ll test it out. Thanks! TASK DETAIL https://phabricator.wikimedia.org/T362103 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-15 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt I did not realize you wanted me to review the patch until now. I looked at it, and I was confused. I want to ensure that notes will come before references (based on line 262). If that is the case, then we should be good to go with the push. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-15 Thread PotsdamLamb
PotsdamLamb added a comment. @JJMC89 @Xqt Does it have to do with me running my command against the image maintained by WMF (toolforge jobs run --image tool-pywikibot/pywikibot-scripts-stable:latest). Do I need to import everything into my tool again and use the local to run —command

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-12 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt It is if you look at the code above, that is what I put in that sends me to the test wiki. TASK DETAIL https://phabricator.wikimedia.org/T362103 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: PotsdamLamb Cc

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt Sorry to be a pain, but can you specify what I need to change in the following, please? I am somewhat technically adept but not a programmer. toolforge jobs run --image tool-pywikibot/pywikibot-scripts-stable:latest --command "pwb -family:wiki

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt for some reason it keeps defaulting me to test, even though I have specified simple in my user config file. # The family of sites to be working on. # Pywikibot will import families/xxx_family.py so if you want to change # this variable, you

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-10 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt This is what we use == Related Pages == (Our version of ENWPs see also) Footnotes get used mostly in infoboxes where called. Otherwise, they are in the notes list below, which can use any of the same ones ENWP does == Notes == (above

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-09 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt I am running it on simple as I am banned on en-wiki. We use the same format though, so I am unsure what you are asking. I figured it should pass through without issue, but it dies when it hits that error. TASK DETAIL https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Created] T362103: noreferences.py - Bug

2024-04-08 Thread PotsdamLamb
PotsdamLamb created this task. PotsdamLamb added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - I have the code correct, and it does log into simple wiki

[Pywikipedia-bugs] [Maniphest] [Commented On] T313785: Archive variables being changed onwiki and saved as such

2022-07-26 Thread PotsdamLamb
PotsdamLamb added a comment. @MarcoAurelio To get it to change back I had to delete my .pywikibot folder and then clone the master that left it at d, however, I have to run AWB to get all of the changes made from d to s back to d. TASK DETAIL https://phabricator.wikimedia.org/T313785

[Pywikipedia-bugs] [Maniphest] [Commented On] T313785: Archive variables being changed onwiki and saved as such

2022-07-26 Thread PotsdamLamb
PotsdamLamb added a comment. Bureaucrat - https://simple.wikipedia.org/wiki/User:Chenzw TASK DETAIL https://phabricator.wikimedia.org/T313785 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: PotsdamLamb Cc: matej_suchanek, MarcoAurelio, Xqt

[Pywikipedia-bugs] [Maniphest] [Commented On] T313785: Archive variables being changed onwiki and saved as such

2022-07-26 Thread PotsdamLamb
PotsdamLamb added a comment. Ok, so what will be the impact going forward? Will the stable version change the variable on wiki when released, or will it leave it as %d? I just need the solid answer as our BC wants to know before I can do more trials as it changed everyone's from d to s

[Pywikipedia-bugs] [Maniphest] [Commented On] T313785: Archive variables being changed onwiki and saved as such

2022-07-26 Thread PotsdamLamb
PotsdamLamb added a comment. matej_suchanek, I ran a test on my talk page and it again converted the "d" to "s" on wiki as you can see in this diff https://simple.wikipedia.org/w/index.php?title=User_talk:PotsdamLamb=revision=8362575=8362568=source. Before I

[Pywikipedia-bugs] [Maniphest] [Commented On] T313785: Archive variables being changed onwiki and saved as such

2022-07-26 Thread PotsdamLamb
PotsdamLamb added a comment. Also, from the trial run it had converted my %d to %s so that needs to be reverted as well. TASK DETAIL https://phabricator.wikimedia.org/T313785 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: PotsdamLamb Cc: Xqt

[Pywikipedia-bugs] [Maniphest] [Created] T313785: Archive variables being changed onwiki and saved as such

2022-07-26 Thread PotsdamLamb
PotsdamLamb created this task. PotsdamLamb added projects: Pywikibot-archivebot.py, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Run archivebot - - **What

[Pywikipedia-bugs] [Maniphest] [Commented On] T313682: pdlarchiver.py issue

2022-07-25 Thread PotsdamLamb
PotsdamLamb added a comment. Hey, so I did a test on one of our admin's talk page subpages, and it changes the actual variables in the user's config on the page: Before I ran it: "|archive = User talk:Auntof6/Newsletters/Archives/%(year)d %(month)d" After I ran it: "

[Pywikipedia-bugs] [Maniphest] [Commented On] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. Yes, if I try to use the master I get fatal: remote error: pywikibot/master unavailable TASK DETAIL https://phabricator.wikimedia.org/T313682 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, PotsdamLamb Cc: Xqt

[Pywikipedia-bugs] [Maniphest] [Updated] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. So I did both, including the pull, and it still shows I have the outdated version. Pywikibot: [https] r-pywikibot-core.git (8d74c1f <https://phabricator.wikimedia.org/rPWBC8d74c1fcf5e1c156de5de7e8d0ea1557af23c83b>, g1, 2022/07/22, 08:17:47, OU

[Pywikipedia-bugs] [Maniphest] [Commented On] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. I am on toolforge. Do I need to do a git pull again? TASK DETAIL https://phabricator.wikimedia.org/T313682 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, PotsdamLamb Cc: Xqt, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. So I did a test and now I got "TypeError: %d format: a number is required, not str" I made the change and put the d back in from the patch, now it is failing again. TASK DETAIL https://phabricator.wikimedia.org/T313682 EMAIL PREFERENC

[Pywikipedia-bugs] [Maniphest] [Reopened] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T313682 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, PotsdamLamb Cc: Xqt, Aklapper, pywikibot-bugs-list, #pywikibot-archivebot.py, PotsdamLamb,

[Pywikipedia-bugs] [Maniphest] [Commented On] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. Hey ran into another issue after your patch. It should be saving them as User talk:PotsdamLamb/Archives 1 instead, it is saving it as User talk:PotsdamLamb/Archives/1 or User talk:PotsdamLamb/Archives 1 (when I added a space between /Archives and /%(counter)s

[Pywikipedia-bugs] [Maniphest] [Commented On] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. No worries! Please let me know when you have it fixed, and I will run mine and see what happens. Should I change my variables back to "d"? TASK DETAIL https://phabricator.wikimedia.org/T313682 EMAIL PREFERENCES https://phabricator.wikimedia.or

[Pywikipedia-bugs] [Maniphest] [Commented On] T313692: archivebot fails due to wrong parsing templates

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. Hi, Xqt I got that too using the shared library but different line numbers: File "/data/project/shared/pywikibot/stable/scripts/archivebot.py", line 801, in main archiver.run() File "/data/project/shared/pywikibot/stable/script

[Pywikipedia-bugs] [Maniphest] [Commented On] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb added a comment. Xqt I am using the shared repository and I just am in progress of setting it up. Like I had stated it ran fine Thursday night on a test but then Friday morning I had not made the change yet on my page as I was trying to figure out what was going

[Pywikipedia-bugs] [Maniphest] [Created] T313682: pdlarchiver.py issue

2022-07-24 Thread PotsdamLamb
PotsdamLamb created this task. PotsdamLamb added a project: Pywikibot-archivebot.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - run "python3 /data/project/shared/pywi