Hi Cristóbal,

> > >   bzr checkout mailman/ stable
> > 
> > this resulted in an error for me:
> > 
> >  bzr: ERROR: File exists: u'/home/lars/other-sources/examples/stable/.bzr':
> >   [Errno 17] File exists: '/home/lars/other-sources/examples/stable/.bzr'
> > 
> > 
> > Do you know, what could cause this error message here on my system?
> 
> you're absolutely sure you didn't have soemthing called "stable" in
> that directory before? Other than that, I can't imagine why you
> would've gotten that.

sorry for me not reading the error message carefully: you are right, there was
a cruft directory left from a previous attempt.
Now the command works as expected.


> garp is a fairly vanilla Ubuntu box.
> 
> > Do you have any ideas, how I could reproduce your setup?
> > 
> 
> Install the most recent Ubuntu using the "alternate" iso and selecting
> a CLI install. Install pootle from the Ubuntu repos. Update the
> translate toolkit to translate-toolkit-1.2-alpha4. You'd then be where
> I am now.

I installed the bzr package from ubuntu hardy - this is v1.3.1, so it should
match your setup pretty well.


For me the following command still works with this older bzr version:
 python -m translate.storage.versioncontrol \
  /home/lars/other-sources/examples/stable/messages/eu/LC_MESSAGES/mailman.po

So I can't explain, why it fails on your side.


1) Maybe you could apply the attached patch and run the same command again?

2) Does the directory /root/stable/messages/.bzr/ exist in your system?


I guess, we will fix this problem soon ...

Lars
Index: translate/storage/versioncontrol/__init__.py
===================================================================
--- translate/storage/versioncontrol/__init__.py	(Revision 7748)
+++ translate/storage/versioncontrol/__init__.py	(Arbeitskopie)
@@ -216,9 +216,11 @@
             # remove the base directory (including the trailing slash)
             location_rel = location_abs.replace(basedir, "", 1)
             # successfully finished
+            print "RCS dir found: '%s' - '%s' - '%s'" % (rcs_dir, location_abs, location_rel)
             return (rcs_dir, location_abs, location_rel)
         else:
             # this should never happen
+            print "FAILED to find RCS dir: '%s'" % rcs_obj
             return None
         
     def _self_check(self):
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to