Hi!

I've seen somebody else having simular problem with an earlier version of
Riv.

Using Debian Stable with Rivendell v2.4.0 compiled from source I get an
SQL-error when using post-import-carts as a breaker after a
traffic-import.

Events, clocks and grids sets up fine without errors. But when I start
generating a log, this happens:

The statement:
insert into 2013_03_11_LOG` set
ID=6,COUNT=6,TYPE=0,SOURCE=3,START_TIME=903700,GRACE_TIME=-1,CART_NUMBER=45007,TIME_TYPE=0,POST_POINT="N",TRANS_TYPE=1,COMMENT=""

gives me this sql-error:
ERROR 1062 (23000): Duplicate entry '6' for key 'PRIMARY'

The pre-import cart and the actual imported cart gets inserted to the log,
but when it reaches the post-import, it stops and begins on the next hour.
Looking at the table in mysql, the pre-import cart has the id 6 and
imported cart 7. Funny thing is rdlogmanager also tries to give the
post-import cart the id 6 in the table aswell.

Shouldn't the post-import cart be assigned to id 8? Bug in code or am I
missing something? :p

-
Marius



_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to