User talk:Crazycomputers/VandalSniper
From Wikipedia, the free encyclopedia
[edit] Version 11 segfault
Hi Chris,
VandalSniper is crashing on me. Any more debugging information I can you provide you with? If you want to talk directly to me via IM, you can find all my contact details at my homepage. http://www.cse.unsw.edu.au/~alau/
% ./vs.exe (Gecko:7588): GLib-GObject-WARNING **: gsignal.c:1739: instance `0x843d9f8' has no handler with id `474' ** (Gecko:7588): WARNING **: The following assembly referenced from /usr/local/vandalsniper-11/vs.exe could not be loaded: Assembly: System.Web (assemblyref_index=7) Version: 1.0.5000.0 Public Key: b03f5f7f11d50a3a The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/local/vandalsniper-11/). ** (Gecko:7588): WARNING **: Missing method HtmlDecode in assembly /usr/local/vandalsniper-11/vs.exe, type System.Web.HttpUtility ** ERROR **: file mini.c: line 9665 (mono_jit_compile_method_inner): should not be reached aborting... zsh: abort (core dumped) ./vs.exe % dpkg -l mono libgtk2.0-cil libglade2.0-cil libgecko2.0-cil Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=============================-=============================-========================================================================== ii libgecko2.0-cil 0.11-3 CLI binding for the GtkMozEmbed library, unstable version ii libglade2.0-cil 2.8.2-2 CLI binding for the Glade libraries 2.6 ii libgtk2.0-cil 2.8.2-2 CLI binding for the GTK+ toolkit 2.8 ii mono 1.1.13.6-4 Mono CLI (.NET) runtime
I'm running Debian unstable.
Cheers, Netsnipe CVU (Talk) 05:12, 1 July 2006 (UTC)
- You also need to install
libmono1.0-cil
(which I forgot to mention). --Chris (talk) 08:11, 1 July 2006 (UTC)
After installing libmono1.0-cil:
% ./vs.exe (Gecko:20151): GLib-GObject-WARNING **: gsignal.c:1739: instance `0x843d9f8' has no handler with id `474' ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Stacktrace: in (wrapper managed-to-native) Gtk.Application:gtk_main () <0x4> in (wrapper managed-to-native) Gtk.Application:gtk_main () <0xffffffe7> in Gtk.Application:Run () <0x7> in VandalSniper.MainWindow:.ctor () <0xd00> in VandalSniper.MainWindow:Main (string[]) <0x16> in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0x4f2327> Native stacktrace: /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xeb) [0xa7d8e92b] /usr/lib/libmono.so.0 [0xa7d4f70d] [0xffffe440] /usr/lib/libxul.so.0d [0xa656a457] /usr/lib/libxul.so.0d [0xa6545484] /usr/lib/libxul.so.0d [0xa5d7640e] /usr/lib/libxul.so.0d [0xa5db52e5] /usr/lib/libxul.so.0d [0xa5db6bfa] /usr/lib/libxul.so.0d(_Z14CallGetServicePKcRK4nsIDPPv+0x40) [0xa5d73da0] /usr/lib/libxul.so.0d(_ZNK33nsGetServiceByContractIDWithErrorclERK4nsIDPPv+0x30) [0xa5d73de0] /usr/lib/libxul.so.0d(_ZN13nsCOMPtr_base36assign_from_gs_contractid_with_errorERK33nsGetServiceByContractIDWithErrorRK4nsID+0x25) [0xa5d738c5] /usr/lib/libxul.so.0d(_Z29NS_CreateServicesFromCategoryPKcP11nsISupportsS0_+0x214) [0xa5daf884] /usr/lib/libxul.so.0d [0xa62157ca] /usr/lib/libxul.so.0d [0xa61f653e] /usr/lib/libxul.so.0d [0xa622c159] /usr/lib/libxul.so.0d [0xa6263e05] /usr/lib/libxul.so.0d [0xa6266367] /usr/lib/libxul.so.0d [0xa62664a6] /usr/lib/libxul.so.0d [0xa5f6142a] /usr/lib/libxul.so.0d [0xa5f64e7f] /usr/lib/libxul.so.0d [0xa5f651b3] /usr/lib/libxul.so.0d [0xa5f656d2] /usr/lib/libxul.so.0d [0xa5f621c4] /usr/lib/libxul.so.0d [0xa5f775c2] /usr/lib/libxul.so.0d [0xa5f7a14a] /usr/lib/libxul.so.0d [0xa5f792dc] /usr/lib/libxul.so.0d [0xa5f7666b] /usr/lib/libxul.so.0d [0xa5f7abc4] /usr/lib/libxul.so.0d(PL_HandleEvent+0x27) [0xa5dba9f7] /usr/lib/libxul.so.0d(PL_ProcessPendingEvents+0x59) [0xa5dbad09] /usr/lib/libxul.so.0d [0xa5dbcb8e] /usr/lib/libxul.so.0d [0xa65b64a5] /usr/lib/libglib-2.0.so.0 [0xa7cd07ef] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x16c) [0xa7ca7e2c] /usr/lib/libglib-2.0.so.0 [0xa7cab176] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1b7) [0xa7cab537] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xc1) [0xa6e384e1] [0xa468f177] [0xa468f138] [0xa787c641] [0xa787a997] [0xa787a823] /usr/lib/libmono.so.0 [0xa7d6cb20] /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xa7dd1703] /usr/lib/libmono.so.0(mono_runtime_exec_main+0x6b) [0xa7dd469b] /usr/lib/libmono.so.0(mono_runtime_run_main+0x18c) [0xa7dd7c1c] /usr/lib/libmono.so.0(mono_jit_exec+0x8e) [0xa7d7fd6e] /usr/lib/libmono.so.0(mono_main+0x94f) [0xa7d8077f] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0) [0xa7b06eb0] /usr/bin/cli [0x8048471] zsh: abort ./vs.exe
-- Netsnipe CVU (Talk) 08:59, 1 July 2006 (UTC)
- Hmm odd, seems GTK+ is unhappy about something. Give me a bit to set up a sid chroot and I'll see what's up. --Chris (talk) 01:00, 2 July 2006 (UTC)
- I can confirm this. It seems to occur right as Gecko# tries to render anything, which makes me thing that
libgecko2.0-cil
isn't depending on something that it needs. --Chris (talk) 01:45, 2 July 2006 (UTC)
- In the meantime you can get the old version of libgecko2.0-cil by running the following as root:
apt-get install mozilla-browser #libgecko2.0-cil-0.11-2 depends on this wget http://snapshot.debian.net/archive/2006/03/21/debian/pool/main/g/gecko-sharp2/libgecko2.0-cil_0.11-2_all.deb dpkg -i libgecko2.0-cil_0.11-2_all.deb echo libgecko2.0-cil hold | dpkg --set-selections
- This will install the old version and mark it as held so that a dist-upgrade won't pull the buggy one back in. This successfully fixed the segfault in the chroot I set up. --Chris (talk) 05:49, 2 July 2006 (UTC)
- I had the same error as Netsnipe's last post, and this got me going. Thanks for the troubleshooting help. -- Omicronpersei8 (talk) 21:31, 17 July 2006 (UTC)
[edit] Windows
Are you trying to create a Windows version of VandalSniper? Currently, I'm using VandalProof. --Bigtop 20:48, 3 August 2006 (UTC)
- As mentioned at WP:SNIPE the current release should work on Windows (with the exception of one needed DLL). The problem is that there are no Windows builds of GTK+ 2.8, which is required to run VandalSniper on Windows. --Chris (talk) 20:52, 3 August 2006 (UTC)
-
- Why couldn't it work with this port? fetofs Hello! 20:27, 6 August 2006 (UTC)
-
-
-
- It may be my own fault, but I have been unsuccessful in getting VS to work with this port on Windows 2000. -- Omicronpersei8 (talk) 21:44, 10 August 2006 (UTC)
-
-
[edit] This might interest you
re multi-user coordination: http://bugzilla.wikimedia.org/show_bug.cgi?id=5434 Phr (talk) 11:40, 4 August 2006 (UTC)
[edit] Linux (Knoppix) Installation Guide
With the approval of Crazycomputers, I have expanded a guide I made for setting up VandalSniper outside of Windows on my talk page and have moved it to a subpage in my user space. Hopefully, this will be a resource for people who want to give VandalSniper a try but aren't Linux experts. It will require you to first download and burn Knoppix to a CD, reboot into the new environment, and then connect to the Internet through it. Beyond that, the twelve steps I've listed are fairly straightforward.
The guide is at User:Omicronpersei8/VandalSniper installation. -- Omicronpersei8 (talk) 00:10, 5 August 2006 (UTC)
[edit] Preferences
Hi, Chris -- first, I really like your new "intel" feature in revision 47. Looks like you've made things even more ridiculously fast.
My question is regarding a problem I've had since the beginning and should probably know better than to have to ask about: should my "preferences" and "vandalism log" menu options work? Are they incomplete, or do I just not have the needed Gnome libraries installed? -- Omicronpersei8 (talk) 21:43, 10 August 2006 (UTC)
- No, they have never worked. They're there mainly to remind me to write those features someday. =) --Chris (talk) 22:45, 10 August 2006 (UTC)
- Okay, thanks for clearing that up. Keep up the good work. -- Omicronpersei8 (talk) 22:49, 10 August 2006 (UTC)
- Oh, and thank you thank you thank you for making rollbacked users automatically go on the hitlist. -- Omicronpersei8 (talk) 21:30, 11 August 2006 (UTC)
[edit] Name?
Might I suggest that "VandalSniper" might not be the best choice of name for this thing? Perhaps something that doesn't carry some rather unpleasant connotations in many places would be more appropriate? Kirill Lokshin 02:02, 12 August 2006 (UTC)
- Maybe. I'm not inclined to change it though, unless someone complains about it. It's a tool that will be used by a minority of Wikipedians, primarily on the English Wikipedia. --Chris (talk) 02:09, 12 August 2006 (UTC)
-
- Hmm, it seems that subtlety is the wrong approach to take here. My apologies; I'll try to be more direct: a "sniper" tool which lets you add users to a "hitlist" is a very bad idea. Please change the nomenclature. Kirill Lokshin 02:19, 12 August 2006 (UTC)
-
-
-
- VandalProof/Mono? VandalProof#? It's not like there are trademark concerns with the original name. Kirill Lokshin 02:44, 12 August 2006 (UTC)
-
-
-
-
-
-
- It's not that much like VandalProof. -- Omicronpersei8 (talk) 02:45, 12 August 2006 (UTC)
-
-
-
-
-
-
-
-
- Well, I'm sure that you can think of plenty of other names that don't involve unsavory metaphors. Kirill Lokshin 02:52, 12 August 2006 (UTC)
-
-
-
-
-
-
- As a user of the tool (and Crazycomputers is welcome to correct me here), the name is really a very minor point. The use of "sniper" in the program seems to be analogous to "watchlist". When activity is detected, the following message appears: "The sniper has detected activity." That's pretty much it. "Hitlist" also seems relatively innocent to me. It seems like a logical nomenclature to use so as to not confuse the feature with a user's watchlist. I do understand your concern about the connotation of the name, though, but I don't really think there's a "kill vandals" metaphor going on here. -- Omicronpersei8 (talk) 02:26, 12 August 2006 (UTC)
-
-
-
-
- Quite honestly, I'm having trouble imagining how much more explicit the metaphor could be. Kirill Lokshin 02:44, 12 August 2006 (UTC)
- Although I dont use VS, I dont see a catastrophic issue here. Snipers, in fact, wait around until there is someone to shoot, yes, and is analogous to clicking a mouse button. Also, a hitlist is the same as VandalProofs black list. Nothing more. To take it as offensive or otherwise, in your words Kirill, as having unpleasant connotations, would be to assign qualities where there is a lack thereof. Regards. SynergeticMaggot 03:06, 12 August 2006 (UTC)
- I agree with Kirill here; the killing metaphor bothers me. Snipers kill people. A hitlist is a list of people to kill. Granted we are just reverting vandalism, but what's wrong with "VandalScope" (as Netsnipe suggested), and "blacklist"? --Fang Aili talk 14:26, 26 September 2006 (UTC)
- Quite honestly, I'm having trouble imagining how much more explicit the metaphor could be. Kirill Lokshin 02:44, 12 August 2006 (UTC)
-
-
[edit] Feature Request
Hi Chris, great work so far on VandalSniper! After using it for the past week, I've noticed something that slows me down when doing RC patrol. It would be useful, when selecting a page from Recent Changes, if the field focus was kept in the Recent Changes ListView, rather than being handed off to the browser. That would allow the user to use the down arrow to cycle through each page rather than requiring a repetitive mouse click. Hagerman(talk) 16:30, 13 August 2006 (UTC)
- I will see if I can change this. However, the browser seems to request focus automatically when a page finishes loading, so I will have to figure out how to circumvent this. --Chris (talk) 02:45, 16 August 2006 (UTC)
[edit] VandalSniper 49 error
Hi Chris. Thanks for approving me for usage of your program. Unfortunately, I can't get it working yet. I am using Debian sid (unstable). At first, the main window opened before crashing. Now it doesn't get to show the window at all, and with the following output:
bash:~/apps/vandalsniper-49$ ./vs.exe Unhandled Exception: Glade.HandlerNotFoundException: The handler for the event ButtonPressEvent should take '(System.Object,Gtk.ButtonPressEventArgs)', but the signature of the provided handler ('on_ebxSniperNotify_button_press_event') is '(System.Object,System.EventArgs)' at SignalConnector.ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x00339> at (wrapper native-to-managed) SignalConnector.ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x00040> in (unmanaged) 0xb6c1898b at (wrapper managed-to-native) SignalConnector.glade_xml_signal_autoconnect_full (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr) <0x00004> at SignalConnector.Autoconnect () <0x00059> at Glade.XML.Autoconnect (object) <0x00042> at VandalSniper.MainWindow..ctor () <0x00354> at VandalSniper.MainWindow.Main (string[]) <0x00016>
Thanks. # Ido50 (talk to me), at 12:01, 7 September 2006 (UTC)
- Are you using libgecko2.0-cil version 0.11-2? One of the most prevalent bugs so far has involved using version 0.11-3, which currently doesn't work. Also, of course, make sure you've got the other required libraries installed (as well as
libnspr4
andmozilla-browser
). -- Omicronpersei8 (talk) 12:33, 7 September 2006 (UTC)
This isn't related to Gecko# at all, but it may be related to the newer version of mono that is in unstable. I will set up a chroot and see if I can patch this later today. Also please note that VS <= 49 will require libgecko2.0-cil 0.11-2, and VS > 49 will require 0.11-3. --Chris (talk) 20:01, 7 September 2006 (UTC)
- Actually yes, after reading the problem you described ("the main window opened before crashing") the newer Gecko# is exactly the problem. However, I haven't seen the exception you describe before. Did you upgrade mono in between trying to run VS? --Chris (talk) 20:03, 7 September 2006 (UTC)
-
-
-
- I've confirmed and fixed this bug. However a release may take a day or so while I stomp out more compatibility bugs between VS and libxul. Note that, as mentioned above, you will in fact need the latest libgecko2.0-cil (not 0.11-2) for VS revisions > 49, so you may want to leave that package as it was. --Chris (talk) 16:00, 8 September 2006 (UTC)
-
-
I just did a system reinstall and had the exact same error, so it looks like this is far from an isolated thing that one person just happened to experience. I kept messing around with dpkg
for a couple of hours and eventually it worked. I'll post my library versions in a bit, and maybe that will be a help. -- Omicronpersei8 (talk) 03:48, 19 September 2006 (UTC)
- Okay, that idea was way too difficult. Basically, I resolved the problem by installing all the standard libraries mentioned on the VandalSniper page plus reinstallation of stuff like libglib2.0-0 and libglib2.0-dev, and then I ran
apt-get -f install
when everything broke over and over. At first, I spent a while installing old packages from a system with a working installation, but I can't confirm whether that did any good or not. Either way, things are working now, except I seem to lose all connectivity about every ten minutes. That is, the IRC feed still comes in, but page loading appears to begin and never completes. (Please, don't bother troubleshooting this, it's probably an isolated incident.) -- Omicronpersei8 (talk) 15:05, 19 September 2006 (UTC)
I'm getting the same error. I already downgraded libgecko2-cli, so if someone can post specifics on how to fix, that would be great. - Stephanie Daugherty (Triona) - Talk - Comment - 20:27, 21 October 2006 (UTC)
stephanie@marian:~/Desktop/vandalsniper-49/vandalsniper-49$ ./vs Unhandled Exception: Glade.HandlerNotFoundException: The handler for the event ButtonPressEvent should take '(System.Object,Gtk.ButtonPressEventArgs)', but the signature of the provided handler ('on_ebxSniperNotify_button_press_event') is '(System.Object,System.EventArgs)' at SignalConnector.ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x004a5> at (wrapper native-to-managed) SignalConnector.ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x0008f> in (unmanaged) 0x3f86c0a0d5 at (wrapper managed-to-native) SignalConnector.glade_xml_signal_autoconnect_full (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr) <0x0000e> at SignalConnector.Autoconnect () <0x0006f> at Glade.XML.Autoconnect (object) <0x00058> at VandalSniper.MainWindow..ctor () <0x003d5> at VandalSniper.MainWindow.Main (string[]) <0x00021>
Here are dependency versions for a working VS setup. I realize this may not help in the end but I will add to this later as I work on figuring out where the problem is. Hopefully I will be able to make a working guide for Debian setup in my userspace soon (I already have one for Knoppix there if anyone's interested).
$ dpkg -l mono libmono1.0-cil libgtk2.0-cil libglade2.0-cil libgecko2.0-cil libnspr4 mozilla-browser Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==================-==================-==================================================== ii libgecko2.0-cil 0.11-2 CLI binding for the GtkMozEmbed library, unstable ve ii libglade2.0-cil 2.8.2-2 CLI binding for the Glade libraries 2.6 ii libgtk2.0-cil 2.8.3-1 CLI binding for the GTK+ toolkit 2.8 ii libmono1.0-cil 1.1.13.8-1 Mono libraries (1.0) ii libnspr4 1.7.13-0.3 Netscape Portable Runtime Library ii mono 1.1.13.8-1 Mono CLI (.NET) runtime ii mozilla-browser 1.7.13-0.3 The Mozilla Internet application suite - core and br
-- Omicronpersei8 (talk) 20:15, 23 October 2006 (UTC)
- identical problem on ubuntu edgy (6.10) with libgecko downgraded. my dependency list looks like:
libgecko2.0-cil 0.11-2 libglade2.0-cil 2.10.0-0ubuntu2 libgtk2.0-cil 2.10.0-0ubuntu2 libmono1.0-cil 1.1.17.1-1ubuntu7 libnspr4 1.firefox2.0+0dfsg-0ubuntu3 mono 1.1.17.1-1ubuntu7 mozilla-browser 1.7.13-0.2ubunt
yet i still get the Glade.HandlerNotFoundException: error. i really don't want to downgrade all of the packages you suggest. any suggestions? also... is there a version higher than 49 that works with libgecko 11-3?frymaster 17:48, 24 November 2006 (UTC)
-
- Try the library zip here: #VandalSniper_49_on_Debian_Sid -- Omicronpersei8 (talk) 01:35, 25 November 2006 (UTC)
[edit] Does this run in Windows as well as Linux?
—$ΡЯΙNGεrαgђ (-¢|ε|Ŀ|T|♫-) 15:06, 8 September 2006 (UTC)
- Eventually it will. The only obstacle is the transition the libraries are going through. The Linux versions are built much more frequently than the Windows ones, meaning that by the time you get ahold of the latest Windows builds of all the libraries, VS isn't compatible with at least one of them anymore. As the library ABI stabalizes VS will be easier to run on Windows. --Chris (talk) 15:54, 8 September 2006 (UTC)
[edit] Functionality questions
Hi there. I'm currently developing an OSX vandal monitor named WikiGuard. I wanted to grab the text from the actual changes to help determine whether an edit is vandalism, but #en.wikipedia on browne doesn't contain this information. I thought it wouldn't be possible.
But I see in the features list that VandalSniper can count the number of profanities, etc (P:n, S:n, L:n). Do you mind if I ask how you're obtaining this information? The source isn't available for VandalSniper, I gather, but any help in the right direction would be greatly appreciated. --BradBeattie 03:02, 15 October 2006 (UTC)
- I fetch each diff link and analyze it. Not the best for bandwidth, but it works. --Chris (talk) 09:25, 15 October 2006 (UTC)
Ah, thanks for the info. I figured it was either something like that or some direct read-only access to the database. The latter would have been awesome and clearly the best solution. I guess it'd be possible to do an html-only fetch to help keep the bandwidth usage down. Anywho, thanks for the help. Cheers. --BradBeattie 10:39, 15 October 2006 (UTC)
[edit] Ubuntu
I use Ubuntu, yet am a complete moron when it comes to installing new software. I get this error running the command:
celestianpower$ sudo apt-get install mono libmono1.0-cil libgtk2.0-cil libglade2.0-cil libgecko2.0-cil Password: Reading package lists... Done Building dependency tree... Done E: Couldn't find package libmono1.0-cil
Help? Regards, —Celestianpower háblame 20:50, 22 October 2006 (UTC)
- Try
apt-cache search mono|less
to find it (less
will slow down the torrent of results you may get); it must be under another name. I haven't really used Ubuntu, myself, but that should help. -- Omicronpersei8 (talk) 20:55, 22 October 2006 (UTC) - Actually, you're probably not finding the package because you don't have the proper sources set up in
/etc/apt/sources.list
. Make sure you've got "stable" and "testing" sources set up – this URL might help: http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html
Let me know if this still doesn't fix it. -- Omicronpersei8 (talk) 21:06, 22 October 2006 (UTC)
deb http://mirrors.kernel.org/debian/ stable main contrib non-free deb-src http://mirrors.kernel.org/debian/ stable main contrib non-free deb http://mirrors.kernel.org/debian/ testing main contrib non-free deb-src http://mirrors.kernel.org/debian/ testing main contrib non-free deb http://security.debian.org/ stable/updates main
-
-
- That is the content of my
/etc/apt/sources.list
(at least, for the stable and testing sources). Try using that; I think those are the only sources you need (i.e. I don't think you need the "unstable" source). -- Omicronpersei8 (talk) 21:55, 22 October 2006 (UTC) - And don't forget to run
apt-get update
after these changes before retrying the install. -- Omicronpersei8 (talk) 22:02, 22 October 2006 (UTC)
- That is the content of my
-
celestianpower$ sudo apt-get install mono libmono1.0-cil libgtk2.0-cil libglade2.0-cil libgecko2.0-cil Reading package lists... Error! E: Dynamic MMap ran out of room E: Error occurred while processing effectv (NewVersion1) E: Problem with MergeList /var/lib/apt/lists/mirrors.kernel.org_debian_dists_testing_main_binary-i386_Packages E: The package lists or status file could not be parsed or opened.
Okay, that's an error that comes from having a lot of source definitions. Instead of adding what I listed above to your apt.conf, you may want to just leave it as it was and add the source lines you need, which is probably just the testing one. Otherwise, you can just shut APT up by putting the following in /etc/apt.conf
:
APT::Cache-Limit 99999999;
-- Omicronpersei8 (talk) 22:52, 22 October 2006 (UTC)
[edit] WP:UW User warning harmonisation
Hi, I've already spoken to CrazyC about this, so this is to anyone else using VS who may look here. Some of you may be aware that a few of us have started a program to harmonise all user page templates and messages. We have listed a number of ideas that we are looking at and are very keen to have your involvement, if only to discuss possible impacts with your software. Currently we are just trying to get ideas, but we will start implementing ideas early next week. If you could just take 5 mins to look through the main project page, the ideas page and it's talk page, and let us know your thoughts, that would be greatly appreciated. Regards Khukri (talk . contribs) 14:56, 25 October 2006 (UTC)
[edit] Interesting information
Hey, I think VandalSniper uses the IRC feed. I recently came across http://en.wikipedia.org/w/query.php and http://en.wikipedia.org/w/api.php . I'm not sure how they might be helpful yet, but the wheels are spinning. Just thought I'd let you know that resource exists, should you want to make use of it. :) --Brad Beattie (talk) 17:15, 29 October 2006 (UTC)
- I'd seen these a while back and I think I concluded that there's not much there I can use. Thanks for the info though. --Chris (talk) 08:22, 30 October 2006 (UTC)
[edit] Feature request
Regarding the Intelligent diff clues, I think you should add one more feature for dealing with vandalbots and repeat vandals. This would check the user talk page history for any vandalism warnings V:n, check how long ago the user made their first edit, or if this is their first edit, and anything under a week should display F:n, and check how many edits they have made total, anything under 5 should display E:n. If you implement the coordinated monitoring feature, then any edit by someone with previous vandalism warnings should show up on that as well. This would make it harder to add the sneaky vandalism and things like "So and so is hot". -NorsemanII 07:58, 30 October 2006 (UTC)
- Interesting ideas. I will make note of them, but note that if I implement all of these then I will need to hit three pages instead of one per diff. This will not be great for bandwidth. --Chris (talk) 08:21, 30 October 2006 (UTC)
[edit] Mac OS X
So I, also, am a complete moron when it comes to installing software on my mac. I running a Mac PowerBook G4 with OS X 10.3.9. I have downloaded gtk-sharp-1.9.3.tar.gz. I unpacked it and ran the configure file in terminal. I get this:
Last login: Thu Nov 2 10:01:34 on ttyp1
/Users/David/Desktop/gtk-sharp-1.9.3/configure; exit
Welcome to Darwin!
David-Warburtons-Computer:~ David$ /Users/David/Desktop/gtk-sharp-1.9.3/configure; exit
checking build system type... powerpc-apple-darwin7.9.0
checking host system type... powerpc-apple-darwin7.9.0
checking target system type... powerpc-apple-darwin7.9.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
logout
[Process completed]
Once that finishes 'make' comes up with some error and is not able to complete.
Any thoughts? Mkdw 18:02, 2 November 2006 (UTC)
-
- I installed fink. I still get the same message when I try to run the configure file. Mkdwtalk 05:48, 5 November 2006 (UTC)
- Chris was recommending fink because it would mean binary installs without compiling. In that case, you wouldn't have to use
configure
. Anyway, that looks like a glibc-related error. Try updating gcc and glibc. -- Omicronpersei8 (talk) 20:07, 5 November 2006 (UTC)
- Chris was recommending fink because it would mean binary installs without compiling. In that case, you wouldn't have to use
- I installed fink. I still get the same message when I try to run the configure file. Mkdwtalk 05:48, 5 November 2006 (UTC)
[edit] VS runtime bug
I get the following bug when I try to run VS. For reference I have gtksharp-2.10, and not 2.8 as is referenced on the page, which is highly likely to be the problem, but I am not sure. It kind of appears that the API has changed between the two versions.
mono vs.exe Unhandled Exception: Glade.HandlerNotFoundException: The handler for the event ButtonPressEvent should take '(System.Object,Gtk.ButtonPressEventArgs)', but the signature of the provided handler ('on_ebxSniperNotify_button_press_event') is '(System.Object,System.EventArgs)' at SignalConnector.ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x00339> at (wrapper native-to-managed) SignalConnector.ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x0004b> in (unmanaged) 0xb6a4f695 at (wrapper managed-to-native) SignalConnector.glade_xml_signal_autoconnect_full (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr) <0x00004> at SignalConnector.Autoconnect () <0x00059> at Glade.XML.Autoconnect (object) <0x00042> at VandalSniper.MainWindow..ctor () <0x00354> at VandalSniper.MainWindow.Main (string[]) <0x00016>
Ansell 21:57, 5 November 2006 (UTC)
-
- Thanks for the quick response. Can't wait for the next version to come out so I can try the tool out! Ansell 11:15, 6 November 2006 (UTC)
- I've encountered and fixed this error a couple times now, but I never know how I do it. Yes, I know I'm a terrible geek. Seriously though, if I ever find out what it was, other than dumb luck and a lot of
apt-get -f install
s, I'll post it here. I tried for a while yesterday but failed at fixing this bug on my 64-bit machine and a Sid chroot on it. -- Omicronpersei8 (talk) 03:34, 7 November 2006 (UTC)- I use Gentoo Linux, and hence I would possibly not have luck trying apt-get ;-)... I could downgrade to gtksharp-2.8 and see if that fixes the bug, but I don't know when I will get around to it as I am doing some glade/gtk .NET development myself and I don't really want to muck around with the libraries while I am doing that at the same time. Ansell 03:54, 7 November 2006 (UTC)
- I've encountered and fixed this error a couple times now, but I never know how I do it. Yes, I know I'm a terrible geek. Seriously though, if I ever find out what it was, other than dumb luck and a lot of
- Thanks for the quick response. Can't wait for the next version to come out so I can try the tool out! Ansell 11:15, 6 November 2006 (UTC)
[edit] Ubuntu Edgy
i am having same error of "VandalSniper 49 error" comment please advise
-
- Jhabib 10:31, 10 November 2006 (UTC)
[edit] Ubuntu Dapper
Installed everything necessary, but...
sonicchao@sonicchao-laptop:~/Desktop$ ./vs.exe
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl --->
System.DllNotFoundException: /usr/lib/firefox/libgtkembedmoz.so
in (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type () in <0x00014> Gecko.WebControl:get_GType () in <0x00026> GtkSharp.GeckoSharp.ObjectManager:Initialize () in <0x00007> Gecko.WebControl:.cctor ()--- End of inner exception stack trace ---
in <0x00000> <unknown method> in <0x00029> VandalSniper.MainWindow:newBrowser (System.String url) in <0x00bfc> VandalSniper.MainWindow:.ctor () in <0x00016> VandalSniper.MainWindow:Main (System.String[] args)
--SonicChao 20:11, 13 November 2006 (UTC)
- Did you also install
mozilla-browser
andlibnspr4
? -- Omicronpersei8 (talk) 18:39, 15 November 2006 (UTC)
[edit] VandalSniper 49 on Debian Sid
It has become apparent that no one is having much luck getting VS 49 up and going, and I think I have narrowed the problem down to a too-recent version of mono
. I have created a bzip (filesize: 4.1 MB) containing the needed libraries that you should downgrade to in order to get VS working.
This bzip contains files for libgecko2.0-cil
version 0.11-2 and mono
version 1.1.13.8-1.
mono-common_1.1.13.8-1_i386.deb mono-jit_1.1.13.8-1_i386.deb libmono-corlib1.0-cil_1.1.13.8-1_all.deb libmono0_1.1.13.8-1_i386.deb libgecko2.0-cil_0.11-2_all.deb libmono-dev_1.1.13.8-1_i386.deb libmono1.0-cil_1.1.13.8-1_all.deb mono_1.1.13.8-1_i386.deb mono-runtime_1.1.13.8-1_i386.deb mono-gac_1.1.13.8-1_all.deb
This has worked for me on two separate machines so far, one being an i386 platform running Sid and the other being an i386 Sid chroot on an amd64 platform. Below is a guide for Debian users. I am only quite sure it will work, so please post below if it doesn't and I will try to find out what I've done wrong and correct it. It would also be very helpful to have some feedback if these instructions do work.
It is assumed that you are running the most recent version of Debian on the i386 architecture with testing or unstable ("Sid") sources, and that it has not been long since your last apt-get update
.
[edit] Necessary terminal commands, step-by-step
- Please make sure you're in a writable directory such as
$HOME
by typing:cd
su -c 'apt-get install mono libmono1.0-cil libgtk2.0-cil libglade2.0-cil libgecko2.0-cil libnspr4 mozilla-browser'
wget http://deadheroes.org/vs49-libs.tar.bz2
tar xjf vs49-libs.tar.bz2
su -c 'dpkg -i vs49-libs/*.deb'
(This may ask for the root password.)
[edit] From WP:SNIPE: Getting and running VandalSniper 49
(Make sure you're in X before trying to run vs.exe
.)
wget http://www.chrishowie.com/files/vandalsniper-49.tar.bz2
tar xjf vandalsniper-49.tar.bz2
cd vandalsniper-49
mono ./vs.exe &
[edit] For users of other Linux distributions
While the project page makes it pretty clear that users on distributions other than Debian are somewhat "on your own", if you are installing from source or RPM, you should be alright getting the most recent versions of all dependencies except libgecko2.0-cil
and the mono
suite. These problematic dependencies are available as debs in the bzip linked above, and you may be able to convert them to RPM or Slackware tgz using alien (Alien homepage, rpmfind.net query).
-- Omicronpersei8 (talk) 07:11, 16 November 2006 (UTC)
[edit] Comments or problems
Receive the following error when running under Ubuntu Dapper:
todd@ubuntu:~/vandalsniper-49$ ./vs.exe
** ERROR **: file domain.c: line 663 (mono_init_internal): assertion failed: (mono_defaults.monotype_class != 0) aborting... Aborted
Initially I was receiving errors regarding mscorlib.dll, but was able to find a copy of this file and put it in. Don't seem able to fix this one though. Seraphimblade 10:44, 17 November 2006 (UTC)
- This posting suggests it's related to a bad version of that new
mscorlib.dll
. You should probably remove that dll and reinstalllibmono-corlib1.0-cil
andlibmono-corlib2.0-cil
from my bzip; then we can go back to your first problem. Could you please post the mscorlib.dll error? -- Omicronpersei8 (talk) 13:55, 17 November 2006 (UTC)
-
- The previous error (which was correct) was that mscorlib.dll was missing entirely. I'll try the reinstalls you suggest. Seraphimblade 13:59, 17 November 2006 (UTC)
-
-
- Possibly a path problem. Give the following a try after the reinstallation:
-
-
-
-
LD_LIBRARY_PATH=/usr/lib/mono:/usr/lib/mono/1.0:${LD_LIBRARY_PATH} mono vs.exe
LD_LIBRARY_PATH='' mono vs.exe
-
-
-
-
- Let me know how that goes.
-
-
-
- After running
MONO_LOG_LEVEL=debug mono vs.exe
, it looks likelibmono-corlib2.0-cil
isn't a needed dependency after all, so I've removed it from the online bzip. I doubt it's contributing to your problems, but you might also try uninstalling it. -- Omicronpersei8 (talk) 14:09, 17 November 2006 (UTC)
- After running
-
[edit] Virtual Machine
I have tried installing VandalSniper but like a lot of people have had difficulties and in the end I have had to admit defeat. To be honest my failure to install reflects that I know next to nothing about Linux.
However, one thing that occured to me is that it would be possible for somebody to create a Virtual Machine (preferably for VMWare player, as that is what I have installed!). If somebody could do this once then the Virtual Machine could be shared between everybody. This would make VandalSniper much more accessible to people. --MarkS (talk) 11:40, 13 December 2006 (UTC)