On Sun, Jun 29, 2008 at 02:39:52PM +0200, Christian Perrier <[EMAIL PROTECTED]> 
wrote:
> Trace:
> 
> 2008-06-29 13:58:19: Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 259, in handle
>     page = self.getpage(pathwords, session, argdict)
>   File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 523, in 
> getpage
>     return indexpage.ProjectIndex(project, session, argdict, dirfilter)
>   File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line 321, in 
> __init__
>     self.handleactions()
>   File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line 443, in 
> handleactions
>     self.project.commitpofile(self.session, self.dirname, commitfile)
>   File "/usr/lib/python2.4/site-packages/Pootle/projects.py", line 599, in 
> commitpofile
>     versioncontrol.commitfile(pathname, message="Commit from %s by user %s. 
> %s" %
>   File 
> "/usr/lib/python2.4/site-packages/translate/storage/versioncontrol/__init__.py",
>  line 292, in commitfile
>     return get_versioned_object(filename).commit(message)
>   File 
> "/usr/lib/python2.4/site-packages/translate/storage/versioncontrol/git.py", 
> line 60, in commit
>     raise IOError("[GIT] add of ('%s', '%s') failed: %s" \
> IOError: [GIT] add of ('/var/lib/pootle/di/level2/tasksel', 
> 'debian/po/fr.po') failed: fatal: pathspec 'debian/po/fr.po' did not match 
> any files

Thanks.

The fix seem to be to use the --work-tree option as well:

Example:

$ git --git-dir git/test/.git add HACKING
fatal: pathspec 'HACKING' did not match any files

I think this is the current situation.

$ git --git-dir git/test/.git --work-tree git/test add HACKING

And this works fine.

I'll send a patch to correct this later tonight.

Attachment: pgp9iV75zeEHZ.pgp
Description: PGP signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to