> > Now, 1.5.5. But I now have to check if the problem is still here.
> 
> There are apparently some problems  remaining, still.


There are.

I have a project on i18n.debian.org that uses a git repository as
reference. The repo was cloned with a login that has commit access to
the repository.

Even though I'm using an up-to-date git, I get:

Erreur
[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 
Retour

While runnins "git status" in the relevant directory, I get:
# On branch master
# Changed but not updated:
#   (use "git add <file>..." to update what will be committed)
#
#       modified:   debian/po/fr.po
#

If I run the commit then push attempt from command line, it works as
expected.


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

(the git clone is in /var/lib/pootle/di/level2/tasksel and the
modified file is really debian/po/fr.po


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to