Tuesday, February 21, 2012

Could not get Chrome DLL version RelaunchChromeBrowserWithNewCommandLineIfNeeded

This error can occur in many circumstances. In my case I was running chrome.exe from command line to pack Chrome extension. But searching internet shows that this error occurs in many different environments and circumstances. What worked for me:

  1. Go to the Chrome installation directory C:\Users\yourusername\AppData\Local\Google\Chrome\Application
  2. It has the following directory inside: "17.0.963.56" - the name of directory on your computer can be different
  3. Simply add the full path to the chrome home directory and this build directory to your "PATH" environment variable.

Git to Hudson: Please tell me who you are

Here is the error that Git gives Hudson sometimes:

Caused by: hudson.plugins.git.GitException: Error performing command: git.exe tag -a -f -m Hudson Build #4 hudson-seo-plugin-4
Command "git.exe tag -a -f -m Hudson Build #4 hudson-seo-plugin-4" returned status code 128:
*** Please tell me who you are.


  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

And here is the solution:

  1. Go to your project
  2. Click Configure
  3. Under "Source Code Management" -> Git click on "Advanced" button
  4. Enter required data in "Config user.name Value" and "Config user.email Value"
  5. Click "Save" at the bottom of the page.
  6. Restart you build by clicking "Build Now"
 Please note that setting this information on Hudson (not job) level didn't help me.

Wednesday, February 08, 2012

Photoshop Transparent Background in CS5

I was trying to remove background from a couple of icons. Internet is full of articles that tell you to use the  Magic Wand then press Delete. I did it but instead of deleting the background it would show me the following dialog:

and whatever I did - changed Contents or Blending, changed Opacity - nothing helped. I simply cannot delete the background!

After an hour of agony I decided to try another tool - Background Eraser Tool and when I was opening it I accidentally noticed another tool - Magic Eraser Tool. Select it and click on your background - it's going to work.