Archive for the ‘windows’ Category

Google Chrome : The application failed to initialize properly (0xc0000005) « me & PHP

Thursday, September 4th, 2008

If you are getting (like me) the “The application failed to initialize properly (0xc0000005)” error when trying to start Google chrome try to use -no-sandbox option as pointed out in Google Chrome : The application failed to initialize properly (0xc0000005) « me & PHP.

Microsoft Visio has stopped working after exiting Visio

Thursday, September 4th, 2008

It seems that Visio has some kind of incompability with Bluetooth drivers. http://www.tech-archive.net/Archive/Visio/microsoft.public.visio.general/2008-06/msg00239.html.

I notice this problem when editing Visio objects embedded into Microsoft Word documents. In my case after I enabled Bluetooth (via my Compaq nw8440 special keyboard button) this problem went away.

Cygwin/X: disappering mouse pointer

Thursday, November 15th, 2007

Remember to start the X system using startxwin.bat not startx. With startx I lose the mouse cursor/pointer when I´m over a X window.

cygwin: setup.exe crashes whem upgrading packages

Monday, November 5th, 2007

I´ve run into a very strange problem.

Every time I run setup.exe and try to upgrade bash package

setup.exe crashes with the familiar “setup.exe has generated errors and will be close by windows. you will need to restart the program. An error log is beign created”. The solution I found is for bash package but I guess it also work for other packages as well

After googling a bit I found the this mail thread . But there was no solution posted into the thread so I tried to contact the Mario Frasca (one of the participants in the mail thread) to see if he found any solution to the problem. Well, he did. He sent me a mail telling me that William Crosmun resolved his problem.

It seems that /etc/setup/bash.lst.gz become corrupted

and if you delete it

and retry the upgrade now everything should work.

UPDATE: Please make a backup of the file before deleting it. If deleting the file solve the issue then please fill a bug report at cygwin and include that file. Or post a comment here and I will try to take care of it.

Hope it helps. Remember that if your setup.exe crashes while upgrading a package other than bash you should try to delete otherpackage.lst.gz instead of bash.lst.gz.

bash: clear: command not found

Wednesday, September 26th, 2007

If your are getting “bash: clear: command not found” on you first install of cygwin you have to make sure that you include ncurses packages in your cygwin installation. clear.exe doesn´t come in the standard installation. You must include ncurses to get clear.exe in your system. If you are using bash you can use Ctrl-L and get the same result though.

UPDATE: ncurses is a cygwin package in libs category. You can install it using the the Cygwin Setup utility (just run setup.exe again). See screenshot below

Sony Ericsson K750 USB charging

Thursday, May 31st, 2007

If you’re frustated trying to charge your K750 from USB with no luck. Try to install the drivers first, it actually makes a difference. The K750 wont recharge the battery if the drivers are not installed. At least that worked for me in Windows 2000.

sony ericsson 750

Scrolling fast with the mousewheel triggers history back and forth

Friday, April 20th, 2007

Get FirefoxI’m observing an strange firefox behavior when I scroll the page using the mouse wheel. It goes back and forth through search history. So I googled a little bit and found that the KVM switch that I’m using it’s producing bogus key press event that firefox misinterprets. If you are running Linux the solution is simple as you can modify the X server configuration to ignore those events. But I cannot find a suitable solution for Windows.

Disabling history scroll in firefox (Usually triggered with Shift-<Wheel>) in about:config seems to have no effect in stopping this weird mouse wheel behavior.

Theorically changing the value of all mousewheel.horizscroll.with∗.action and mousewheel.with∗.action entries to 0 disables moving back/forward in history using the mouse wheel. Check this to know more about the meaning and purpose of mousewheel.∗ entries. But as I said It seems that doesn’t make any difference.

If you know the solution for this problem post it in the bug report

How to select all tables in a Microsoft Word Document

Saturday, March 17th, 2007

It seems it’s impossible to do it from the user interface. But I found here that it could be done using a VB Macro:

Sub ChangeAllTablesToNormal()
Dim myTable As Table
   For Each myTable In ActiveDocument.Tables
      myTable.Select
      Selection.Style = ActiveDocument.Styles("Normal")
   Next myTable
   ActiveDocument.Repaginate       
End Sub

Subversion error: 503 Service unavailable

Wednesday, March 7th, 2007

If you faced the following subversion message in windows:

svn: PROPFIND request failed on '/repos/demosystemeic' svn: PROPFIND of '/repos/demosystemeic': 503 Service Unavailable (http://x.x.x.x)

Probably the problem is caused because you are proxying your request via a proxy that doesn’t support HTTP methdos PROPFIND, etc.

If you don’t really need the proxy to access the repository edit the file

c:\Documents and Settings\username\Application Data\Subversion\servers (Note: Subversion directory is hidden)

and comment out the following items

http-proxy-host=xxx http-proxy-port=xxx

NOTE: In linux the file is located at ~/.subversion/servers

Vista memory management

Wednesday, February 28th, 2007

Interesting link about Vista aggresive memory management (aka SuperFetch) Coding Horror: Why Does Vista Use All My Memory?