#129 INSERT fails without error

closed-invalid
Oleg Broytman
General (125)
5
2006-11-13
2005-11-13
stan pinte
No

I have an INSERT that fails with no apparent reason
from the database...

(in that case postgres 8.0)

1/QueryIns: INSERT INTO log (id, message, state,
operation, mtime) VALUES (5, 'Station: None', 'Error',
'ImportData', '2005-11-13 23:51:43')
1/COMMIT : auto
2/QueryOne: SELECT mtime, operation, state, message
FROM log WHERE id = 5
2/QueryR : SELECT mtime, operation, state, message
FROM log WHERE id = 5
2/COMMIT : auto
Traceback (most recent call last):
...
raise SQLObjectNotFound, "The object %s by the ID
%s does not exist" % (self.__class__.__name__, self.id)
sqlobject.main.SQLObjectNotFound: The object log by the
ID 5 does not exist

any idea?

thanks a lot,

Stan.

Discussion

  • Oleg Broytman
    Oleg Broytman
    2005-11-18

    • assigned_to: nobody --> phd
     
  • Oleg Broytman
    Oleg Broytman
    2005-11-18

    Logged In: YES
    user_id=4799

    Can you create a short test program that demonstrates the
    problem? Attach it to this report...

     
  • Oleg Broytman
    Oleg Broytman
    2006-11-13

    • status: open --> closed-invalid