User talk:Crazycomputers/VandalSniper
Version 11 segfault
[edit]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)
- This has been reported to debian: [1] --Chris (talk) 03:29, 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)
Windows
[edit]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)
- That actually might work. I'll test tonight and get back to you. --Chris (talk) 20:53, 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)
- I was able to solve one exception with this package, but only to run into another: the GRE (Gecko Rendering Engine) for Windows is too old. It seems we're just going to have to wait to use VS on Windows until the relevant APIs become stable. --Chris (talk) 22:48, 10 August 2006 (UTC)
This might interest you
[edit]re multi-user coordination: http://bugzilla.wikimedia.org/show_bug.cgi?id=5434 Phr (talk) 11:40, 4 August 2006 (UTC)
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)
Preferences
[edit]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)
Name?
[edit]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)
- If you think it's inappropriate, I'm welcome to other suggestions. Personally I don't see a problem with the current names as labels that represent certain program features. --Chris (talk) 02:24, 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)
- I am trying to avoid calling it VandalProof, as it has become its own product, with a similar, but divergent featureset. --Chris (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)
- In the absence of complaints, however, I do not think the effort to rename everything and reestablish the tool's identity is worth it. If there is community consensus to change it, I will of course comply, but "if it ain't broke..." --Chris (talk) 03:00, 12 August 2006 (UTC)
- If it does one day, I suggest VandalScope. But then again my nickname does show some systematic bias. = P -- Netsnipe (Talk) 21:27, 21 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)
Feature Request
[edit]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)
- Great! While it's nothing critical, it would be a nice feature. Thanks for looking into it, Hagerman(talk) 22:57, 16 August 2006 (UTC)
VandalSniper 49 error
[edit]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)
- Yeah I think I did. There were some upgrades to mono the last few days, I'm pretty sure I made an upgrade in between running VS. If it's of any use for you, I'm using libgecko2.0-cil version 0.11-3 and mono 1.1.17.1-2. Thanks. # Ido50 (talk to me), at 21:55, 7 September 2006 (UTC)
- Ok. You need to downgrade to 0.11-2 for the time being. I'm going to experiment with mono now. --Chris (talk) 21:57, 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)
- OK thanks. I'll wait for the new release. # Ido50 (talk to me), at 10:28, 11 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)
Does this run in Windows as well as Linux?
[edit]—$ΡЯΙ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)
Functionality questions
[edit]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)
Ubuntu
[edit]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)- That URL didn't help :P. How do add the "stable" and "testing" sources? What are they? Sorry if I'm being stupid or demanding. Thanks! —Celestianpower háblame 21:52, 22 October 2006 (UTC)
- Not at all. Let me just give you what my config says:
- That URL didn't help :P. How do add the "stable" and "testing" sources? What are they? Sorry if I'm being stupid or demanding. Thanks! —Celestianpower háblame 21:52, 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)- OK. I added that to my sources.list and saved. The command produced the same error. What's wrong now? :P. —Celestianpower háblame 22:05, 22 October 2006 (UTC)
- No, I tell a lie. This is the error:
- OK. I added that to my sources.list and saved. The command produced the same error. What's wrong now? :P. —Celestianpower háblame 22:05, 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/apt.conf
:
APT::Cache-Limit 99999999;
-- Omicronpersei8 (talk) 22:52, 22 October 2006 (UTC)
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)
Interesting information
[edit]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)
Feature request
[edit]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)
Mac OS X
[edit]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)
- Have you tried fink? --Chris (talk) 15:20, 3 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)
VS runtime bug
[edit]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)
- This is a known bug and is fixed in svn. --Chris (talk) 06:40, 6 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)
Ubuntu Edgy
[edit]i am having same error of "VandalSniper 49 error" comment please advise
Ubuntu Dapper
[edit]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)- I just did, but still get the same message. --SonicChao 20:17, 15 November 2006 (UTC)
- This sounds like your version of gtkmozembed is incompatible with VS. Whether it's too new or old I don't know. --Chris (talk) 02:17, 16 November 2006 (UTC)
- It is not, just run "export LD_LIBRARY_PATH=/usr/lib/firefox/" before starting vs.exe - just found this solution a view minutes ago - if there would be a version for de.wikipedia.org I could use it... --C-M (de) 20:22, 11 February 2007 (UTC)
- This sounds like your version of gtkmozembed is incompatible with VS. Whether it's too new or old I don't know. --Chris (talk) 02:17, 16 November 2006 (UTC)
- I just did, but still get the same message. --SonicChao 20:17, 15 November 2006 (UTC)
VandalSniper 49 on Debian Sid
[edit]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
.
Necessary terminal commands, step-by-step
[edit]- 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.)
(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 &
For users of other Linux distributions
[edit]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)
Comments or problems
[edit]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
Virtual Machine
[edit]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)
- If I had a copy of VMWare I might throw one together. At most I could create a hard disk image that could be used both in qemu and VMWare. --Chris (talk) 12:56, 17 January 2007 (UTC)
Is the vandalsniper template good enough
[edit]Hi this is user:Nadirali.
I have added the vandalproof and vandalsniper template codes to my user page hoping they protect my user page from being edited or vandalized by another user.
Will the template codes be good enough to protect my user page from being edited or vandalized?Or does the program come entrirely seperately and from the template codes?
Have tried reading the vandalsniper page,but Im not exactly sure if it's saying the template is good enough.
ThankyouNadirali 16:06, 15 December 2006 (UTC)Nadirali
- The templates will not protect your user page. VandalProof and VandalSniper are programs that run on your computer and display changes that have been made to all pages in Wikipedia (not just user pages). The programs do not stop changes being made, but do make it easier for people to undo the changes in the event of vandalism. You have put your name on the list of users who wish to be allowed to use VandalSniper. If this request is granted then it will allow you to use the program to undo vandalism changes. It will not protect your user page.
- Administrators can protect individual pages from changes but would only do this in exceptional circumstances. In your case I would add your user page to your watch list, you can then see if it has been changed recently by clicking on 'my watchlist'.--MarkS (talk) 12:15, 16 December 2006 (UTC)
Thanks for the answer.I downloaded the anti-vandal tool.They allow me to see the original draft of the pages on my watchlist before they're edited/vandalized.So far it helped me once when I was added to a category without being consulted. But to be on the safe side,I saved the script for my userpage(including template codes)to microsoft word. Meanwhile I'll come back another time to check on my vandalsniper permission status. Again thanks for your answer. Nadirali 04:12, 28 December 2006 (UTC)
Mac "In theory"
[edit]I think that's all it really is, a theory. On your requirments part, it says that you need GTK# version 2.8. At this time, the best place for Mac people to be able to get that, Fink, is only at 2.4.3 (although the GTK+ is up-to-date). I don't think theres really any way to get around this right now. -Royalguard11(Talk·Desk·Review Me!) 22:20, 7 January 2007 (UTC)
- Are you just confirming what is already on the page or are you disagreeing with what's there? --Chris (talk) 12:53, 17 January 2007 (UTC)
CVS/svn access
[edit]Any chance of public anonymous access to the development server? When I track programs outside of apt, it's a lot easier on me if I can just add a "cd ~/bin/vandalsniper && cvs update" to my update script, and it requires little intervention on my part. --Gwern (contribs) 21:51 23 January 2007 (GMT)
- VandalSniper is not open-source. However, you may be able to hack up a shell script that checks User:Crazycomputers/VandalSniper/Revision for the revision number and have it download the tarball if you have an older version. --Chris (talk) 22:13, 23 January 2007 (UTC)
- Hmm. My shellfu is weak. elinks -dump http://en.wikipedia.org/wiki/User:Crazycomputers/VandalSniper/Revision is obvious enough, but how do you grep it for the version number and compare it? That's more work than manually tracking it. Too bad it's not Free. --Gwern (contribs) 22:39 23 January 2007 (GMT)
- Try something like:
- wget -O - http://en.wikipedia.org/wiki/User:Crazycomputers/VandalSniper/Revision 2>/dev/null| grep vs-latestrevision | sed -e 's/.*>\([0-9]\+\)<.*/\1/'
- Cheers. --Chris (talk) 23:07, 23 January 2007 (UTC)
- Yes, that works well. Incidentally, there seems to be a bit of a backlog. There's a good 6 since 12 January. --Gwern (contribs) 03:24 24 January 2007 (GMT)
VS Help...
[edit]I can't get VandalSniper to work. I am running Fedora Core 5. I have mono 1.1.13.7-3 installed. Here is the problem:
[s****r@fedora ~]$ cd ./Desktop/vandalsniper-49 [s****r@fedora vandalsniper-49]$ mono vs.exe Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl ---> System.DllNotFoundException: 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) [s****r@fedora vandalsniper-49]$
Problems
[edit]I am running Fedora Core 6. When I try to run vandalsniper 63, it complains about the dll jscallglue.dll being missing. Help. mrholybrain's talk 01:47, 28 March 2007 (UTC)
- Make sure that when you run vs.exe, the working directory is the one that contains vs.exe. If you are running it from a file manager this is likely not the case. Open a terminal,
cd
to the directory containing vs.exe and typemono vs.exe
-- hopefully it will run fine then. --Chris (talk) 04:58, 28 March 2007 (UTC)
- Well, I found the problem, it was SELinux. Now, my problem is that I'll randomly get null pointer exceptions and crash out. mrholybrain's talk 12:18, 28 March 2007 (UTC)
- Copy and paste the exceptions you get here. I'll look into them. --Chris (talk) 21:53, 28 March 2007 (UTC)
SuSE Linux 10.2
[edit]How am I supposed to run this? I can't use .deb package files (for gecko-sharp), and when I use alien to convert them, it always fails, saying something like "copyright function depecrated" or something. Is there any way I can use VS? --[[User:Pie Man 360 | UserPage Talk about me!]] 22:17, 3 April 2007 (UTC)
- Okay, after messing around with YaST2, I found the dependencies and installed them. Now, I'm getting the same error that was posted before, mono complaining that it can't find libgtkembedmoz.so. What should I do? --[[User:Pie Man 360 | UserPage Talk about me!]] 22:18, 5 April 2007 (UTC)
- Is Firefox installed? --Chris (talk) 05:18, 6 April 2007 (UTC)
- Yeah, I have Firefox 2 installed, and gecko-sharp. It seems Mozilla no longer packages this file with Firefox. Is there any way I can get this file? —[[User:Pie Man 360 | UserPage Talk about me!]] 00:55, 7 April 2007 (UTC)
- Is Firefox installed? --Chris (talk) 05:18, 6 April 2007 (UTC)
License
[edit]I wish you would make VandalSniper free software. Novalis 20:50, 4 April 2007 (UTC)
Problem running VS in Ubuntu Feisty
[edit]After installing all of the libraries necessary every time I try to run VS by entering "mono vs.exe" I get the following error:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl ---> System.DllNotFoundException: /usr/lib/firefox/libgtkembedmoz.so at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type () at Gecko.WebControl.get_GType () [0x00000] at GtkSharp.GeckoSharp.ObjectManager.Initialize () [0x00000] at Gecko.WebControl..cctor () [0x00000] --- End of inner exception stack trace --- at <0x00000> <unknown method> at VandalSniper.MainWindow.newBrowser (System.String url) [0x00000] at VandalSniper.MainWindow..ctor () [0x00000] at VandalSniper.MainWindow.Main (System.String[] args) [0x00000]
At first I thought I was missing /usr/lib/firefox/libgtkembedmoz.so, but it is there. Any help to resolve the problem would be gladly appreciated. Caim 06:54, 1 June 2007 (UTC)
- I have this problem too. --Michael WhiteT·C 15:25, 9 June 2007 (UTC)
- I am having the exact same problem. --Mschel 03:04, 22 July 2007 (UTC)
Try running VS like this: LD_LIBRARY_PATH=/usr/lib/firefox/ ./vs.exe
--Chris (talk) 04:34, 29 July 2007 (UTC)
- I did that, and that got it to run, but it gave me the following when I tried to load a webpage:
An unhandled exception was thrown. VandalSniper may become unstable. System.DllNotFoundException: jscallglue.dll at (wrapper managed-to-native) AspNetEdit.JSCall.CommandManager:ExecuteScript (intptr,string) at AspNetEdit.JSCall.CommandManager.JSEval (System.String script) [0x00000] at VandalSniper.MainWindow.on_mozBrowser_NetStop (System.Object o, System.EventArgs e) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_load_url (intptr,intptr) at Gecko.WebControl.LoadUrl (System.String url) [0x00000] at VandalSniper.MainWindow.on_mozAddress_activate (System.Object o, System.EventArgs e) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at VandalSniper.MainWindow..ctor () [0x00000] at VandalSniper.MainWindow.Main (System.String[] args) [0x00000]
--Mschel 14:31, 3 August 2007 (UTC)
- Am having the same problem. How was this resolved?Prashanthns (talk) 16:51, 11 May 2008 (UTC)
- Got the same error message and then VandalSniper died. Kubuntu Hardy. Any ideas? --Clubjuggle T/C 02:36, 13 July 2008 (UTC)
Issues on Gibbon
[edit]Since there were some detailed instructions for VS-49, I decided to follow the instructions above. Everything worked out well except for this message on installing the libraries. Others got installed except for libnspr4, with the following msg. I used a sudo instead of su -c for Ubuntu. (I run Gutsy Gibbon)
Package libnspr4 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package libnspr4 has no installation candidate
After this, I followed the steps for download and install of vs49 from your website. When I give the command for starting vs, I get the following errors. (Note that I have put vs49 into another directory labelled vs63. Although the directory is called vs63, I didnt install it.)
prashanth@loriculus:~/Desktop/vandalsniper-63/vandalsniper-49$ mono ./vs.exe Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl ---> System.DllNotFoundException: /usr/lib/mozilla/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)
Looking forward to any help. Thanks. Prashanthns (talk) 17:14, 11 May 2008 (UTC)
- Ok. It turns out that my apt-get had to be fixed which is what the updater suggested. I fixed it using sudo apt-get isntall -f. It did the following
The following extra packages will be installed: libgecko2.0-cil libglib2.0-dev libmono-corlib1.0-cil libmono-dev libmono0 mono mono-common mono-gac mono-jit mono-runtime Suggested packages: libglib2.0-doc Recommended packages: libgdiplus binfmt-support The following NEW packages will be installed: libglib2.0-dev The following packages will be upgraded: libgecko2.0-cil libmono-corlib1.0-cil libmono-dev libmono0 mono mono-common mono-gac mono-jit mono-runtime 9 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. 9 not fully installed or removed. Need to get 1705kB/4411kB of archives. After unpacking 3318kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://be.archive.ubuntu.com gutsy-updates/main libmono-dev 1.2.4-6ubuntu6.1 [1071kB] Get:2 http://be.archive.ubuntu.com gutsy/main libglib2.0-dev 2.14.1-1ubuntu1 [634kB] Fetched 1705kB in 17s (95.9kB/s) (Reading database ... 92496 files and directories currently installed.) Preparing to replace mono 1.1.13.8-1 (using .../mono_1.2.4-6ubuntu6.1_i386.deb) ... Unpacking replacement mono ... Preparing to replace libmono-corlib1.0-cil 1.1.13.8-1 (using .../libmono-corlib1.0-cil_1.2.4-6ubuntu6.1_all.deb) ... Unpacking replacement libmono-corlib1.0-cil ... Preparing to replace mono-runtime 1.1.13.8-1 (using .../mono-runtime_1.2.4-6ubuntu6.1_i386.deb) ... Unpacking replacement mono-runtime ... Preparing to replace mono-jit 1.1.13.8-1 (using .../mono-jit_1.2.4-6ubuntu6.1_i386.deb) ... Unpacking replacement mono-jit ... Preparing to replace mono-common 1.1.13.8-1 (using .../mono-common_1.2.4-6ubuntu6.1_i386.deb) ... Unpacking replacement mono-common ... Preparing to replace mono-gac 1.1.13.8-1 (using .../mono-gac_1.2.4-6ubuntu6.1_all.deb) ... Unpacking replacement mono-gac ... Preparing to replace libgecko2.0-cil 0.11-2 (using .../libgecko2.0-cil_0.11-3ubuntu3_all.deb) ... Unpacking replacement libgecko2.0-cil ... Preparing to replace libmono-dev 1.1.13.8-1 (using .../libmono-dev_1.2.4-6ubuntu6.1_i386.deb) ... Unpacking replacement libmono-dev ... Preparing to replace libmono0 1.1.13.8-1 (using .../libmono0_1.2.4-6ubuntu6.1_i386.deb) ... Unpacking replacement libmono0 ... Selecting previously deselected package libglib2.0-dev. Unpacking libglib2.0-dev (from .../libglib2.0-dev_2.14.1-1ubuntu1_i386.deb) ... Setting up mono-common (1.2.4-6ubuntu6.1) ... Setting up mono-jit (1.2.4-6ubuntu6.1) ... Setting up mono (1.2.4-6ubuntu6.1) ... Setting up libmono-corlib1.0-cil (1.2.4-6ubuntu6.1) ... Setting up mono-gac (1.2.4-6ubuntu6.1) ... * Installing 1 assembly from libgmime2.2-cil into Mono * Installing 1 assembly from libndesk-dbus1.0-cil into Mono * Installing 1 assembly from libndesk-dbus-glib1.0-cil into Mono Setting up mono-runtime (1.2.4-6ubuntu6.1) ... Setting up libgecko2.0-cil (0.11-3ubuntu3) ... Setting up libmono0 (1.2.4-6ubuntu6.1) ... Setting up libglib2.0-dev (2.14.1-1ubuntu1) ... Setting up libmono-dev (1.2.4-6ubuntu6.1) ... Setting up libmono1.0-cil (1.1.13.8-1) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place
Now, when I run vs, it says this..
prashanth@loriculus:~/Desktop/vandalsniper-63/vandalsniper-49$ 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) <0x0032d> at (wrapper native-to-managed) SignalConnector.ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr) <0x00059> in (unmanaged) 0xb68fba8f 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>
Extreme apologies for cluttering up the talk page like this!;) Sorry, but determined to get vs running. Prashanthns (talk) 17:24, 11 May 2008 (UTC)
Arch Linux?
[edit]I had to copy libxul.so from /usr/lib/xulrunner-1.9.0.1/ to /usr/lib for vs.exe to find it. Now I get the following crash:
[foo@bar vandalsniper-63]$ mono vs.exe Stacktrace: at (wrapper managed-to-native) Gtk.Notebook.gtk_notebook_append_page (intptr,intptr,intptr) <0x00004> at (wrapper managed-to-native) Gtk.Notebook.gtk_notebook_append_page (intptr,intptr,intptr) <0xffffffff> at Gtk.Notebook.AppendPage (Gtk.Widget,Gtk.Widget) <0x00091> at VandalSniper.MainWindow.newBrowser (string) <0x000dd> at VandalSniper.MainWindow..ctor () <0x009b7> at VandalSniper.MainWindow.Main (string[]) <0x00016> at (wrapper runtime-invoke) VandalSniper.MainWindow.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: mono [0x8170484] mono [0x807f0fb] [0xb80dc40c] /usr/lib/libxul.so [0xb42cea2c] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x84) [0xb700e254] /usr/lib/libgobject-2.0.so.0 [0xb6fff349] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b3) [0xb7000bd3] /usr/lib/libgobject-2.0.so.0 [0xb7014686] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7e4) [0xb7016364] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26) [0xb70167c6] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0xb1) [0xb6ed6cb1] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_set_parent+0x220) [0xb6ed7390] /usr/lib/libgtk-x11-2.0.so.0 [0xb6dc2abb] /usr/lib/libgtk-x11-2.0.so.0(gtk_notebook_insert_page_menu+0x13f) [0xb6d bfd5f] /usr/lib/libgtk-x11-2.0.so.0(gtk_notebook_append_page+0x106) [0xb6dc0376] [0xb4e38594] [0xb4e38542] [0xb4e3747e] [0xb7a2dbb0] [0xb7a25477] [0xb7a251c3] mono(mono_runtime_exec_main+0xb6) [0x81017f6] mono(mono_runtime_run_main+0x16d) [0x8101e1d] mono(mono_main+0x623) [0x805ade3] mono [0x805a2d2] /lib/libc.so.6(__libc_start_main+0xe5) [0xb7e875c5] mono [0x805a211] ================================================================= 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. ================================================================= Aborted
Mono is installed. GTK 2 is installed. GTK-# is installed. Gecko-# is installed. The cli packages do not exist in the Arch repos under those names. Do any of the developer packages need to be installed? DarkAudit (talk) 16:02, 30 September 2008 (UTC)
jscallglue.dll
[edit]What, exactly, is jscallglue.dll, why does the program care, and where do I get it (my error message looks like the one from over a year ago above, I'm running Intrepid)? --Thinboy00 @241, i.e. 04:46, 4 December 2008 (UTC)