art's abode

art.csoft.net

Archive for November, 2010

Upgrading Live Mesh to Live Sync on Vista – workarounds.

without comments

We saw the following error messages when trying to get Live Sync working under a Vista laptop.

If you are unable to install Live Sync because it says Live Mesh is installed for other users on the computer.

 

Login to as many of the other accounts as you can, and uninstall Live Mesh.

If there are accounts you can’t access, or it’s been removed and still not being recognized, you may have to manually run the installer to repair or uninstall Mesh. Note that this exercise was fruitless under our Vista install due to being unable to run with elevated permissions.

You may also have to remove registry keys manually. See this article and work through the steps: http://social.microsoft.com/Forums/en/LiveMesh/thread/e22e0115-98d1-47eb-b495-ff3e10acb0a6.

Type Regedit and hit Enter (if you are on Vista you will need to agree to a UAC prompt)
In the Registry Editor remove the following Registry entries:

HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\9D1E4BCD781B45B479E1418784C5A935

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\<YOURSID>\Products\9D1E4BCD781B45B479E1418784C5A935

NOTE:  <YOURSID> value will be unique to you.

You should do this for each SID you see in the UserData hive. Take care as this may botch things up for the other accounts. In our case it wasn’t an issue as they were non-active accounts.

Live Sync has an error on login: “Sorry, Windows Live Sync isn’t accepting new users right now. please check back later.”

 

  • Go to Start > Control Panel > Programs.
  • Find Windows Live Sync if it’s in the list of installed programs and uninstall it.
  • Uninstall/repair Windows Live Essentials, and remove Live Mesh if it’s showing as installed.
  • Download the Windows Live Essentials 2011 installer, and install Live Mesh/Live Sync.

After these steps, Live Sync was able to startup and login to LIVE successfully. This also added the device to the Sync Devices which you can confirm via the LIVE website (LIVE icon > Devices).

Hope this helps!

Written by art

November 13th, 2010 at 4:21 pm

OpenSolaris, Netbeans and rubygems.

without comments

If you are stuck trying to get rubygems installed in your OpenSolaris environment, the following may help. I ran into these issues while installing bcrypt-ruby and sqlite3-ruby gems.

  • First off, get the SUNWruby18 package, not the netbeans or jruby one. You can setup netbeans to use the  SUNWruby18 binary rather than jruby.
  • Install GCC, for example package name gcc-432.
  • Using “pfexec ln -s” for example, make symbolic links to GCC from /usr/bin/gcc-4.3.2 to /usr/bin/gcc and /usr/sfw/bin/gcc. Take note of which gcc version you have and construct your ln -s command appropriately.
  • Update your rubygems installation: “pfexec gem update –system”.
  • If you are compiling gems, you will need rake: “pfexec gem install rake”.
  • If you need sqlite3-ruby gem, you will need to download and compile a newer version of sqlite3 from the website as the OpenSolaris package is currently too old to build the gem.

That should be enough to get you going. Try installing gems now either from shell or netbeans with superuser privileges. If you run into errors, take close note of the error messages while compiling the gem, and the output logs. You can generally work out what is required from the fairly verbose errors.

You may see this type of error:

art@sol:~$ irb
irb(main):001:0> require “bcrypt”
LoadError: no such file to load — bcrypt
from (irb):1:in `require’
from (irb):1

One way to resolve this is to run ruby or irb with the -rubygems option:

art@sol:~$ irb -rubygems
irb(main):001:0> require “bcrypt”
=> true
irb(main):002:0>

Hope this helps!

Written by art

November 11th, 2010 at 7:45 pm