Wikipedia talk:WikiProject edit counters/Flcelloguy's Tool

Latest comment: 12 years ago by Rsrikanth05 in topic Error

Regarding the namespaces that are listed here, the current ones are for en.wikipedia.org. However, the namespaces for other languages are very different (example). (though, as far as I can tell, I think they're all at most "word1 word2:"). The best way that I've figured out so far is to fetch the language files via CVS (a copy is here), and extract the entries somehow. --Interiot 04:34, 9 December 2005 (UTC)Reply

True. I haven't worked on inter-wiki operability yet. That'll have to wait until we have the tool working properly here, then deploy to other projects. Titoxd(?!? - did you read this?) 04:35, 9 December 2005 (UTC)Reply

Is there a .jar file I can download if I don't want to compile all that? — Ilγαηερ (Tαlκ) 15:55, 19 December 2005 (UTC)Reply

Not yet. (We'll work on that... :-) ) Flcelloguy (A note?) 17:15, 19 December 2005 (UTC)Reply

Could you give an elevator pitch on what the tool does? (I got that it reformats contributions page entries, but now what for) Thanks! ++Lar 00:10, 30 December 2005 (UTC)Reply

It basically does the same thing as the now-popular Interiot's Tool, but since it runs in your computer, instead of a remote web server, it is very unlikely that you'll be firewalled... :). It's under development right now, but any help is welcome... Titoxd(?!? - help us) 00:16, 30 December 2005 (UTC)Reply
CGI scripts can be run more or less privately as well. I'm not sure what the specific rules are about scraping, since edit-counting can be done with anything ranging from a human eye to a public webserver that gets tons of hits. I guess as long as you don't do a lot of traffic from a single IP, you're fine. *shrug* At least nobody has deleted User:Interiot/Tool2/code.js yet. (for what it's worth, if I were working without toolserver access, I would think that the .js version would be the best one to work on, because it's far easier for individual users to "install" and get running).
Anyway, do you have a screenshot of the current Java tool? --Interiot 02:34, 3 January 2006 (UTC)Reply
Shh! WP:BEANS! As for the screen shot, here's the UI: Titoxd(?!? - help us) 02:44, 3 January 2006 (UTC)Reply
Current GUI

Filespace offer still stands edit

Just drop me an email if and when... ++Lar: t/c 03:58, 27 January 2006 (UTC)Reply

Jar and webstart edit

I will later today build a JAR file and a webstart module, and see if I can get those working as media from wikipedia. KimvdLinde 12:52, 13 April 2006 (UTC)Reply

I just tried the JAR file that was added, but that does not run. I will dig into it for the moment. KimvdLinde 14:40, 13 April 2006 (UTC)Reply
I asked on IRC (#wikipedia); the directions worked for at least one person (Suisui). You need to download and run the batch file, too. If there's a better way, please go ahead and use that one. :) --AySz88^-^ 14:47, 13 April 2006 (UTC)\Reply
I just copy and pasted every source file from the page, but I seem to miss the StringBuilder classI will download the version 4 stuff. KimvdLinde 15:08, 13 April 2006 (UTC)Reply
Hummm, 1.5 java, not ready yet to go to there..... O well. KimvdLinde 15:31, 13 April 2006 (UTC)Reply

Sourceforge edit

Does anyone know about getting space on sourceforge? Then a lot more people might be able to contribute, and you'd have somewhere to put your jar files. enochlau (talk) 01:36, 14 April 2006 (UTC)Reply

I believe that SourceForge has to approve the project first, but that would make things a bit easier, true. Titoxd(?!? - help us) 19:33, 14 April 2006 (UTC)Reply
Well, we did get one: http://sourceforge.net/projects/wiki-flcelloguy/ is the address. Titoxd(?!? - help us) 02:15, 20 April 2006 (UTC)Reply

Scraping? edit

Does this work by HTML scraping? Are the devs going to get upset if people start using this in numbers while the toolserver is frozen out? -Splashtalk 15:09, 14 April 2006 (UTC)Reply

Yes, AFAIK, the only ways to do it are via the toolserver, or by HTML scraping. Also, the people to ask would be... the devs. While they've blocked one scraper before, it was blocked after the toolserver came back online, so it might be possible that they tolerate external counters more when the toolserver is down, but it's very well possible that they don't. --Interiot 15:32, 14 April 2006 (UTC)Reply
It can be turned off by request too, and it is designed not to be automated. Titoxd(?!? - help us) 18:33, 14 April 2006 (UTC)Reply

JAR file timing out edit

The JAR file download seems to be timing out; see the discussion at Wikipedia:Village pump (technical)#how are my edits broken down?. Is the site simply overloaded? Thanks! Flcelloguy (A note?) 01:34, 18 April 2006 (UTC)Reply

Okay okay, I can host it on the toolserver, even if I have to manually update it every day. How big is this sucker, and how to do you send it sans hosting? --Interiot 01:41, 18 April 2006 (UTC)Reply
About 70 KB. The current way is by copying the code and compile it, or wait until AySz88 turns on his computer (as it is hosted there for now). I have the development version of the tool - where do you want me to send it? Titoxd(?!? - help us) 01:43, 18 April 2006 (UTC)Reply
As far as I can tell, it's working right now, but I don't think it's possible for this to be a permanent solution.... I think my ISP might be blocking the port if they detect that an HTTP server's listening on it. If it goes down, please message me again, and you can contact me via an IM service if you like (see top of my talk page). :) --AySz88^-^ 05:43, 18 April 2006 (UTC)Reply
If you need these files mirrored somewhere else, please let me know. I'm perfectly happy to do this for you - e-mail me with the files and I'll set it up. Technical info: nathanr.com is indirectly hosted by Telecom Ottawa - the link is (not sure of the exact bandwidth) fibre connection so the connection won't drop anytime soon. —       nathanrdotcom (TCW) 20:37, 20 April 2006 (UTC)Reply
Actually, we got permanent hosting now in Sourceforge, but thanks for the offer. Titoxd(?!? - help us) 22:38, 20 April 2006 (UTC)Reply


Question edit

Hi, I'm wondering why I can see other people's post counts but I can't see mine. QuizQuick 19:26, 23 April 2006 (UTC)Reply

Not sure... your edit count ran without problems in my copy. Titoxd(?!? - help us) 19:29, 23 April 2006 (UTC)Reply


Other JREs edit

Will this work with kaffe? --maru (talk) contribs 04:52, 24 April 2006 (UTC)Reply

We haven't tried it, but if it is Java-based, it might. Titoxd(?!? - help us) 06:25, 24 April 2006 (UTC)Reply
 
Screenshot of the messed up GUI.
No good. :( I tried it with whatever was the latest jar file on Sourceforge today, and with kaffe it is rather screwed up. It did generate a lot of error message, though, like this:

(.:1424): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

java.lang.InternalError: GLib-GObject: g_object_unref: assertion `G_IS_OBJECT (object)' failed at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:native) at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:79) at java.lang.Throwable.fillInStackTrace (Throwable.java:498) at java.lang.Throwable.<init> (Throwable.java:159) at java.lang.Error.<init> (Error.java:81) at java.lang.VirtualMachineError.<init> (VirtualMachineError.java:71) at java.lang.InternalError.<init> (InternalError.java:70) at gnu.java.awt.peer.gtk.GtkImage.drawPixelsScaledFlipped (GtkImage.java:native) at gnu.java.awt.peer.gtk.GtkImage.drawImage (GtkImage.java:601) at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:254) at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:267) at javax.swing.RepaintManager.commitBuffer (RepaintManager.java:666) at javax.swing.JComponent.paintDoubleBuffered (JComponent.java:1837) at javax.swing.JComponent.paint (JComponent.java:1564) at java.awt.Container$GfxPaintVisitor.visit (Container.java:1899) at java.awt.Container.visitChild (Container.java:1714) at java.awt.Container.visitChildren (Container.java:1685) at java.awt.Container.paint (Container.java:766) at gnu.java.awt.peer.gtk.GtkComponentPeer.paintComponent (GtkComponentPeer.java:321) at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent (GtkComponentPeer.java:285) at java.awt.Component.dispatchEventImpl (Component.java:4968) at java.awt.Container.dispatchEventImpl (Container.java:1734) at java.awt.Window.dispatchEventImpl (Window.java:626) at java.awt.Component.dispatchEvent (Component.java:2320) at java.awt.EventQueue.dispatchEvent (EventQueue.java:474) at java.awt.EventDispatchThread.run (EventDispatchThread.java:75) at java.lang.VMThread.run (VMThread.java:123)

--maru (talk) contribs 15:43, 20 May 2006 (UTC)Reply
The JAR file there is screwy... have you tried downloading the uncompressed source code from CVS? That's what the latest development version we're running, so if there's no bugs, it's just a problem with the bytecode compression by Sun's Java. Titoxd(?!? - help us) 00:27, 23 May 2006 (UTC)Reply

Code edit

I tried to compile the code, but it misses FrameResult class. Where can I find it? Nuno Tavares 05:32, 10 May 2006 (UTC)Reply

That's for an old version... the current code is available through cvs at SourceForge, and will be copied back here when work on version 5.0 is done (currently underway). Titoxd(?!? - help us) 05:34, 10 May 2006 (UTC)Reply

Well, weird. Anonymous CVS is not allowed, and the proxy server gives 502. I'll try coming back later. Nuno Tavares 06:16, 10 May 2006 (UTC)Reply

Developer access is down too. SourceForge is down. Titoxd(?!? - help us) 06:44, 10 May 2006 (UTC)Reply

Language/Project support edit

Hi. I've made to some hardcoded changes to support pt:. I'm posting some diffs here so you can check the changes. You will need a combo selector for either project language and family (pt/en, wikipedia/wiktionary, etc), at any time, so perhaps it's a good moment to add it. Excuse the awful format of the diffs, I'm still looking for a nice diff program for Windows (I guess I'll have to get the DiffUtils, anyway :/). I also added an extra flag to skip the confirmation ("5000 got. Continue?") dialog, so the task can be fully UI independent. Nuno Tavares 09:36, 10 May 2006 (UTC)Reply

Just found out that the diff is incomplete. It misses 2 or 3 changes on the upper level. It's pretty straight forward, though, so I guess it doesn't worth it to remake the diffs (I have to do it one by one :S). Nuno Tavares 12:46, 10 May 2006 (UTC)Reply

Installation template edit

Is there a generic installation template for Wikipedia- the current way the installation guide is written was baffling even for me! EVOCATIVEINTRIGUE TALKTOME | EMAILME | IMPROVEME 18:23, 28 June 2006 (UTC)Reply

Graphs edit

A graphic representation of the frequency of edits, edits per month/hour of the day, et al, as seen in the no-longer updated Editcount would be a great addition, if it's not too much of a hassle. Porfyrios 15:42, 2 August 2006 (UTC)Reply

Currently being worked on, will be ready in the next major release, hopefully by the end of the week. <:) Titoxd(?!?) 23:12, 2 August 2006 (UTC)Reply
Can it output CSV yet? IMHO, that would be the end-all-be-all of graph options, since then the user can graph anything they could possibly want (eg. "edits by time of day, but only for edits to WP:ANI" or whatever they could dream of...). --Interiot 02:11, 3 August 2006 (UTC)Reply
The only problem I've found with CSV is that some pages have commas in their names, which throws off a reader... however, a tab-separated value output function is coded and works properly. We need a switch in the GUI to put it on, though... Titoxd(?!?) 02:17, 3 August 2006 (UTC)Reply

Deleted edits edit

Does this tool list the number of deleted edits (the edits that are discounted from the contributions list)? Carcharoth 15:08, 9 October 2006 (UTC)Reply

Crash!! edit

The tool is crashing for my login: Scheibenzahl. Here is the output: Crash trace:

PurgeContribs.getNextDiffs(PurgeContribs.java:263)
StatBundle.parseOverwriteFromSource(StatBundle.java:203)
StatBundle.parseFromConnection(StatBundle.java:152)
StatBundle.<init>(StatBundle.java:74)
Stats.mainDownload(Stats.java:108)
QueryFrame$process.run(QueryFrame.java:809)

Here is the output in terminal:

 Loading --
Bytes loaded: 232
Bytes loaded: 231
 -- DONE! Bytes read: 232; String length: 232
$globalConfigs:

killBit = true;
uberKillBit = {false, ''};
killBitVersion = {true, ''};

$killedVersionsBegin:
disableAllBefore = {490,'firewalled - please download current version'};
enableAllAfter = {500, ''};
$killedVersionsEnd:
null
 Loading --
Bytes loaded: 1813
Bytes loaded: 1812
 -- DONE! Bytes read: 1813; String length: 1813
-2 Media
-1 Special
0 Main
1 Talk
2 User
3 User talk
4 Wikipedia
5 Wikipedia talk
6 Image
7 Image talk
8 MediaWiki
9 MediaWiki talk
10 Template
11 Template talk
12 Help
13 Help talk
14 Category
15 Category talk
100 Portal
101 Portal talk
Loading http://en.wikipedia.org/w/index.php?title=Special:Export//&offset=nullnullnull999999
        from cache at time Fri Apr 20 13:57:13 CEST 2007
        -ms until cache expired: 599984
-2 Media
-1 Special
0 Main
1 Talk
2 User
3 User talk
4 Wikipedia
5 Wikipedia talk
6 Image
7 Image talk
8 MediaWiki
9 MediaWiki talk
10 Template
11 Template talk
12 Help
13 Help talk
14 Category
15 Category talk
100 Portal
101 Portal talk
 Loading --
Bytes loaded: 2092
Bytes loaded: 2572
Bytes loaded: 5468
Bytes loaded: 6668
Bytes loaded: 9812
Bytes loaded: 11260
Bytes loaded: 14156
Bytes loaded: 17052
Bytes loaded: 21148
Bytes loaded: 22844
Bytes loaded: 26940
Bytes loaded: 31036
Bytes loaded: 35132
Bytes loaded: 39228
Bytes loaded: 43324
Bytes loaded: 47420
Bytes loaded: 48908
Bytes loaded: 53004
Bytes loaded: 55900
Bytes loaded: 58796
Bytes loaded: 62892
Bytes loaded: 64588
Bytes loaded: 66036
Bytes loaded: 68932
Bytes loaded: 69844
Bytes loaded: 71292
Bytes loaded: 74188
Bytes loaded: 78284
Bytes loaded: 82380
Bytes loaded: 83828
Bytes loaded: 85276
Bytes loaded: 86724
Bytes loaded: 89620
Bytes loaded: 93716
Bytes loaded: 94420
Bytes loaded: 97316
Bytes loaded: 98516
Bytes loaded: 101412
Bytes loaded: 104308
Bytes loaded: 107204
Bytes loaded: 111300
Bytes loaded: 112996
Bytes loaded: 114444
Bytes loaded: 117340
Bytes loaded: 121436
Bytes loaded: 123132
Bytes loaded: 124580
Bytes loaded: 125740
Bytes loaded: 128388
Bytes loaded: 132484
Bytes loaded: 133932
Bytes loaded: 135380
Bytes loaded: 139476
Bytes loaded: 143572
Bytes loaded: 146716
Bytes loaded: 149612
Bytes loaded: 153708
Bytes loaded: 157060
Bytes loaded: 161156
Bytes loaded: 164052
Bytes loaded: 166700
Bytes loaded: 170796
Bytes loaded: 174892
Bytes loaded: 178036
Bytes loaded: 180932
Bytes loaded: 185028
Bytes loaded: 186724
Bytes loaded: 188628
Bytes loaded: 191524
Bytes loaded: 192972
Bytes loaded: 195868
Bytes loaded: 199964
Bytes loaded: 201660
Bytes loaded: 204556
Bytes loaded: 208652
Bytes loaded: 210348
Bytes loaded: 213244
Bytes loaded: 214692
Bytes loaded: 216140
Bytes loaded: 217588
Bytes loaded: 219036
Bytes loaded: 220484
Bytes loaded: 221932
Bytes loaded: 226028
Bytes loaded: 227476
Bytes loaded: 230620
Bytes loaded: 232068
Bytes loaded: 233516
Bytes loaded: 234964
Bytes loaded: 237390
Bytes loaded: 237389
 -- DONE! Bytes read: 237390; String length: 237390
Computing...
java.lang.ArrayIndexOutOfBoundsException: 5
        at PurgeContribs.getNextDiffs(PurgeContribs.java:263)
        at StatBundle.parseOverwriteFromSource(StatBundle.java:203)
        at StatBundle.parseFromConnection(StatBundle.java:152)
        at StatBundle.<init>(StatBundle.java:74)
        at Stats.mainDownload(Stats.java:108)
        at QueryFrame$process.run(QueryFrame.java:809)

Please have a look! :(--Scheibenzahl 11:57, 20 April 2007 (UTC)Reply

Help Needed Here! edit

Whenever I run the applet, I get the message:

Crash trace:
PurgeContribs.getNextDiffs(PurgeContribs.java:263)
StatBundle.parseOverwriteFromSource(StatBundle.java:203)
StatBundle.parseFromConnection(StatBundle.java:152)
StatBundle.<init>(StatBundle.java:74)
Stats.mainDownload(Stats.java:108)
QueryFrame$process.run(QueryFrame.java:809)

Is there something I'm doing wrong? Please take a look at this. Nonagonal Spider 07:13, 28 April 2007 (UTC)Reply

This probably has to do with the modifications done to Special:Contributions. I'll have a look at it, try to figure out what the problem is, and if necessary, patch it up and throw a new release in. Does this occur with the latest version? Titoxd(?!? - cool stuff) 07:34, 28 April 2007 (UTC)Reply
Yes, its the latest version. Will I be able to use previus versions in the meantime? Nonagonal Spider 05:02, 29 April 2007 (UTC)Reply
Not really, because they didn't work with the new Special:Contributions architecture. I've released a bugfix now. Titoxd(?!? - cool stuff) 02:05, 10 May 2007 (UTC)Reply

v5.00 crashing edit

I tried running v5.00 on my own username, and used the default settings. Everything seemed fine for a while - the "Bytes loaded" figure was rising rapidly - but then I got this output:

Crash trace:
java.util.StringTokenizer.nextToken(Unknown Source)
PurgeContribs.Parse(PurgeContribs.java:103)
StatBundle.parseOverwriteFromSource(StatBundle.java:218)
StatBundle.parseFromConnection(StatBundle.java:152)
StatBundle.<init>(StatBundle.java:74)
Stats.mainDownload(Stats.java:108)
QueryFrame$process.run(QueryFrame.java:809)

At this point a blue window entitled "Flcelloguy'a Tool" with a single "Document" menu was visible behind the "New Query 1" window, but no sign of any actual data, graphs etc. Loganberry (Talk) 15:03, 9 May 2007 (UTC)Reply

It is fixed in the development version in CVS; however, I'll be making a JAR file of it when I get home later today. Titoxd(?!? - cool stuff) 20:13, 9 May 2007 (UTC)Reply
Fixed. Your edit counter will tell you all about it, though, as the buggy version is "killbit"-ted. :) Titoxd(?!? - cool stuff) 02:05, 10 May 2007 (UTC)Reply
It works fine now as v5.10, thanks. What do you mean by "Your edit counter will tell you all about it", though? (Or "killbitted", come to that!) Loganberry (Talk) 15:20, 10 May 2007 (UTC)Reply
That editcounters running v5.00 will show an error message, because that particular version has been disabled from the server. That way, I don't have to tell everyone who has downloaded that version... Titoxd(?!? - cool stuff) 02:48, 11 May 2007 (UTC)Reply
I got v5.10 working here for a bit, but when I went to check the contribs of pt:User:PatríciaR (with Time Axis Resolution of "1 Days" (sic)), I got the following:
Crash trace:
StatBundle.parseOverwriteFromSource(StatBundle.java:222)
StatBundle.parseFromConnection(StatBundle.java:159)
StatBundle.<init>(StatBundle.java:81)
Stats.mainDownload(Stats.java:116)
QueryFrame$process.run(QueryFrame.java:848)
  — Jeff G. (talk|contribs) 04:43, 19 August 2007 (UTC)Reply

v5.10 Crashing edit

I'm having the same problem as listed above... When doing an edit count (all users I've tried) it connects and starts loading bytes, and before it gets as high as it should:

Crash trace:
StatBundle.parseOverwriteFromSource(StatBundle.java:222)
StatBundle.parseFromConnection(StatBundle.java:159)
StatBundle.<init>(StatBundle.java:81)
Stats.mainDownload(Stats.java:116)
QueryFrame$process.run(QueryFrame.java:848)

I updated my Java to JRE 1.5.0 update 12 and still have the problem. v5.00 worked fine. /Blaxthos 07:24, 30 August 2007 (UTC)Reply

Additional testing on Vista32 also yields the same crash. When I do a local analysis instead of via download, I get this:

Crash trace:
StatBundle.parseFromSingleLocal(StatBundle.java:318)
Stats.editcount(Stats.java:245)
Stats.mainSingle(Stats.java:131)
QueryFrame$process.run(QueryFrame.java:852)

Any help is appreciated. /Blaxthos 09:28, 30 August 2007 (UTC)Reply

Does anyone still monitor or update this page? /Blaxthos 19:53, 13 September 2007 (UTC)Reply
Yeah, only I haven't had a chance to look at the problem. I'll try to do that ASAP. Titoxd(?!? - cool stuff) 21:02, 13 September 2007 (UTC)Reply
Ping Is this project still alive? Where are we on this bug?  ;-) /Blaxthos ( t / c ) 07:10, 27 January 2008 (UTC)Reply
Fixed, a year later... Titoxd(?!? - cool stuff) 08:44, 30 May 2008 (UTC)Reply

v5.20 Crashing edit

With my new computer, running Vista Home Premium Service Pack 1, 64-bit, and the Java SE Development Kit 6u13 (jdk-6u13-windows-x64-p.exe from the "Java SE Development Kit (JDK)" "Download" link here), checking my own contributions (en-wp) with default settings, I got the following:

Crash trace:
StatBundle.parseOverwriteFromSource(StatBundle.java:222)
StatBundle.parseFromConnection(StatBundle.java:159)
StatBundle.<init>(StatBundle.java:81)
Stats.mainDownload(Stats.java:116)
QueryFrame$process.run(QueryFrame.java:848)

  — Jeff G. (talk|contribs) 01:10, 13 May 2009 (UTC)Reply

got also a crash massage:

Crash trace:
PurgeContribs.getNextDiffs(PurgeContribs.java:272)
StatBundle.parseOverwriteFromSource(StatBundle.java:212)
StatBundle.parseFromConnection(StatBundle.java:159)
StatBundle.<init>(StatBundle.java:81)
Stats.mainDownload(Stats.java:116)
QueryFrame$process.run(QueryFrame.java:848)

operating winXP(32bit) SP3, running java Build 1.6.0_21-b07 (it is only the JRE, not the JDK, maybe this is the problem). --Shadak (talk) 20:15, 3 October 2010 (UTC)Reply

installed the JDK...got the same crashmessage...--Shadak (talk) 20:48, 3 October 2010 (UTC)Reply
another try under win764bit gives me the same error... --Shadak (talk) 20:45, 4 October 2010 (UTC)Reply


Crash trace:
StatBundle.parseOverwriteFromSource(StatBundle.java:222)
StatBundle.parseFromConnection(StatBundle.java:159)
StatBundle.<init>(StatBundle.java:81)
Stats.mainDownload(Stats.java:116)
QueryFrame$process.run(QueryFrame.java:848)

Win 7 Pro SP1 (64 bit), JRE 1.6.0_22-b04 --Tgr (talk) 18:45, 24 June 2011 (UTC)Reply

Running it from the console says it is actually an ArrayIndexOutOfBoundsException. --Tgr (talk) 18:48, 24 June 2011 (UTC)Reply

Error edit

I get an error in the text tab saying:

Crash trace:
StatBundle.parseOverwriteFromSource(StatBundle.java:222)
StatBundle.parseFromConnection(StatBundle.java:159)
StatBundle.<init>(StatBundle.java:81)
Stats.mainDownload(Stats.java:116)
QueryFrame$process.run(QueryFrame.java:848)

--Rsrikanth05 (talk) 16:25, 1 April 2012 (UTC)Reply