anydbm and sync'ing

Discussion in 'Python' started by Torsten Bronger, Mar 14, 2008.

  1. Hallöchen!

    A TurboGears process opens a DB file with anydbm and keeps it open.
    The the same time, this file is updated by another process. How can
    I tell the TurboGears process to fetch the new values? my_db.sync()
    didn't help -- apparently, it only *writes* to the DB file but
    doesn't read new data from it.

    Tschö,
    Torsten.

    --
    Torsten Bronger, aquisgrana, europa vetus
    Jabber ID:
    (See http://ime.webhop.org for further contact info.)
     
    Torsten Bronger, Mar 14, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John D.

    Example code for anydbm wanted...

    John D., Aug 4, 2003, in forum: Python
    Replies:
    0
    Views:
    340
    John D.
    Aug 4, 2003
  2. Gary Richardson

    anydbm bug ?

    Gary Richardson, Dec 4, 2003, in forum: Python
    Replies:
    2
    Views:
    589
    Dennis Lee Bieber
    Dec 5, 2003
  3. Derek Basch
    Replies:
    1
    Views:
    410
    Dan Sommers
    Jan 11, 2005
  4. davidj411
    Replies:
    7
    Views:
    269
  5. Trans
    Replies:
    2
    Views:
    509
    Trans
    Dec 12, 2005
Loading...

Share This Page