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. Advertisements

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:
    408
    John D.
    Aug 4, 2003
  2. Gary Richardson

    anydbm bug ?

    Gary Richardson, Dec 4, 2003, in forum: Python
    Replies:
    2
    Views:
    741
    Dennis Lee Bieber
    Dec 5, 2003
  3. =?ISO-8859-1?Q?=22C=E9dric_V=2E=22?=

    error at "import anydbm"

    =?ISO-8859-1?Q?=22C=E9dric_V=2E=22?=, Jan 13, 2004, in forum: Python
    Replies:
    4
    Views:
    781
    Peter Hansen
    Jan 14, 2004
  4. Anton Sherwood

    text storage: shelve vs anydbm vs ?

    Anton Sherwood, Apr 17, 2004, in forum: Python
    Replies:
    1
    Views:
    523
    Larry Bates
    Apr 17, 2004
  5. Derek Basch
    Replies:
    1
    Views:
    517
    Dan Sommers
    Jan 11, 2005
  6. Eric S. Johansson

    anydbm biasing

    Eric S. Johansson, Jan 18, 2005, in forum: Python
    Replies:
    0
    Views:
    426
    Eric S. Johansson
    Jan 18, 2005
  7. davidj411
    Replies:
    7
    Views:
    362
  8. Trans
    Replies:
    2
    Views:
    602
    Trans
    Dec 12, 2005
Loading...