On Fri, Jul 18, 2008 at 11:19:04PM +0200, Lars Kruse wrote:
>
> I installed the bzr package from ubuntu hardy - this is v1.3.1, so it should
> match your setup pretty well.
>

Great.
 
> 
> 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?
> 

Patch applied.

I then tried:

[EMAIL PROTECTED]:~# python -m translate.storage.versioncontrol 
/root/stable/messages/eu/LC_MESSAGES/mailman.po
Traceback (most recent call last):
  File "/usr/lib/python2.5/runpy.py", line 95, in run_module
    filename, loader, alter_sys)
  File "/usr/lib/python2.5/runpy.py", line 52, in _run_module_code
    mod_name, mod_fname, mod_loader)
  File "/usr/lib/python2.5/runpy.py", line 32, in _run_code
    exec code in run_globals
  File 
"/usr/lib/python2.5/site-packages/translate/storage/versioncontrol/__init__.py",
 line 328, in <module>
    contents = getcleanfile(filename)
  File 
"/usr/lib/python2.5/site-packages/translate/storage/versioncontrol/__init__.py",
 line 289, in getcleanfile
    return get_versioned_object(filename).getcleanfile(revision)
  File 
"/usr/lib/python2.5/site-packages/translate/storage/versioncontrol/bzr.py", 
line 76, in getcleanfile
    % (self.location_abs, error))
IOError: [BZR] cat failed for 
'/root/stable/messages/eu/LC_MESSAGES/mailman.po': bzr: ERROR: Not a branch: 
"/root/stable/messages/.bzr/branch/".


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

Yes:

[EMAIL PROTECTED]:~/stable/messages/.bzr# pwd
/root/stable/messages/.bzr
[EMAIL PROTECTED]:~/stable/messages/.bzr# ls -alh
total 16K
drwxrwsr-x  4 root pootle   74 2008-06-24 04:39 .
drwxrwsr-x 39 root pootle 4.0K 2008-06-24 14:42 ..
-rw-rwSr--  1 root pootle   35 2008-06-24 04:39 branch-format
drwxrwsr-x  2 root pootle    6 2008-06-24 04:39 branch-lock
-rw-rwSr--  1 root pootle  141 2008-06-24 04:39 README
drwxrwsr-x  4 root pootle 4.0K 2008-06-24 04:39 repository


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

Thanks so much for your help. I'm confident we'll get to the root of this.

Cheers,
-- 
Cristóbal Palmer
ibiblio.org systems administrator

-------------------------------------------------------------------------
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