Thursday, January 9, 2014

Install a high speed USB host controller

When connecting a USB 2.0 device, Windows displays the following message:

The thing is
I DO HAVE A USB 2.0 HOST CONTROLLER
and I used to enjoy high speed using my USB ports, until I did some hard disk resizing, which I believe have nothing to do with USB ports.

Anyway, to solve this:
  • Open the device manager. In Windows 7, right click on My computer -> Manage.
  • In the Device Manager, double-click on the "USB Root Hub", then uncheck "Allow the computer to turn off this device to save power" 
It gave me a better speed, but not quite as the one I used to have.

If I find a better solution, I will to update this.

Friday, January 3, 2014

error "No module named jinja2"

Building a google app on eclipse in python, I got this error.

First jinga2 comes bundled with Google App Engine for Python, so there's no need to go through the painful process of installing it on your machine.

To reference it from your project, add the following under the libraries section in your .yaml file

- name: jinja2
  version: latest


and import jinja2 in your code

Thursday, January 2, 2014

IOError: [Errno 13] file not accessible:

Trying to build a google app on eclipse using python, I got this error while trying to render an html file.

To solve it, put the folder that contains the html in the same folder that contains the yaml file.