Skip to content
Scott Campbell edited this page May 3, 2014 · 8 revisions

Build Errors

Could not load file or assembly 'log4net' or one of its dependencies. The system cannot find the file specified.

Before you can build the solution, make sure you have downloaded all the dependencies (nuget packages). And that they have been referenced correctly against the required projects. See the build errors panel or packages.config for which project needs which dependency. The packages should be downloaded into the \packages folder.

Startup Errors

System.MissingMemberException: The server factory could not be located for the given input: Nowin

Make sure you have all the required nuget package dlls in the \XG.Application\bin folder, in particular Nowin.dll and Microsoft.Owin.Host.HttpListener.dll.

System.Net.Sockets.SocketException: Address already in use

You may aleady have a copy of the server xdcc-grabscher application already running, or another application that is already using that port (Default port is 5556). Try navigate to http://127.0.0.1:5556 in your web browser.

Unhandled Exception: System.MissingMethodException: Method not found: 'Int32 Sys tem.Environment.get_CurrentManagedThreadId()'.

Make sure you have at least .NET 4.5 or mono 3.x installed.

Runtime Errors

TBA

Usage

How do I run xdcc-grabscher?

On Windows, run the \XG.Application\bin\XG.Application.exe by double clicking on it.

On Linux/Mac, open up a terminal and navigate to the \XG.Application\bin\ folder, using the cd command, then make sure start.sh has execuateble permissions set, you can do this by running the following command chmod +x start.sh as root or by prepending sudo, then execute start.sh by typing in the command ./start.sh

If you have done this correctly, you will see a login prompt when you navigate to this url: http://127.0.0.1:5556, the default password is xgisgreat.

Diagnosis

I don't see any errors, but still having problems with running XG, or feature X is not working.

Try turn up the logging verbosity.

Please put the following file in your config folder: https://gist.github.com/lformella/10551086 XG will log only fatal errors by default, so maybe there are some errors you wont see. This file will log error messages to your console.

Also check your Browser's JavaScript/error console/log for messages, typically pressing F12 will open up the developers tools and most likely the console tab by default. Otherwise try search the toolbar for something like Tools -> Web Developer -> Console. This will depend on which browser you are using.

Clone this wiki locally