Tonight as I tried to rebuild my project, the generator said:
argument 1 must be string or read-only character buffer, not None
so I dug into the generator code and found that it was parsing the content of
the sourceforge
viewvc page to figure if the local copy of the contribution was still curent.
It seems that sourceforge did some viewvc modifications today which
broke the generators parsing ...
here is the patch that will get you going again ...
enjoy
tobi
--- ./pylib/generator/action/ContribLoader.py 2010-06-15 22:22:04.142120925
+0200
+++ ./pylib/generator/action/ContribLoader.py.orig 2010-06-15
22:18:05.521157957 +0200
@@ -35,7 +35,7 @@
rev_url =
"http://qooxdoo-contrib.svn.sourceforge.net/viewvc/qooxdoo-contrib/trunk/qooxdoo-contrib/%s/"
% contrib
data = urllib.urlopen(rev_url)
for line in data:
- match =
re.compile("\/viewvc\/qooxdoo-contrib\?view\=\S*?revision\=([0-9]+)").search(line)
+ match =
re.compile("\/viewvc\/qooxdoo-contrib\?view\=rev\&revision\=([0-9]+)").search(line)
if match:
return match.group(1)
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel