Re: [viewvc-users] RSS feed ; questions
Jean-Yves Avenard <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <z2xcb44e8371004081933z49e8c973za895f2c3d3bda08f__35318.7734414407$1270780443$gmane$org@mail.gmail.com> |
Hi
I started it on our may repo ; I get the following error on revision 26726 :
[root@server4 /pool/data/svn]# cat svndbadminerr.log
/usr/local/lib/python2.6/site-packages/MySQLdb/__init__.py:34:
DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
/usr/local/viewvc/lib/cvsdb.py:91: Warning: Data truncated for column
'dir' at row 1
cursor.execute(sql, sql_args)
Traceback (most recent call last):
File "/usr/local/viewvc/bin/svndbadmin", line 362, in <module>
main(command, repository, revs, verbose, force)
File "/usr/local/viewvc/bin/svndbadmin", line 258, in main
handle_revision(db, command, repo, rev, verbose)
File "/usr/local/viewvc/bin/svndbadmin", line 232, in handle_revision
db.AddCommit(commit)
File "/usr/local/viewvc/lib/cvsdb.py", line 340, in AddCommit
% ((str(e), ) + sql_args))
Exception: Error adding commit: '(1048, "Column 'dirid' cannot be null")'
Values were:
type = Add
ci_when = 2009-09-22 07:22:57
whoid = 109
repositoryid = 16
dirid = None
fileid = 179767
revision = 26726
stickytag = NULL
branchid = 1
addedlines = 0
removedlines = 0
descid = 3
On 9 April 2010 01:58, Jean-Yves Avenard <[email protected]> wrote:
> Hi
>
> I have created the mysql database as described in the INSTALL doc.
>
> Ran the svndbadmin script ...
>
> All changesets were imported fine it seems.
>
> When I look at the RSS feed however, it only shows 2-3 revisions ;
> this varies depending of the path.
>
> Like I have a repo, the current revision # is 884.
>
> Even at the root of the repo ; the RSS link only contains one change
> the last one: 884
>
> In other path is shows none...
>
> Am I missing something ?
>
> One issue with the make-database scrip.
>
> It runs mysql command without first quoting the arguments ; in my case
> I had a ( in the password and it would fail because of it.
>
> cmd = "mysql --user=%s --password=%s'%s "\
> % (username, password, host_option)
> Should be changed to:
> cmd = "mysql --user=%s --password='%s' %s "\
> % (username, password, host_option)
>
> Thanks
> Jean-Yves
>
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2527851
To unsubscribe from this discussion, e-mail: [[email protected]].