Re: [Monotone-devel] ViewMTN shows empty list of branches; error in log

2009-01-27 Thread Thomas Keller
Timothy Brownawell schrieb:
 On Mon, 2009-01-26 at 09:47 +0100, Ludovic Brenta wrote:
 Hi

 I'm trying to restore the viewmtn service on www.ada-france.org.
 
 In the home page of the web interface, the list of branches is empty.
 The list of tags is OK; from a tag I can then navigate to a branch.
 Whenever I reload the home page (which should contain the list of
 branches), the console says:

 'exception writing to child process; attempting restart: Traceback (most 
 recent call last):\n  File 
 /var/lib/monotone/net.angrygoats.viewmtn/mtn.py, line 168, in __run\n
 self.process.tochild.flush()\nIOError: [Errno 32] Broken pipe\n'
 '[10396] stopping process: 10407'

 Did I do something wrong?  I looked at the mtn log of mtn.py but
 could not find anything that would require a version of monotone more
 recent than I have.

 Any help is appreciated.

 PS.
 $ mtn status
 Current branch: net.angrygoats.viewmtn
 Changes against parent ff6f92608b076dabc1da2f37b4aa326f47a8a7eb
   no changes

 $ mtn --full-version
 monotone 0.31 (base revision: 1bd1fe1e811dce82bee09b9f0effca3225bd1cee)
 Running on  : Linux 2.6.24.2dedibox-r8-1-c7 #1 Mon Feb 11 17:41:33 
 CET 2008 i686
 C++ compiler: GNU C++ version 4.1.2 20061115 (prerelease) (Debian 
 4.1.1-21)
 C++ standard library: GNU libstdc++ version 20061115
 Boost version   : 1_33_1
 Changes since base revision:
 unknown
 
 @@ 394,2 @@ mtn.py
  def branches(self):
  for line in (t.strip() for t in self.automate.run('branches',
 [], ignore_suspend_certs=)):
 
 NEWS says that mtn suspend and the --ignore-suspend-certs option were
 added in 0.41.

You haven't read until the end:

  This feature was already added in monotone 0.37, but was
  forgotten to be mentioned in NEWS back then.

I've added this section in 0.41 so people get a chance to know about
this feature at all. Although, thanks for digging this out. His version
(0.31) is too old anyways.

Thomas.

-- 
GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en




signature.asc
Description: OpenPGP digital signature
___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] ViewMTN shows empty list of branches; error in log

2009-01-27 Thread Ludovic Brenta
Timothy Brownawell tbrow...@prjek.net writes:
 NEWS says that mtn suspend and the --ignore-suspend-certs option
 were added in 0.41.

OK, then I suggest that the INSTALL document mention that viewmtn
requires monotone = 0.41.  Currently it says:

Monotone: http://monotone.ca/
A version which is descended from [62961c1dc..] is required.
This is post-0.30.

Thanks to your reply, I have patched viemtn minimally so it doesn't
pass --ignore-suspend-certs to monotone.  This way I have been able to
restore the ViewMTN service on www.ada-france.org:8081.

-- 
Ludovic Brenta.


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel