Wednesday, May 06, 2015

pip fails to run on Windows 10 E build 10074

Installed Windows 10 E 64-bit build 10074, followed by Python 2.7.9 32-bit. Running pip fails the with message

Fatal error in launcher: Job information querying failed
Issue is open in Github, see below
https://github.com/pypa/pip/issues/2748

This issue is also reported in Python.org, see
https://bugs.python.org/issue24127


Workaround:
C:\>python -m pip install comtypes

Sunday, May 03, 2015

Windows 10 E B 10074 text corruption in File Explorer

Just installed Windows 10 Enterprise build 10074. First impression? Feels slower than build 10041. Also noticed that File Explorer shows corrupted string in Quick Access folder.


Saturday, April 25, 2015

Eclipse configuration

Ganymede:
Base: Eclipse IDE for C/C++ Developers
Subversion Integration: Subversive
Python Editor: PyDev
XML Editor: Eclipse XML Editors and Tools
Indigo:
Base: Eclipse IDE for Tester
Subversion Integration: Subclipse
Python Editor: PyDev
XML Editor: Eclipse XML Editors and Tools
Juno(v4.x):
Base: Eclipse Classic
Python Editor: PyDev
System Integration: StartExplorer(link)
Subversion Integration: Subclipse
Web Development: Eclipse Web Developer Tools
XML Editor: Eclipse XML Editors and Tools

Updating Eclipse Kepler shows 'Backup of file eclipse.exe failed'

Tried to update Eclipse Kepler but failed with message below.
An error occurred while uninstalling
session context was:(profile=epp.package.testing, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86 1.0.0.v20130521-1847 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:\eclipse\eclipse.exe failed.
Can not remove : D:\eclipse\eclipse.exe
The workaround?

  1. Rename existing eclipse.exe to say eclipse1.exe
  2. Run eclipse1.exe
  3. Do Eclipse update 

Change Tfs scrum working days

By default Tfs scrum template sets Monday to Friday as working days, and Saturday/Sunday as excluded. To change the days or include Saturday/Sunday for the work, do:


  1. Click on the "Administer Account", this is the gear icon.
  2. Navigate to Control Panel > [CollectionName] > [Project] > [Project] Team.
  3. Click on Settings, then change as appropriate.


Notes:
Tested on Tfs 2013/Visual Studio online (as of 04/25/2015)

Fix corrupted console font on Ubuntu 15.04

My tasksel looks like below.

To fix this do:

$: sudo dpkg-reconfigure console-setup

Then select:
  •  UTF-8
  • Guess optimal character set
  • Terminus
  • 8x16
Select different font type as appropriate.

Keywords:
tty;console;command line;cli install

Refs:
http://askubuntu.com/questions/173220/how-do-i-change-the-font-or-the-font-size-in-the-tty-console

Sunday, April 05, 2015

Get domain controller from NetBios name using Python

Where:
     myad is the NetBios name of the domain.

Note: Using ActiveState Python 2.7.x.