Coder Social home page Coder Social logo

lformella / xdcc-grabscher Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 50.0 25.88 MB

XG is an IRC Downloadmanager written in C#.

Home Page: http://www.larsformella.de/lang/en/portfolio/programme-software/xg

Shell 0.07% Visual Basic 0.08% C# 65.33% CSS 1.54% JavaScript 32.99%

xdcc-grabscher's People

Contributors

lformella avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xdcc-grabscher's Issues

improve startup and overall performance

When I start XG it need some minutes (2 to 3 min) before the web interface is ready. And even when this interface is ready, it needs some more time to get all my saved searches and downloads loaded.
Maybe my db files are too big? But how can I clean them up? E.g. I don't need the stuff older than a week or a couple of days.

File sizes are e.g.:
$ ll insgesamt 48M -rw-r--r-- 1 strubbl users 2,3K 4. Apr 18:44 xg.config -rw-r--r-- 1 strubbl users 48M 4. Apr 18:47 xgobjects.db -rw-r--r-- 1 strubbl users 200K 4. Apr 18:49 xgsnapshots.db

Any other suggestions to improve performance of XG?

Automatic package download

Can we subscribe to a search query, to have all packages download automatically apon discovery?

So when I get home from work, all my desired tv shows or movies will be automatically downloaded.

Or if i decided to download a previously aired tv show, but needed to download 200 episodes, it would be nice to be able to queue them all matching the search query, with one button click.

server disconnect and reconnect

XG sits on 10 servers and 20+ channels, but somehow the same server disconnects and reconnects regulary. The server I am talking about is irc.abjects.net. When I connect with mIRC, I not get disconnected. Am I the only one having this issue?

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.

My reduced rabbit (release from stock) crashes under Linux after some time with an error message. Please see my console output:

$ ./Server.Cmd.exe 
17.08.2013 21:35:09 [Info] Server started at ws://localhost:5557 

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
  at (wrapper stelemref) object:virt_stelemref_class (intptr,object)
  at System.Collections.Generic.HashSet`1[XG.Core.AObject].CopyTo (XG.Core.AObject[] array, Int32 arrayIndex, Int32 count) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.HashSet`1[XG.Core.AObject].CopyTo (XG.Core.AObject[] array, Int32 arrayIndex) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToArray[AObject] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at XG.Core.AObjects.get_All () [0x00000] in <filename unknown>:0 
  at XG.Core.Bot.get_Packets () [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.<FilteredPacketsAndBotsByGuid>m__13 (XG.Core.Bot bot) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator2B`3[XG.Core.Bot,XG.Core.Packet,XG.Core.Packet].MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[XG.Core.Packet].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[XG.Core.Packet]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[Packet] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.FilteredPacketsAndBotsByGuid (Guid aGuid, System.String aName) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.Unicast (XG.Server.Plugin.General.Webserver.Websocket.User aUser, XG.Server.Plugin.General.Webserver.Websocket.Response aResponse, Boolean advancedVisibilityCheck) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.Broadcast (XG.Server.Plugin.General.Webserver.Websocket.Response aResponse, Boolean advancedVisibilityCheck) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.BroadcastChanged (XG.Core.AObject aObj, Boolean advancedVisibilityCheck) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.ObjectChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.Commit () [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.PrivateMessage.Parse (XG.Core.Server aServer, System.String aRawData, System.String aMessage, System.String[] aCommands) [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.AParser.ParseData (XG.Core.Server aServer, System.String aRawData) [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.Parser.Parse (XG.Core.Server aServer, System.String aRawData, System.String aMessage, System.String[] aCommands) [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.AParser.ParseData (XG.Core.Server aServer, System.String aRawData) [0x00000] in <filename unknown>:0 
  at XG.Server.ServerConnection.ConnectionDataReceived (System.String aData) [0x00000] in <filename unknown>:0 
  at XG.Server.Connection.AConnection.FireDataTextReceived (System.String aData) [0x00000] in <filename unknown>:0 
  at XG.Server.Connection.Connection.Connect () [0x00000] in <filename unknown>:0 
  at XG.Server.Servers+<ServerConnect>c__AnonStorey0.<>m__1 () [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
  at (wrapper stelemref) object:virt_stelemref_class (intptr,object)
  at System.Collections.Generic.HashSet`1[XG.Core.AObject].CopyTo (XG.Core.AObject[] array, Int32 arrayIndex, Int32 count) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.HashSet`1[XG.Core.AObject].CopyTo (XG.Core.AObject[] array, Int32 arrayIndex) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToArray[AObject] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at XG.Core.AObjects.get_All () [0x00000] in <filename unknown>:0 
  at XG.Core.Bot.get_Packets () [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.<FilteredPacketsAndBotsByGuid>m__13 (XG.Core.Bot bot) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator2B`3[XG.Core.Bot,XG.Core.Packet,XG.Core.Packet].MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[XG.Core.Packet].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[XG.Core.Packet]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[Packet] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.FilteredPacketsAndBotsByGuid (Guid aGuid, System.String aName) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.Unicast (XG.Server.Plugin.General.Webserver.Websocket.User aUser, XG.Server.Plugin.General.Webserver.Websocket.Response aResponse, Boolean advancedVisibilityCheck) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.Broadcast (XG.Server.Plugin.General.Webserver.Websocket.Response aResponse, Boolean advancedVisibilityCheck) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.BroadcastChanged (XG.Core.AObject aObj, Boolean advancedVisibilityCheck) [0x00000] in <filename unknown>:0 
  at XG.Server.Plugin.General.Webserver.Websocket.Server.ObjectChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at (wrapper delegate-invoke) <Module>:invoke_void__this___AObject_string[] (XG.Core.AObject,string[])
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.FireChanged (XG.Core.AObject aObj, System.String[] aFields) [0x00000] in <filename unknown>:0 
  at XG.Core.AObject.Commit () [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.PrivateMessage.Parse (XG.Core.Server aServer, System.String aRawData, System.String aMessage, System.String[] aCommands) [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.AParser.ParseData (XG.Core.Server aServer, System.String aRawData) [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.Parser.Parse (XG.Core.Server aServer, System.String aRawData, System.String aMessage, System.String[] aCommands) [0x00000] in <filename unknown>:0 
  at XG.Server.Irc.AParser.ParseData (XG.Core.Server aServer, System.String aRawData) [0x00000] in <filename unknown>:0 
  at XG.Server.ServerConnection.ConnectionDataReceived (System.String aData) [0x00000] in <filename unknown>:0 
  at XG.Server.Connection.AConnection.FireDataTextReceived (System.String aData) [0x00000] in <filename unknown>:0 
  at XG.Server.Connection.Connection.Connect () [0x00000] in <filename unknown>:0 
  at XG.Server.Servers+<ServerConnect>c__AnonStorey0.<>m__1 () [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0

Can't start XG 3.1.0.1 on Ubuntu 14.04

When i start "mono XG.Application.exe" with XG 3.1.0.1 nothing happens.
I can open XG in browser but the Page is empty except the title "XG Webfrontend v{{VERSION}}". I don't get any errors over ssh.
2.2 has been working great. My mono version is: "Debian 3.2.8+dfsg-4ubuntu1".

Probably it's mono but I don't know how to switch back to a more stable Version.
Thanks for any help.

Cant get Botlist

I am using the current Version of XG.
The Problem is that in most IRC Channels i dont get a Botlist.
For example in channel #gax on irc.otakubox.net, althought XG connects to the channel (checked it by a second client).

I am using xg on my private Server (console, web access) with debian squeeze.

shutdown XG via GUI

Is it possible to add a feature, where one can shutdown XG via the web interface? Maybe a menu item can be added to the options menu? (And perhaps an "are you sure to shutdown" popup before really shutting down.)

cant connect to web interface

After entering the password i got a connection lost using fedora 19

04.08.2013 16:02:23 [Info] Server started at ws://localhost:5557
04.08.2013 16:02:42 [Error] Application Error System.MissingMethodException: Method not found: 'System.Numerics.BigInteger.Parse'.
at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in :0

Mono JIT compiler version 2.10.8 (tarball Sat Feb 16 11:51:56 UTC 2013)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com

Using the Newtonsoft.Json.dll from the 2.0.1 package works fine...

Make cmd window in Windows disappear.

Hello,
I am trying to find a way to launch XG in a background mode (like a windows service)
but each time it launch the XG.application.exe it show the console in Windows.
Is there a way to not display the console Window ?

Kind regards,

Filehandlers problem (FATAL [303])

I am using XG 2.1.1 on XBMCbuntu 12.10 and i really like it!

I tried out the file handler script today but it just created an empty folder with the name "filename.rar_".

in addition i wanted to know what i need to add to the script to pick up all kinds of archives. (tar,rar,zip,etc)
i never wrote a script before so i'm planning to edit the default script until it fits my needs.

what i want to do is:
create folder -> unrar -> delete archive -> move folder

log output:
(changed path and filename)

9/16/2013 1:34:42 PM [Info] Server started at ws://localhost:5557 
16-09-2013 15:40:01,189 FATAL [303] 0:XG.Server.Helper.Process.Run(unrar, e -p- /path/filename.rar /path/filename.rar_)
System.ComponentModel.Win32Exception: ApplicationName='unrar', CommandLine='e -p- /path/filename.rar /path/filename.rar_', CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at XG.Server.Helper.Process.Run () [0x00000] in <filename unknown>:0 

I used the following script:

  <FileHandlers>
    <FileHandler>
      <Regex>.*\.rar</Regex>
      <Process>
        <Command>mkdir</Command>
        <Arguments>%PATH%_</Arguments>
        <Next>
          <Command>unrar</Command>
          <Arguments>e -p- %PATH% %PATH%_</Arguments>
          <Next>
            <Command>rm</Command>
            <Arguments>%PATH%</Arguments>
            <Next>
              <Command>mv</Command>
              <Arguments>%PATH%_ %PATH%</Arguments>
            </Next>
          </Next>
        </Next>
      </Process>
    </FileHandler>
    <FileHandler>
      <Regex>.*\.zip</Regex>
      <Process>
        <Command>unzip</Command>
        <Arguments>%PATH%</Arguments>
        <Next>
          <Command>rm</Command>
          <Arguments>%PATH%</Arguments>
        </Next>
      </Process>
    </FileHandler>
  </FileHandlers>

Plugins via reflection or configuration

Horriblesubs does not allow for packlist command, so I wrote this plugin and it works nicely.

However it would be nice to have it in a seperate project that would automatically get detected and called if I drop the dll into the bin folder via reflection or configuration file. Rather then having to modify the Application project and referencing the dll and then adding the line of code app.AddWorker(new Plugin.Import.XDCCParser.Plugin());.

If you are curious about the plugin:

using System;
using System.Net;
using log4net;
using XG.Model.Domain;
using XG.Config.Properties;
using System.IO;

namespace XG.Plugin.Import.XDCCParser
{
    /// <summary>
    /// XDCC-Parser Plugin, to download packagelist from XDCC-Parser Web Server url.
    /// </summary>
    public class Plugin : APlugin
    {
        static readonly ILog _log = LogManager.GetLogger(typeof(Plugin));
        private static string SERVER_STRING = "irc.rizon.net";
        private static string CHANNEL_STRING = "HorribleSubs";
        private static string XDCC_PARSER_SEARCH_URL = "http://xdcc.horriblesubs.info/search.php";

        private Channel _channel;

        protected override void StartRun()
        {
            _log.Info("XDCC Parser Parser Plugin loaded");

            Servers.Add(SERVER_STRING);
            Servers.Server(SERVER_STRING).AddChannel(CHANNEL_STRING);

            _channel = Servers.Server(SERVER_STRING).Channel(CHANNEL_STRING);

            ParsePackages(_channel, GetSource(XDCC_PARSER_SEARCH_URL));
        }

        /// <summary>
        /// Parses the packages.
        /// </summary>
        /// <param name="doc">Document.</param>
        /// <remarks>
        /// p.k[0] = {b:"CR-ARCHIVE|1080p", n:1, s:92, f:"[HorribleSubs] AIURA - 01 [1080p].mkv"};
        /// </remarks>
        private void ParsePackages(Channel channel, string str)
        {
            var delimiters = new[]{"p.k[", "] = {b:\"", "\", n:", ", s:", ", f:\"", "\"};", "\n"};

            var packstr = str.ToString().Split(delimiters, StringSplitOptions.RemoveEmptyEntries);

            for(var i = 0; i < packstr.Length; i += 5)
            {
                var botName = packstr[i + 1];
                var packId = int.Parse(packstr[i + 2]);
                var packSize = int.Parse(packstr[i + 3]) * 1024 * 1024;
                var packName = packstr [i + 4];
                channel.AddBot(new Bot{ Name = botName });
                channel.Bot(botName).AddPacket(new Packet{ Id = packId, Name = packName, Size =  packSize});
            }
        }

        /// <summary>
        /// Gets the source.
        /// </summary>
        /// <returns>The source.</returns>
        /// <param name="url">URL.</param>
        private string GetSource(string url)
        {
            var webRequest = HttpWebRequest.Create(url);
            webRequest.Method = "GET";
            var webResponse = webRequest.GetResponse();
            var stream = new StreamReader(webResponse.GetResponseStream());
            var pageSource = stream.ReadToEnd();
            webResponse.Close();
            return pageSource;
        }
    }
}

Feature Request: Allow downloading via right click

Currently you have to doubleclick on a packet to start downloading. This seems to be a bit unreliable from times to times and the packets aren't added correctly to the enabled packet section. A right click context menu with which you can start the download would solve this issue and would also make it clearer if the packet has been added to your download list.

another advantage of this would be, that you could select multiple packets which are then downloaded.

xdccg crashes

The newest version (2.0.1) for linux crashes, sometimes after only running for a couple of minutes. Happened recently when using the web interface (searching)

This exception was thrown:

12/06/2013 8:06:17 PM [Info] Server started at ws://localhost:5557 
12-06-2013 20:06:31,793 FATAL [Threadpool worker] 0:XG.Server.Plugin.General.Webserver.Websocket.Server.OnMessage(127.0.0.1, {"Password":"9cc76feea60dee967298b6dff89ae09f2f7d1ada7494bdd271048b3a94c52c2d","Type":7,"Name":"test","Guid":"c9ef3a48-50d0-4521-8465-a49c953b0713"})
System.ArgumentOutOfRangeException: Argument is out of range.
  at System.DateTime.op_Addition (DateTime d, TimeSpan t) [0x00000] in <filename unknown>:0 
  at System.TimeZoneInfo.GetApplicableRule (DateTime dateTime) [0x00000] in <filename unknown>:0 
  at System.TimeZoneInfo.IsDaylightSavingTime (DateTime dateTime) [0x00000] in <filename unknown>:0 
  at System.TimeZoneInfo.GetUtcOffset (DateTime dateTime) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Utilities.DateTimeUtils.GetUtcOffset (DateTime d) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonConvert.WriteDateTimeString (System.IO.TextWriter writer, DateTime value, DateFormatHandling format, Char quoteChar) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonTextWriter.WriteValue (DateTime value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.JsonWriter.WriteValue (System.Object value) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializePrimitive (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonPrimitiveContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 

Webfrontend keeps dropping connections

Hi,

I'm using xg version 2.2.0.0 on a Ubuntu 12.04LTS Server and everytime I log in it takes a couple of seconds and the web frontend tells me "Verbindung zum XG Server verloren - bitte Seite neu laden!" and I need to relogin. The logfile is empty.

Also adding new servers is not possible as after hitting "Hinzufügen" nothing seems to be saved.

Any ideas?

Thanks a mil,
Moritz

server list duplicates itself on opening server entry

if i open a server entry in the server list in the upper left (click on the small triangle left of the server entry label), the whole server lists inserts itself another time in the list.
afterwards, i have a list in a list, so i can open an entry while opening an entry

my version:
small size improvements
commit f1c2c0c
lformella authored September 07, 2011

settings.xml is not working

I am using XG 2.0 on Windows 8 Pro x64.
I modified the settings.xml located in .../AppData/Roaming/XG. I for example changed the password for the WebGUI but when I go "host:5556" i only can login using the default password "xgisgreat".

The ServerCMD gives me following errors:

04-06-2013 12:14:26,938 FATAL [960] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon-144x144-precomposed.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()
04-06-2013 12:14:27,359 FATAL [961] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon-144x144.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()
04-06-2013 12:14:27,437 FATAL [962] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon-precomposed.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()
04-06-2013 12:14:27,468 FATAL [963] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()
04-06-2013 12:14:39,262 FATAL [995] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon-144x144-precomposed.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()
04-06-2013 12:14:39,293 FATAL [996] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon-144x144.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()
04-06-2013 12:14:39,309 FATAL [997] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon-precomposed.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()
04-06-2013 12:14:39,340 FATAL [998] 0:XG.Server.Plugin.General.Webserver.Browser
Connection.StartRun(/apple-touch-icon.png)
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinst
anz festgelegt.
bei XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream(Byte[]
aData)
bei XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun()

API/xdcc-link handling

Hallo Lars!

I've been looking for years for good XDCC-client which can handle multi part downloads. Awesome!

It would be nice if if XG imports the packetinformation when you click xdcc-links (like xWeasel and ircklipper).

An API to use XG with Couchpotato or Sickbeard would also be a nice feature or at least a frequently scanned folder where you could drop txt files with xdcc-links.

hear is my usescript for xdcc.me and xdccfinder:

//##################################################
// ==UserScript==
// @name XDCC Finder-XG
// @namespace [email protected],2013-11-18:XDCCfindGrabscher
// @description Replaces irc-links with a popup containing a xdcc-link
// @include http://www.xdccfinder.com/results.php*
// @include http://www.xdcc.me/search.php*
// @Version 1
// @grant none
// ==/UserScript==

var links = document.getElementsByTagName("a");
for (i = 0; i < links.length; i++) {

var node = links[i];
var link = node.getAttribute("href");
var title = node.getAttribute("title");
var command = node.getAttribute("onclick");
//#######################################################################
// reads information from irc link and title and pastes them in variables
if (link && link.indexOf("irc://") > -1) {
    var server = link.slice(4,link.lastIndexOf('/'));
    var servername = link.slice(link.indexOf('.')+1,link.lastIndexOf('.'));
    var channel = link.slice(link.lastIndexOf('/') + 1);
    var bot = title.slice(title.indexOf(' ')+1, title.lastIndexOf(' xdcc send'));
    var packetnumber = title.slice(title.indexOf('#')+1,title.lastIndexOf(' Control-V to paste.'));
    var filename = 'test.avi';
    var xdccLink = 'xdcc:'+ server +'/'+ servername +'/#'+ channel +'/'+ bot +'/#'+ packetnumber +'/'+ filename +'/';

    //#######################################################################
    //remove irc-links, replace with popup containing xdcc link 
    node.removeAttribute("href");
    //node.setAttribute("href", xdccLink);
    //node.setAttribute("title", bot);
    node.setAttribute("onclick","javascript:prompt('Control-C to copy, then enter', '"+xdccLink+"');");
}

}

//example XDCC-link: xdcc://irc.server.net/servername/#channel/bot/#3/Test.avi/
//###################################################################

Error in Web-Interface (on Mono)

Hi,

I'm getting the following error, when i try to start the XG-Web-Interface:

(This is the log is from the chrome-console):

GET http://192.168.66.11:5556/signalr/hubs?noext= 500 (Internal Server Error) require.js:1895
Uncaught Error: Script error for: signalr.hubs http://requirejs.org/docs/errors.html#scripterror require.js:166
Uncaught Error: Load timeout for modules: angular,ipCookies,ngAnimate,ngSanitize,ngTable,ui.bootstrap,ngTranslate
http://requirejs.org/docs/errors.html#timeout require.js:166

XG is running on Mint-Linux with Mono (v3.2.1).
I also had to copy "System.Xml.Linq.dll" to the XG-directory to get it started. Maybe this is the problem.

Im very excited about your software. i was searching for something like this for some time now.

Not Start on Windows 7

I have downladed from here:
https://github.com/lformella/xdcc-grabscher/downloads

This:
XG_Server_0.9.1.msi— XG 0.9.1 Windows Installer
XG_Client_0.8.msi— XG Client 0.8 Windows Installer

My system is Windows 7 x64.

If i open the client simply crash:
APPCRASH Bucket 42039787, Type 4
P1: XG.Client.TCP.GTK.exe
P2: 0.8.0.0
P3: 4d8360cd
P4: KERNELBASE.dll
P5: 6.1.7601.17651
P6: 4e21213c
P7: e0434f4d
P8: 000000000000cacd
P9:
P10:

If i open the server:
http://i.imgur.com/gsiMu.jpg

If i install both 0.8 version:
XG_Server_0.8.msi— XG 0.8 Windows Installer
XG_Client_0.8.msi— XG Client 0.8 Windows Installer

The client doesn't start like before, the client give me error:
Could not file setting.xml - ACCESS VIOLATED
Many other .xml files

But that files are in the folder...

Anyway, seems a cool software, hope i can use one day,
Good work

Packet sorting is broken after 2.1.0 update.

Hey,
I just wanted to let you know that the update to 2.1.0 (running on win8 pro 64x) broke the sorting functionality in the web front-end (viewing on latest chrome on mac osx 10.8.4).

reproduction:

  • enter a search term into the irc-overview window.
  • get a list of packets
  • click the "Aktualisiert" (updated) tab to sort the packets by date.
  • the packetlist is resorted somehow, but not by date. can't see any pattern (for example name,size,...)

Download automatically a xdcc link at XG startup

Hello,

I found an issue that occure quite often when i try to cancel a download in progress.
If after cancelled the download i shutdown XG and restart it at connecting to the ircs servers and channel it re send an xdcc send request and download automatically the cancelled file.

It is hard for me to get any trace since i don't know how to put the console log into a file and copy past here.

Various error messages

I do not know how to categorize the following messages but I want to make you aware of it.
If I can provide further information please let me know.

31.12.2013 08:36:00 [Info] Failed to send. Disconnecting. System.AggregateException: One or more errors occured ---> System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in :0
at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in :0
at System.Threading.Tasks.TaskFactory+c__AnonStorey1B.<>m__12 (IAsyncResult l) [0x00000] in :0
at System.Threading.Tasks.TaskFactory1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource1 tcs, System.Func2 endMethod, IAsyncResult l) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- --> (Inner exception 0) System.ObjectDisposedException: The object was used after being disposed. at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in <filename unknown>:0 at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory+<FromAsync>c__AnonStorey1B.<>m__12 (IAsyncResult l) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource1 tcs, System.Func2 endMethod, IAsyncResult l) [0x00000] in :0

31.12.2013 08:35:59 [Info] Failed to send. Disconnecting. System.AggregateException: One or more errors occured ---> System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in :0
at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in :0
at System.Threading.Tasks.TaskFactory+c__AnonStorey1B.<>m__12 (IAsyncResult l) [0x00000] in :0
at System.Threading.Tasks.TaskFactory1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource1 tcs, System.Func2 endMethod, IAsyncResult l) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- --> (Inner exception 0) System.ObjectDisposedException: The object was used after being disposed. at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in <filename unknown>:0 at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory+<FromAsync>c__AnonStorey1B.<>m__12 (IAsyncResult l) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource1 tcs, System.Func2 endMethod, IAsyncResult l) [0x00000] in :0

31.12.2013 08:35:59 [Info] Failed to send. Disconnecting. System.AggregateException: One or more errors occured ---> System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in :0
at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in :0
at System.Threading.Tasks.TaskFactory+c__AnonStorey1B.<>m__12 (IAsyncResult l) [0x00000] in :0
at System.Threading.Tasks.TaskFactory1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource1 tcs, System.Func2 endMethod, IAsyncResult l) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- --> (Inner exception 0) System.ObjectDisposedException: The object was used after being disposed. at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in <filename unknown>:0 at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory+<FromAsync>c__AnonStorey1B.<>m__12 (IAsyncResult l) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.TaskFactory1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource1 tcs, System.Func2 endMethod, IAsyncResult l) [0x00000] in :0

Can't start XG3 without start.sh.

I wanted to try out XG3 today but the zip file doesn't include a "start.sh" anymore. i tried to use the old one from V2.2 with the EXE-filename modified but without luck. I am getting:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for XG.Config.Properties.Settings ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'XG.Config'.
  --- End of inner exception stack trace ---
  at XG.Application.Programm.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for XG.Config.Properties.Settings ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'XG.Config'.
  --- End of inner exception stack trace ---
  at XG.Application.Programm.Main (System.String[] args) [0x00000] in <filename unknown>:0 

I am using XBMCbuntu via ssh. I installed all the packets needed with the command from the tutorial.
I managed to get it working under Mac OSX with the modified start.sh that looks like this:

#!/bin/bash

SOURCE="${BASH_SOURCE[0]}"
DIR="$( dirname "$SOURCE" )"
while [ -h "$SOURCE" ]
do 
  SOURCE="$(readlink "$SOURCE")"
  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
  DIR="$( cd -P "$( dirname "$SOURCE"  )" && pwd )"
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"

cd $DIR
mono XG.Application.exe > log.txt & pid=$!
echo $pid > pid

when i try to run it with the mono command on Ubuntu

sudo mono XG.Application.exe

i am getting this:

Missing method .ctor in assembly /home/hrvstr/xg/XG.Plugin.Webserver.dll, type System.Runtime.CompilerServices.ExtensionAttribute
Can't find custom attr constructor image: /home/hrvstr/xg/XG.Plugin.Webserver.dll mtoken: 0x0a00019d
Missing method .ctor in assembly /home/hrvstr/xg/XG.Config.dll, type System.Runtime.CompilerServices.ExtensionAttribute
Can't find custom attr constructor image: /home/hrvstr/xg/XG.Config.dll mtoken: 0x0a000001

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for XG.Config.Properties.Settings ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'XG.Config'.
  --- End of inner exception stack trace ---
  at XG.Application.Programm.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for XG.Config.Properties.Settings ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'XG.Config'.
  --- End of inner exception stack trace ---
  at XG.Application.Programm.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Database structure help?

Hi Lars, Love this project! I have setup on my computer, but no idea how to prepare the database.
Is there something where I can setup the mysql database? so the server can talk to it?

Thanks! I have vs2012 installed, and compiled on windows7 64bits

Problems with connecting to specific channels

Connecting to the Server irc.scenep2p.net works, and connecting to channels work. But if i connect to the channel #the.source it connects fine, gets the channel information and after a few seconds the whole server loses connection. The same happens with the server irc.oceanirc.net and the channel #oce@n

As soon i have some time i'll try to get more debug information

Missing "/favicon.ico", "/image&ODay", "/image&Ok"

my XG server (installed from XG_Server_0.9.1.msi) spams me in the console on Win7 64bit when clicking around in the web interface:

10-10-2012 10:11:54,144 FATAL [27] OpenClient(/favicon.ico) (Plugin:0)
System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at XG.Client.Web.ImageLoaderWeb.LoadImage(Stream aStream)
   at XG.Client.Web.ImageLoaderWeb..ctor()
   at XG.Client.Web.ImageLoaderWeb.Nested..cctor()
   --- End of inner exception stack trace ---
   at XG.Client.Web.ImageLoaderWeb.get_Instance()
   at XG.Server.Plugin.General.Webserver.Plugin.OpenClient(Object aObject)
10-10-2012 10:11:54,510 FATAL [30] OpenClient(/favicon.ico) (Plugin:0)
System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at XG.Client.Web.ImageLoaderWeb.LoadImage(Stream aStream)
   at XG.Client.Web.ImageLoaderWeb..ctor()
   at XG.Client.Web.ImageLoaderWeb.Nested..cctor()
   --- End of inner exception stack trace ---
   at XG.Client.Web.ImageLoaderWeb.get_Instance()
   at XG.Server.Plugin.General.Webserver.Plugin.OpenClient(Object aObject)
10-10-2012 10:11:54,515 FATAL [31] OpenClient(/favicon.ico) (Plugin:0)
System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at XG.Client.Web.ImageLoaderWeb.LoadImage(Stream aStream)
   at XG.Client.Web.ImageLoaderWeb..ctor()
   at XG.Client.Web.ImageLoaderWeb.Nested..cctor()
   --- End of inner exception stack trace ---
   at XG.Client.Web.ImageLoaderWeb.get_Instance()
   at XG.Server.Plugin.General.Webserver.Plugin.OpenClient(Object aObject)
10-10-2012 10:12:49,260 FATAL [37] OpenClient(/image&ODay) (Plugin:0)
System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at XG.Client.Web.ImageLoaderWeb.LoadImage(Stream aStream)
   at XG.Client.Web.ImageLoaderWeb..ctor()
   at XG.Client.Web.ImageLoaderWeb.Nested..cctor()
   --- End of inner exception stack trace ---
   at XG.Client.Web.ImageLoaderWeb.get_Instance()
   at XG.Server.Plugin.General.Webserver.Plugin.OpenClient(Object aObject)
10-10-2012 10:12:49,261 FATAL [38] OpenClient(/image&OWeek) (Plugin:0)
System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at XG.Client.Web.ImageLoaderWeb.LoadImage(Stream aStream)
   at XG.Client.Web.ImageLoaderWeb..ctor()
   at XG.Client.Web.ImageLoaderWeb.Nested..cctor()
   --- End of inner exception stack trace ---
   at XG.Client.Web.ImageLoaderWeb.get_Instance()
   at XG.Server.Plugin.General.Webserver.Plugin.OpenClient(Object aObject)
10-10-2012 10:12:49,264 FATAL [40] OpenClient(/image&Ok) (Plugin:0)
System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at XG.Client.Web.ImageLoaderWeb.LoadImage(Stream aStream)
   at XG.Client.Web.ImageLoaderWeb..ctor()
   at XG.Client.Web.ImageLoaderWeb.Nested..cctor()
   --- End of inner exception stack trace ---
   at XG.Client.Web.ImageLoaderWeb.get_Instance()
   at XG.Server.Plugin.General.Webserver.Plugin.OpenClient(Object aObject)
10-10-2012 10:12:49,264 FATAL [39] OpenClient(/image&Packet) (Plugin:0)
System.TypeInitializationException: The type initializer for 'Nested' threw an exception. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at XG.Client.Web.ImageLoaderWeb.LoadImage(Stream aStream)
   at XG.Client.Web.ImageLoaderWeb..ctor()
   at XG.Client.Web.ImageLoaderWeb.Nested..cctor()
   --- End of inner exception stack trace ---
   at XG.Client.Web.ImageLoaderWeb.get_Instance()
   at XG.Server.Plugin.General.Webserver.Plugin.OpenClient(Object aObject)

Is it missing a favicon.ico? And can you explain the same message for the "/image&ODay", "/image&Ok" and so on?

Can't save settings with XG3 on MacOSX

Hey I am using XG3 on Mac OSX 10.9.1 and I can't save any settings using the web interface. the save button is greyed out. Saving Filehandlers is greyed out as well.

localhost:~ HRVSTR$ mono --version
Mono JIT compiler version 3.2.3 ((no/8d3b4b7 Mon Sep 16 23:46:28 EDT 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           normal
    SIGSEGV:       altstack
    Notification:  kqueue
    Architecture:  x86
    Disabled:      none
    Misc:          softdebug 
    LLVM:          yes(3.3svn-mono)
    GC:            sgen
localhost:xg HRVSTR$ bash start.sh
localhost:xg HRVSTR$ /Users/HRVSTR/XG/Microsoft.AspNet.SignalR.Core.dll Error : 0 : SignalR exception thrown by Task: System.AggregateException: One or more errors occured ---> System.NotImplementedException: The requested feature is not implemented.
  at Microsoft.AspNet.SignalR.Owin.OwinWebSocketHandler+OwinWebSocket.get_State () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler.SendAsync (ArraySegment`1 message, WebSocketMessageType messageType, Boolean endOfMessage) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.DefaultWebSocketHandler.SendChunk (ArraySegment`1 message) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.<.ctor>b__2 (ArraySegment`1 data, System.Object state) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.Action`2<System.ArraySegment`1<byte>, object>:invoke_void__this___T1_T2 (System.ArraySegment`1<byte>,object)
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (System.Byte[] byteBuffer, Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.PerformSend (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.<Send>b__6 (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.TaskQueue.<Enqueue>b__1 (System.Func`2 next, System.Object nextState) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper.FromMethod[Func`2,Object] (System.Func`3 func, System.Func`2 arg1, System.Object arg2) [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Invoke>d__2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Work>d__8.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.MessageBroker+<DoWork>d__2.MoveNext () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
 --> (Inner exception 0) System.NotImplementedException: The requested feature is not implemented.
  at Microsoft.AspNet.SignalR.Owin.OwinWebSocketHandler+OwinWebSocket.get_State () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler.SendAsync (ArraySegment`1 message, WebSocketMessageType messageType, Boolean endOfMessage) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.DefaultWebSocketHandler.SendChunk (ArraySegment`1 message) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.<.ctor>b__2 (ArraySegment`1 data, System.Object state) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.Action`2<System.ArraySegment`1<byte>, object>:invoke_void__this___T1_T2 (System.ArraySegment`1<byte>,object)
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (System.Byte[] byteBuffer, Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.PerformSend (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.<Send>b__6 (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.TaskQueue.<Enqueue>b__1 (System.Func`2 next, System.Object nextState) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper.FromMethod[Func`2,Object] (System.Func`3 func, System.Func`2 arg1, System.Object arg2) [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Invoke>d__2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Work>d__8.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.MessageBroker+<DoWork>d__2.MoveNext () [0x00000] in <filename unknown>:0 

/Users/HRVSTR/XG/Microsoft.AspNet.SignalR.Core.dll Error : 0 : SignalR exception thrown by Task: System.AggregateException: One or more errors occured ---> System.NotImplementedException: The requested feature is not implemented.
  at Microsoft.AspNet.SignalR.Owin.OwinWebSocketHandler+OwinWebSocket.get_State () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler.SendAsync (ArraySegment`1 message, WebSocketMessageType messageType, Boolean endOfMessage) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.DefaultWebSocketHandler.SendChunk (ArraySegment`1 message) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.<.ctor>b__2 (ArraySegment`1 data, System.Object state) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.Action`2<System.ArraySegment`1<byte>, object>:invoke_void__this___T1_T2 (System.ArraySegment`1<byte>,object)
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (System.Byte[] byteBuffer, Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.PerformSend (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.<Send>b__6 (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.TaskQueue.<Enqueue>b__1 (System.Func`2 next, System.Object nextState) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper+GenericDelegates`4+<>c__DisplayClass52[System.Object,System.Threading.Tasks.Task,System.Func`2[System.Object,System.Threading.Tasks.Task],System.Object].<ThenWithArgs>b__51 () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper+TaskRunners`2+<>c__DisplayClass3a[System.Object,System.Threading.Tasks.Task].<RunTask>b__39 (System.Threading.Tasks.Task t) [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Invoke>d__2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Work>d__8.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.MessageBroker+<DoWork>d__2.MoveNext () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
 --> (Inner exception 0) System.NotImplementedException: The requested feature is not implemented.
  at Microsoft.AspNet.SignalR.Owin.OwinWebSocketHandler+OwinWebSocket.get_State () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler.SendAsync (ArraySegment`1 message, WebSocketMessageType messageType, Boolean endOfMessage) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.DefaultWebSocketHandler.SendChunk (ArraySegment`1 message) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.<.ctor>b__2 (ArraySegment`1 data, System.Object state) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.Action`2<System.ArraySegment`1<byte>, object>:invoke_void__this___T1_T2 (System.ArraySegment`1<byte>,object)
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (System.Byte[] byteBuffer, Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.PerformSend (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.<Send>b__6 (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.TaskQueue.<Enqueue>b__1 (System.Func`2 next, System.Object nextState) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper+GenericDelegates`4+<>c__DisplayClass52[System.Object,System.Threading.Tasks.Task,System.Func`2[System.Object,System.Threading.Tasks.Task],System.Object].<ThenWithArgs>b__51 () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper+TaskRunners`2+<>c__DisplayClass3a[System.Object,System.Threading.Tasks.Task].<RunTask>b__39 (System.Threading.Tasks.Task t) [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Invoke>d__2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Work>d__8.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.MessageBroker+<DoWork>d__2.MoveNext () [0x00000] in <filename unknown>:0 

Json stuff not found when compiling

I pulled the latest code from the master branch (commit 885faf9 ) and i get the following errors when i try to compile xg:

Erzeuge Projektmappe: XG (Release)

Core (Release) wird erzeugt
Performing main compilation...
/usr/bin/dmcs /noconfig "/out:/home/strubbl/git/xdcc-grabscher/Core/bin/Release/Core.dll" "/r:/usr/lib/mono/4.0/System.dll" "/r:/usr/lib/mono/4.0/System.Xml.dll" "/r:/usr/lib/mono/4.0/System.Core.dll" "/r:/usr/lib/mono/4.0/System.Runtime.Serialization.dll" /nologo /warn:4 /optimize+ /codepage:utf8 /t:library "/home/strubbl/git/xdcc-grabscher/Core/Packet.cs" "/home/strubbl/git/xdcc-grabscher/Core/Object.cs" "/home/strubbl/git/xdcc-grabscher/Core/Bot.cs" "/home/strubbl/git/xdcc-grabscher/Core/Channel.cs" "/home/strubbl/git/xdcc-grabscher/Core/Server.cs" "/home/strubbl/git/xdcc-grabscher/Core/Helper.cs" "/home/strubbl/git/xdcc-grabscher/Core/File.cs" "/home/strubbl/git/xdcc-grabscher/Core/FilePart.cs" "/home/strubbl/git/xdcc-grabscher/Core/Properties/AssemblyInfo.cs" "/home/strubbl/git/xdcc-grabscher/Core/AObject.cs" "/home/strubbl/git/xdcc-grabscher/Core/AObjects.cs" "/home/strubbl/git/xdcc-grabscher/Core/Servers.cs" "/home/strubbl/git/xdcc-grabscher/Core/Files.cs" "/home/strubbl/git/xdcc-grabscher/Core/Objects.cs" "/home/strubbl/git/xdcc-grabscher/Core/Snapshot.cs" "/home/strubbl/git/xdcc-grabscher/Core/Snapshots.cs" "/home/strubbl/git/xdcc-grabscher/Core/Attributes.cs" "/home/strubbl/git/xdcc-grabscher/Core/Extensions.cs" 
Compilation failed: 28 error(s), 0 warnings

/home/strubbl/git/xdcc-grabscher/Core/AObject.cs(34,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/AObject.cs(34,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/FilePart.cs(31,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/FilePart.cs(31,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Packet.cs(24,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Bot.cs(34,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Bot.cs(34,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/AObject.cs(106,18): error CS0246: The type or namespace name `JsonProperty' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/AObject.cs(106,18): error CS0246: The type or namespace name `JsonPropertyAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/AObjects.cs(35,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/AObjects.cs(35,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Packet.cs(31,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Packet.cs(31,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Channel.cs(33,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Channel.cs(33,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/AObject.cs(127,18): error CS0246: The type or namespace name `JsonProperty' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/AObject.cs(127,18): error CS0246: The type or namespace name `JsonPropertyAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Channel.cs(38,18): error CS0246: The type or namespace name `JsonProperty' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Channel.cs(38,18): error CS0246: The type or namespace name `JsonPropertyAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Server.cs(33,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Server.cs(33,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Server.cs(38,18): error CS0246: The type or namespace name `JsonProperty' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/Server.cs(38,18): error CS0246: The type or namespace name `JsonPropertyAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/File.cs(24,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/File.cs(41,18): error CS0246: The type or namespace name `JsonProperty' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/File.cs(41,18): error CS0246: The type or namespace name `JsonPropertyAttribute' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/File.cs(33,10): error CS0246: The type or namespace name `JsonObject' could not be found. Are you missing a using directive or an assembly reference?
/home/strubbl/git/xdcc-grabscher/Core/File.cs(33,10): error CS0246: The type or namespace name `JsonObjectAttribute' could not be found. Are you missing a using directive or an assembly reference?


Erzeugung abgeschlossen -- 28 Fehler, 1 Warnung

--------------------- Fertig ---------------------

Assembly 'Newtonsoft.Json.dll' nicht gefunden. Überprüfen Sie, ob die Assembly auf dem Datenträger vorhanden ist. Falls der Verweis zum Erzeugen des Projekts erforderlich ist, könnten Sie Compiler-Fehler erhalten.
Build: 28 Fehler, 1 Warnung

Do i have to install some libs or something like that?

A lot of missing file

If i try to install XG 3.0.0.0 msi under Windows 7 64bit professional a lot of file missing (return error 1308, source file missing).
Else if i try to load XG.Application.exe from the zip archive i get:
Unhandled Exception: System.IO.FileNotFoundException: Unable to load the file or the assembly 'Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=
0738eb9f132ed756' or one of its dependencies. Unable to find the file specified. at XG.Application.Programm.Main(String[] args)

extend search with excluded keywords

Is it possible to extend the search feature to use keywords with a minus in front, e.g. -2010 or -theory? The keywords "2010" or "theory" shouldn't be in the search result.

Client crash & password error

When I try starting the client it just crashes (got no idea why).
When I try to use the webserver, I get a error saying my nickserv password is wrong (on the sever window). I filled my password in the settings.xml file, but i wonder if it works.

No notifications description

Under Windows 7 there aren't any description but only generic "Notification_Description_11" messages, it seems that some {{}} are missing around variable name, right?

Greasemonkey Search Provider Script for XG 2

I found this great Greasemonkey userscript fpr XG 2:
http://userscripts.org/scripts/show/187324

I didn't modified it for XG 3 since 3 isn't working on my setup but maybe Lars wants to add it in his next version?

I also added ixIRC to it and fixed some bugs:

SearchProvider.Create("XDCC Finder", "http://www.xdccfinder.com/results.php?kw={0}&bt=&ch=&nw=&order=2&s={1}", function(self, responseDoc)
{
    var table = responseDoc.getElementById("tables");
    var results = [];
    for(var i = 1; i < table.rows.length; i += 2)
    {
        var tr = table.rows[i];
        results.push(new XGDownloadLink(
            tr.cells[5].children[0].href.substr(6, tr.cells[5].children[0].href.lastIndexOf("/")-5),
            tr.cells[1].children[0].textContent,
            tr.cells[2].children[0].textContent,
            tr.nextSibling.cells[0].children[2].children[1].textContent,
            tr.cells[5].children[0].textContent,
            tr.cells[0].children[0].title,
            tr.cells[3].textContent));  
    }
    return { items: results, pageCount: 10 }; responseDoc.getElementById("pagination").lastChild.previousSibling.textContent.trim()
}, function(page)
{
    return (page - 1) * 20;
});

SearchProvider.Create("ixIRC", "http://ixirc.com/?q={0}&pn={1}", function(self, responseDoc)
{
    var table = responseDoc.getElementById("results-table");
    var results = [];
    for(var i = 1; i < table.rows.length; i += 2)
    {
        var tr = table.rows[i];
        results.push(new XGDownloadLink(
            tr.cells[0].children[0].href.substr(6, tr.cells[0].children[0].href.lastIndexOf("/")-5),
            tr.cells[1].children[0].textContent,
            tr.cells[2].children[0].textContent,
            tr.cells[3].children[0].textContent,
            tr.cells[4].textContent,
            tr.cells[0].children[1].textContent,
            tr.cells[6].textContent));  
    }
    return { items: results, pageCount: 10}; //responseDoc.getElementsByClassName("page-numbers").lastChild.textContent -1
});

Throttle Downloadspeed

Throttling Downloadspeed is a crucial feature for many people, especially for a download service

xdcc download cancel doesn't work.

Hello,
It seems than issue occure each time for me when i try to cancel a download that is in progress. In the interface it show it is cancelled but if i go into the tmp folder it show the file and the console show this kind of message error

"FATAL [33] XG.Business.Helper.FileSystem.DeleteFile(PATHTOFILE) System.IO.Exception: the process cannot access to the file 'PATHTOFILE' because it is already open by another process.

Sorry if the message error is not the exact error message since it display it in french for me so i translated it for you.

By the way another bug i found that is related to that i will do another issue for this bug.

Kind regards,

XG does not shutdown when using linked folder

My XG configuration directory ~/.config/XG is a link to another directory. Maybe this is the reason XG does not shutdown when I use the stop.sh script?
To shutdown XG I have to use ctrl+c.

make "Updated" column in external search sortable

Yeah, I know I can already sort the results from the external search, but please don't make the dates in the column "Aktualisiert/Updated" look like "Friday at 08:26" and "20. May at 10:26". Because of that mixture the sorting of the strings is not in the right logical date order. So the results aren't sorted in the correct time order.

SIGSEGV while executing native code

Hey, I am running XG 2.1.1 on XBMCbuntu. After updating my System today I got the following error when I tried to start XG with the bash command:

hrvstr@XBMC:~/XG$ bash start.sh
hrvstr@XBMC:~/XG$ 
Native stacktrace:


Debug info from gdb:

*** glibc detected *** mono: free(): invalid pointer: 0xb767d000 ***
|]

=================================================================
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.
=================================================================

I tried to restart a couple of times and got some more output:

hrvstr@XBMC:~/XG$ bash start.sh
hrvstr@XBMC:~/XG$ bash start.sh
hrvstr@XBMC:~/XG$ bash stop.sh
^[[Ahrvstr@XBMC:~/XG$ bash start.sh
hrvstr@XBMC:~/XG$ Stacktrace:

  at System.Security.Cryptography.CryptoConfig.CreateFromName (string,object[]) <0x00057>
  at System.Security.Cryptography.CryptoConfig.CreateFromName (string) <0x00013>
  at System.Security.Cryptography.RandomNumberGenerator.Create (string) <0x00013>
  at System.Security.Cryptography.RandomNumberGenerator.Create () <0x00013>
  at System.Guid.NewGuid () <0x00077>
  at XG.Core.AObject..ctor () <0x00057>
  at XG.Core.AObjects..ctor () <0x00013>
  at XG.Core.Servers..ctor () <0x00013>
  at XG.Server.Plugin.Backend.File.BackendPlugin.LoadServers () <0x000ef>
  at XG.Server.Main.AddBackendPlugin (XG.Server.Plugin.ABackendPlugin) <0x00016>
  at XG.Server.Cmd.Cmd.Main (string[]) <0x00377>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:


Debug info from gdb:


=================================================================
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.
=================================================================


API Documentation is missing

API Documentation is missing

example:

/// <summary>
/// Gets the source.
/// </summary>
/// <returns>The source.</returns>
/// <param name="url">URL.</param>

reduced rappit eats up all my memory

The rabbit eats it all. Nearly 4GB RAM. And additionally 2.5GB of Swap. Then it crashes with the following error message.

While it eats all memory you cannot do anything. Computer is totally blocked. Just every 10 seconds or so a refresh of the opened htop. I switched to it so fast after starting xg.

Maybe I have too many downloads in queue? I wanted to download all the version of Ubuntu in parallel. And my machine is not the newest.

$ ./Server.Cmd.exe 
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
Stacktrace:

  at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff>
  at System.Collections.Generic.HashSet`1.Resize () <0x001f7>
  at System.Collections.Generic.HashSet`1.Add (T) <0x00093>
  at System.Collections.Generic.HashSet`1.OnDeserialization (object) <0x00247>
  at System.Runtime.Serialization.ObjectManager.RaiseDeserializationEvent () <0x00198>
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader) <0x0005b>
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&) <0x000df>
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler) <0x00143>
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream) <0x00013>
  at XG.Server.Plugin.Backend.File.BackendPlugin.Load (string) <0x00083>
  at XG.Server.Plugin.Backend.File.BackendPlugin.LoadServers () <0x00047>
  at XG.Server.Main.AddBackendPlugin (XG.Server.Plugin.ABackendPlugin) <0x0001e>
  at XG.Server.Cmd.Cmd.Main (string[]) <0x00363>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    /usr/bin/cli() [0x4961e9]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0) [0x7fc2b441ebd0]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fc2b407e037]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fc2b4081698]
    /usr/bin/cli() [0x5dcff9]
    /usr/bin/cli() [0x5d54da]
    /usr/bin/cli() [0x5d56e6]
    /usr/bin/cli() [0x5d594a]
    /usr/bin/cli() [0x5d8632]
    /usr/bin/cli() [0x5d8915]
    /usr/bin/cli() [0x5d8b8e]
    /usr/bin/cli(mono_array_new_specific+0xe2) [0x566082]
    [0x401be43d]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abgebrochen (Speicherabzug geschrieben)

Cannot start on Arch Linux

Hi,

I just downloaded the current version (3.1.0.0) and tried to start with $ ./start.sh on Arch Linux. This gives me the following exception:

 Unhandled Exception:
 System.ArgumentException: invalid user id
 Parameter name: user
   at Mono.Unix.UnixUserInfo..ctor (Int64 user) [0x00000] in <filename unknown>:0·
   at Mono.Unix.UnixUserInfo.GetRealUser () [0x00000] in <filename unknown>:0·
   at Mono.Unix.UnixEnvironment.get_UserName () [0x00000] in <filename unknown>:0·
   at XG.Application.Programm.Main (System.String[] args) [0x00000] in <filename unknown>:0·
 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: invalid user id
 Parameter name: user
   at Mono.Unix.UnixUserInfo..ctor (Int64 user) [0x00000] in <filename unknown>:0·
   at Mono.Unix.UnixUserInfo.GetRealUser () [0x00000] in <filename unknown>:0·
   at Mono.Unix.UnixEnvironment.get_UserName () [0x00000] in <filename unknown>:0·
   at XG.Application.Programm.Main (System.String[] args) [0x00000] in <filename unknown>:0

It seems like there is something wrong with my user configuration in Linux but I cannot figure out what it is. Do you have an idea?

Thanks!

Probleme beim starten unter raspbmc (Linux)

Beim Aufruf des Webservers tritt folgender Fehler auf:

0:XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun(/index.html)
System.ArgumentOutOfRangeException: Argument is out of range.
at System.Globalization.DateTimeFormatInfo.GetAbbreviatedDayName (DayOfWeek dayofweek) [0x00000] in :0
at System.DateTimeUtils.ToString (DateTime dt, Nullable`1 utc_offset, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in :0
at System.DateTimeUtils.ToString (DateTime dt, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in :0
at System.DateTime.ToString (System.String format, IFormatProvider provider) [0x00000] in :0
at System.Net.HttpListenerResponse.SendHeaders (Boolean closing, System.IO.MemoryStream ms) [0x00000] in :0
at System.Net.ResponseStream.GetHeaders (Boolean closing) [0x00000] in :0
at System.Net.ResponseStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in :0
at XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream (System.Byte[] aData) [0x00000] in :0
at XG.Server.Plugin.General.Webserver.BrowserConnection.WriteToStream (System.String aData) [0x00000] in :0
at XG.Server.Plugin.General.Webserver.BrowserConnection.StartRun () [0x00000] in :0

Folgende Mono Pakete sind installiert:
libmono-corlib4.0-cil install
libmono-csharp4.0-cil install
libmono-data-tds4.0-cil install
libmono-i18n-west4.0-cil install
libmono-i18n4.0-cil install
libmono-microsoft-csharp4.0-cil install
libmono-posix4.0-cil install
libmono-security4.0-cil install
libmono-sqlite4.0-cil install
libmono-system-configuration4.0-cil install
libmono-system-core4.0-cil install
libmono-system-data4.0-cil install
libmono-system-drawing4.0-cil install
libmono-system-enterpriseservices4.0-cil install
libmono-system-runtime-serialization4.0-cil install
libmono-system-security4.0-cil install
libmono-system-transactions4.0-cil install
libmono-system-web-applicationservices4.0-cil install
libmono-system-web-services4.0-cil install
libmono-system-web4.0-cil install
libmono-system-xml-linq4.0-cil install
libmono-system-xml4.0-cil install
libmono-system4.0-cil install
libmono-web4.0-cil install
mono-4.0-gac install
mono-dmcs install
mono-gac install
mono-runtime install

Hast du eine Idee woran das liegen kann? Irgendwie scheint er die Datei nicht zu finden bzw. kann es sein, dass die Resourcen nicht extrahiert werden?

P.s.: Würde mich freuen wenn du mir hier weiterhelfen kannst, die Software macht nen guten Eindruck ;).

feature requests

I don't know if this is the right place for feature requests, so feel free to move/close this issue.

features:

  • be able to highlight the packetname in the webfrontend. (to copy/paste, google, search imdb, etc)
  • a function to cancel active downloads, for when a packet turns out to be something else.
  • an option to load the local search results on multiple pages because the browser often freezes for 10-15 seconds when entering search terms with 5000+ results.
  • an option to set a custom/more useful startpage than the dashboard
  • an option to hide the botlist in the local search tab, useful for when viewing on small displays

I know this is kind of an overcharge but i would like to know if you plan on adding any of this features. I also would like to contribute but I am afraid I could only help design-wise (as this is my profession) and maybe a little html/css.

anyway, thanks for this amazing software!

provide compiled binaries

Since Github removed the Downloads function for every project there is no way to get a current version despite compiling it yourself.

Perhaps you can link to a more recent version on your homepage?

Item name clean-up when xdcc listing

When xdcc listing bots, XG puts the date and time of when the packet was uploaded in the item name in the search results. Looks kinda messy, would be nice if you could remove the date and time from the item name.

Thanks!

SIGSEGV while executing native code

Shortly after starting Decrypted Dragonfly I get some stack traces:

xg/Microsoft.AspNet.SignalR.Core.dll Error : 0 : SignalR exception thrown by Task: System.AggregateException: One or more errors occured ---> System.NotImplementedException: The requested feature is not implemented.
  at Microsoft.AspNet.SignalR.Owin.OwinWebSocketHandler+OwinWebSocket.get_State () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler.SendAsync (ArraySegment`1 message, WebSocketMessageType messageType, Boolean endOfMessage) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.DefaultWebSocketHandler.SendChunk (ArraySegment`1 message) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.<.ctor>b__2 (ArraySegment`1 data, System.Object state) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.Action`2<System.ArraySegment`1<byte>, object>:invoke_void__this___T1_T2 (System.ArraySegment`1<byte>,object)
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (System.Byte[] byteBuffer, Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.PerformSend (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.<Send>b__6 (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.TaskQueue.<Enqueue>b__1 (System.Func`2 next, System.Object nextState) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper.FromMethod[Func`2,Object] (System.Func`3 func, System.Func`2 arg1, System.Object arg2) [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Invoke>d__2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Work>d__8.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.MessageBroker+<DoWork>d__2.MoveNext () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
 --> (Inner exception 0) System.NotImplementedException: The requested feature is not implemented.
  at Microsoft.AspNet.SignalR.Owin.OwinWebSocketHandler+OwinWebSocket.get_State () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler.SendAsync (ArraySegment`1 message, WebSocketMessageType messageType, Boolean endOfMessage) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.WebSockets.DefaultWebSocketHandler.SendChunk (ArraySegment`1 message) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.<.ctor>b__2 (ArraySegment`1 data, System.Object state) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) System.Action`2<System.ArraySegment`1<byte>, object>:invoke_void__this___T1_T2 (System.ArraySegment`1<byte>,object)
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (System.Byte[] byteBuffer, Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush (Boolean flushEncoder) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter+ChunkedWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.BufferTextWriter.Flush () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.PerformSend (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Transports.WebSocketTransport.<Send>b__6 (System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Infrastructure.TaskQueue.<Enqueue>b__1 (System.Func`2 next, System.Object nextState) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.TaskAsyncHelper.FromMethod[Func`2,Object] (System.Func`3 func, System.Func`2 arg1, System.Object arg2) [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Invoke>d__2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.Subscription+<Work>d__8.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Messaging.MessageBroker+<DoWork>d__2.MoveNext () [0x00000] in <filename unknown>:0

And after a while (some minutes) and all of a sudden, xg is exploding:

Stacktrace:


Native stacktrace:

    mono() [0x4b5bc1]
    mono() [0x50cc3b]
    mono() [0x423f82]
    /usr/lib/libpthread.so.0(+0xf870) [0x7fda314b2870]
    mono(mono_class_is_assignable_from+0x2a) [0x51e4ea]
    mono(mono_object_isinst+0x35) [0x5b5f25]
    mono() [0x53d9b5]
    [0x41385a52]

Debug info from gdb:


=================================================================
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.
=================================================================

Abgebrochen (Speicherabzug geschrieben)

I am running mono 3.2.3-1 with Arch Linux. Those exceptions only seem to occur when using the webinterface. When starting XG and not using the webinterface none of the above listed outputs is printed - console stays clean and downloads are running.
When using Deadlock Donkey none of those errors was seen. So it must have been introduced in between.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.