Jump to content

User talk:Gracenotes/Java code

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by JackPotte (talk | contribs) at 21:44, 12 February 2012 (Created page with '== Problems == I've tried this bot on Wikibooks, and I've got two problems: # Impossible to login, whereas it works with the same user and password in my Python ...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Problems

I've tried this bot on Wikibooks, and I've got two problems:

  1. Impossible to login, whereas it works with the same user and password in my Python scripts.
  2. When I comment the two return; supposed to block the editions when not logged, I've got this:
C:\Program Files (x86)\Java\bot>java WikiEditTest
Not logged in
Not logged in.
Exception in thread "main" java.lang.IllegalStateException: No match found
        at java.util.regex.Matcher.group(Unknown Source)
        at WikiEdit.editPage(WikiEdit.java:99)
        at WikiEditTest.main(WikiEditTest.java:17)

JackPotte (talk) 21:44, 12 February 2012 (UTC)[reply]