Thursday, March 8, 2012

Compiling Bonobo.Git.Server from Source

After downloading Bonobo.Git.Server source code:

I experienced a few problems getting started.

I suspect that just installing the following will allow you get to business immediately:
but here is the path I took...

Problem 1:
I was not able to open the project.  It reported this error in VS2010:
Error : The Project Type is not supported by this Installation

Solution 1:
Edit  Bonobo.Git.Server / Bonobo.Git.Server / Bonobo.Git.Server.csproj and remove
{e53f8fea-eae0-44a6-8774-ffd645390401}; from ProjectTypeGuids

Problem 2:
A lot of web dependencies are missing, and the "Install Web Components" button does not work in VS2010

Solution 2:
Install Microsoft Web Platform

Problem 3:
Error 175: The specified data store provider cannot be found, or is not valid.

Solution 3:
Install ADO.NET 2.0 Provider for SQLite





Tuesday, March 6, 2012

Bonobo Git Server - "The remote end hung up unexpectedly"

The following error occurs in SmartGit when trying to push an existing local repository to a new remote repository on Bonobo Git Server:
The remote end hung up unexpectedly
The remote end hung up unexpectedly
RPC failed; result=22, HTTP code = 404

Modify the web.config file in the root of Bonobo.Git.Server (C:\initpub\wwwroot\Bonobo.Git.Server\Web.config) and up the limits on the following lines:

   <httpRuntime maxRequestLength="102400" />

     <requestLimits maxAllowedContentLength="102400" />

In both cases "102400" was replaced with "999999999" and the push worked!


  1. windows - Issue with GIT hosted on IIS with Bonobo - Stack Overflow

Redirect a Python Import

You need to redirect a Python import to a module or package in a relative location.

Create a dummy module that replaces its own reference in sys.modules with a reference to a module or package in another location.
# Paste this in the module being imported, in this example a package
# Note that when del sys.modules[__name__] is executed, local variables no longer accessible
# You can store items in sys.argv if exec('import {0}'.format(module_name)) needed,
# but you get the following warning:
# RuntimeWarning: Parent module 'attila' not found while handling absolute import
import os
import sys

RELATIVE_VALUE = -1  # Directories to step up:  -1 = . (packages only), -2 = .. , -3 = ... , etc.
PATH_APPEND = []  # After step up, append this sub path, example: ['foo', 'bar'] -> /foo/bar is appended

pth = os.path.sep.join(__file__.split(os.path.sep)[0:RELATIVE_VALUE] + PATH_APPEND)
sys.path.insert(0, pth)

del sys.modules[__name__]
import foo  #name of this module, and the one you are redirecting to



Thursday, March 1, 2012

FlashBuilder Fails to Launch: JVM terminated. Exit code=-1

FlashBuilder fails to launch, with a "JVM terminated.  Exit code=-1" error:

Delete the following line from the FlashBuilder.ini file in root of your installation directory:


The default installation directory on 64bit Windows 7 is:

C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\FlashBuilder.ini


VirtualBox - Windows 7 fails to install - Status: 0xc0000225

While attempting to install Windows 7 as a guest on a Linux host using VirtualBox, the following error occurs during installation:

Windows failed to start...

Status: 0xc0000225

In the VirtualBox settings for the virtual machine, select "Enable IO APIC" under System > Motherboard.

References: • View topic - [SOLVED] Windows 7 fails to install; Status: 0xc0000225