we like it when it is windy

Thursday 19 January 2012

cause and recover from svn update failure: "Delta source ended unexpectedly"

svn update fails with message: "Delta source ended unexpectedly"

I saw this happen with updates to my svn working areas after a svn replication problem was fixed on server(wandisco). The svn working areas were inconsistent with svn server (after the change on the server) and had this error which needed fixing. The problem was particular to certain directories (the ones where replication was broken for a time). Probably the svn replication problem fix changed the svn version history, order or svn revision numbers. 

How can you identify the directory or files with the problem?

Look at svn status, directory or files with problem status marked with "!" (after you get "Delta source ended unexpectedly" error) are the problem. The dame dirs/files in other working copies probably also have the problem.


How can problem be solved?
Delete the problem directory or files and do svn update.
You may need to repeat this for any dir with problem.
Or do a complete fresh svn checkout.

http://www.google.ie/search?q=svn+delta+source+ended+unexpectedly

http://blog.manontheground.net/traveller/2008/07/svndeltasourcee.html

Tuesday 3 January 2012

svn commit helper without using svn agent. no auth cache

Use svn agent to store svn credentials securely and avoid having to enter username and password multiple times. But if setting up svn agent is not practical and password security is not an issue this svnci alias and getmysvndetails script can be used to help do checkins and NOT update svn stored passwords.

p.s. aliases are deprecated :) svnci should be a bash function or script also

cat getmysvndetails
#!/bin/bash

# svn client use results in svn credentials being re-written to svn cache by svn client
# the last username entered becomes the default (even if password not stored in cache)
# use this alias to assist working as different svn users in the same unix/other user accounts
#alias svnci='. getmysvndetails; svn ci --username $MYSVNUSER --password $MYSVNPASS --no-auth-cache'

if [[ $0 == $BASH_SOURCE ]] ; then echo "This script must be sourced. Try again:"; echo " . $0"; exit; fi

if [[ "$MYSVNUSER" == "" ]] ; then
  read -p "Enter SVN username: " MYSVNUSER ;
fi

if [[ "$MYSVNPASS" == "" ]] ; then
  read -p "Enter SVN password: " MYSVNPASS ;
fi

export MYSVNUSER
export MYSVNPASS

Monday 2 January 2012

flexagon. square.

I made a flexagon on new year. and followed the paths through it.

Published with Blogger-droid v1.4.9

Saturday 26 November 2011

we made a charger for Kate's ds.

universal charger, about 4.5V. a ds plug from a different usb universal charger which didn't work. some wires and sellotape.

Kate and I tried plugging in the different combinations. we're quite pleased we found one which works. too much or too little voltage doesn't work.

Published with Blogger-droid v1.4.9

Saturday 5 November 2011

Move from 4 channel land to ~20+ channel land.

We're pretty good at keeping away from the TV generally.
However there is very interesting stuff on on occasion.
And it's so nice to veg out in front of it sometimes.


And, anyway, tuning in satellites and aligning dishes is kind of interesting and fun. 
http://en.wikipedia.org/wiki/Astra_(satellites)
Lots of people on satellite forums are all excited at the moment about a new satellite parking up in the Astra1 location. http://www.ses.com/4232618/fleet-coverage 


We've had the 4 Irish channels (RTE1 RTE2 TV3 TG4(TelefisnaGaeilge)) for a good bit now.
We had BBC channels on satellite only the satellite box died.
We're not really scared of Gay Byrne's adds telling people analog transmission is going to be turned off. In fact because Gaybo is telling people to change I would be inclined to rebel in the laziest way possible and not do anything. However Fionnuala is organised and looking after our digital TV future.

New TV for us and new Digital Terrestrial tuner + Satellite tuner box (so we can plug into HDD and record channels on occasion). Digital Terrestrial channels give us same 4 RTE channels plus a couple (e3, RTENews). Satellite gives us lots of BBC channels and ITV and verious mixed others. (Freeview).



So now we are all set up with SaorView (RTE's digital TV) and ready for analog transmission to go away.



Aligning the dish was a little bit tricky. This worked for me: 


1. align roughly (look at other dishes orientation, use http://www.dishpointer.com/ also and align using landmarks and compass)
2.fail Trying to tune in using power signals on the satellite box didn't seem to make any difference. In fact unplugging the cable sometimes caused a little bit more in the signal intensity bars. Which was slightly offputting. Thankfully it turns out we don't have any problem with cabling from dish through house to TV.

3.fail align using GPS on phone, ... tricky, GPS on phone takes a good while to lock and not easy to use it as a pointer.

4.success set TV on to pre-tuned channel, turn volume up, set up home phones on speaker call: one by TV, bring other out to dishwith you. Move dish until you hear it tune in. 

We got a Xoro receiver from http://www.tvtrade.ie
Am impressed with them, good to order online from and great help notes and videos on their website for tuning and dish alignment.
http://www.tvtrade.ie/sky-satellilte-dish-and-lnb.html
I got the good tip on using pre-tuned channels for dish aligning from this from tvtrade: http://www.youtube.com/watch?v=tO1Xi...layer_embedded

The end alignment seems a bit more North and more vertical than expected.


Now back out onto roof one last time to clear gunk out of rain gutters.
:)



Sunday 16 October 2011

hard sudoku is sometimes hard

I like the scribbles.
Irish times sudoku.
Kate did the easy one.

Published with Blogger-droid v1.4.9

success human vs printer

error code 127 googled, it is a fan error. poke at fan and toggle power and fan runs but with a bad noise.
later on screwdriver open to look at fan. vaguely realise it was put backwards. it works after I out it on right way. then a different error. a mysterious clunky plastic thing reseated fixes that.
the printer prints.
others print things.
I print things.
I am happy.
I am super genius.
my battles with printers usually end in my defeat.

at home last week cartridge refilled, printed one page but leaky. being kept out of printer.

Published with Blogger-droid v1.4.9