[Tilesathome] t at h server next generation
spaetz
osm at sspaeth.de
Sat Jul 12 16:24:00 BST 2008
On Sat, Jul 12, 2008 at 02:55:17PM +0200, Henry Loenwind wrote:
OK, here is what it does, it calls:
http://www.openstreetmap.org/api/0.5/user/details
using your e-mail and password as authentication. The reply is supposed to look something like this:
<user display_name="spaetz" account_created="2007-03-19T19:00:56+00:00">
To create the tahngo account it will try to get the username from the part within the display name using a regexp like this:
p = re.compile('<user display_name="(\w+)"')
This would capture only a part of the name if it contained special chars and it would be empty if there was no display_name at all. Your error message showed that the display name was apparently empty (or didn't match the above regexp) and therefore the whole thing failed. I will make the thing more bullet proof and use a random string if there is none set or something similar.
Out of curiosity, what is your display_name ?
> > It is working fine. It took me 5 minutes to get an old t at h
> > installation (didn't run for 2 months) working with tahngo: svn up +
> > patch + my osm-credentials in auth.conf
>
> That is what I expected.
This is how it will work like. I just had a diff with a wrong URL up there for a time.
spaetz
More information about the Tilesathome
mailing list