Unable to insert changeset 57/XXX and ticket 2 into db: columns repo, changeset, ticket are not unique

瀏覽次數:28 次
跳到第一則未讀訊息

mx....@qq.com

未讀,
2016年5月9日 清晨5:23:402016/5/9
收件者:Trac Users
Unable to insert changeset 57/Idouzi_Vote and ticket 2 into db: columns repo, changeset, ticket are not unique

The above error occurs when executing a hook svn

RjOllos

未讀,
2016年5月9日 下午6:18:122016/5/9
收件者:Trac Users


On Monday, May 9, 2016 at 2:23:40 AM UTC-7, mx....@qq.com wrote:
Unable to insert changeset 57/Idouzi_Vote and ticket 2 into db: columns repo, changeset, ticket are not unique

The above error occurs when executing a hook svn

 Which svn hook are you executing? Do you have any plugins installed?

- Ryan

mx....@qq.com

未讀,
2016年5月9日 晚上11:28:112016/5/9
收件者:Trac Users
I'm sure the same journal by this problem, svn hook can not be performed twice, because the first performance will insert a record into codereviewer_map table, so subsequent executions will find duplicate values, a database error will be reported. As shown above

在 2016年5月10日星期二 UTC+8上午6:18:12,RjOllos写道:

RjOllos

未讀,
2016年11月22日 晚上8:10:282016/11/22
收件者:Trac Users


On Monday, May 9, 2016 at 8:28:11 PM UTC-7, Mingxing Tian wrote:
I'm sure the same journal by this problem, svn hook can not be performed twice, because the first performance will insert a record into codereviewer_map table, so subsequent executions will find duplicate values, a database error will be reported. As shown above

I haven't looked at the code in a while, but I made a ticket to investigate the issue:

- Ryan 

Mo

未讀,
2016年11月24日 上午8:54:182016/11/24
收件者:Trac Users
Interesting, right now I have a similar issue on my git repo.
After my cronjob seemed top fail inserting the command I ran myself the command:

sudo -u trac trac-admin /mnt/data/trac/projects/trac-mep/ changeset added mep de73f39

No command was inserted and I found in the log:

Unable to insert changeset de73f39/mep and ticket  into db: duplicate key value violates unique constraint "codereviewer_map_pk"

Any idea?

Best regards.
回覆所有人
回覆作者
轉寄
0 則新訊息