Stuck on the road

January 23rd, 2018

Saw this one a while ago when out running...not able to pick it up, that's for sure

Not your everyday first aid kit

January 19th, 2018

After last weekend, running for three days has its drawbacks, damaged toe nails is one of them, and this time I had to use a first aid kit I have not used before. Actually the valentines present I gave Elin a year or two back - the Bosch gsr 10 8-2-li

A bit of warning, but maybe to late anyhow, but Elin felt sick after I had shown her my nail. The 2mm drill made a perfect little hole which let out a lot of pressure, now the nail ain't that painfull anymore.

The nail to the left was damaged last year when doing Icebug Xperience

Python - gzip has no attribute open

January 19th, 2018

Did try the following

import gzip
f ='myfile.gz','rb')

But then got the error

AttributeError: 'module' object has no attribute 'open'

What I really should have done was to read the whole error stack

Traceback (most recent call last):
  File "", line 1, in module
    import gzip
  File "d:\test-py\", line 13, in 
    fileHandler =
AttributeError: 'module' object has no attribute 'open'module

While testing I had named my file

causing Python to believe that I meant "import the script I am testing". Renamed the file to and it all works fine (name can be whatever, but do not name the file the same as a module you are importing)

During this I found a nice way to pretty print (pprint) the attributes of a module/object in Python, see StackOverflow

Snowy at home

January 18th, 2018

A lot of snow the past few days, have spent many hours snowplowing - but now done and happy with the result

The snow bank is almost 4 meters high

Sandsjöbacka Trail 2018

January 18th, 2018

Last weekend me and my friend Bendik did participate in the three day sprint tripple run - I have published a run report here

Reboot required?

January 4th, 2018

Info screen at Lillestrøm showing just the station codes, not the name of the stations

Ski jump preparation - redneck style

January 4th, 2018

Why use a shove when it is easier using the front loader?

Experiencing Valfjället

January 3rd, 2018

No school yesterday, so me and #1 and #2 went to Valfjället for a nice day of skiing.

Winter fun the old fashioned way

January 3rd, 2018

#3 and me testing winter fun the old fashioned way

Blog upgraded to latest version

January 1st, 2018

It has been a while since the last time I did upgrade my blog engine, so it was really needed now. I did struggle trying to find the guidelines for the manual upgrade. Actually, I did not find them, so I decided to try out the automatic upgrade for the first time. And I must say I'm impressed, the whole process took about 2 minutes, upgrading from 6.5.x to now latest stable. Actually, I did now remember that I have tried out the automatic option the last time, but then it did actually fail due to me being a bit to impatient. Things must have been improved a lot since the last time since there was no way I could interrupt things now. So - B2Evolution is still best!