Code Monkey home page Code Monkey logo

Comments (5)

peter-wangxu avatar peter-wangxu commented on June 18, 2024 1

@sionking
I successfully reproduced the issue with the data you provided, I also tried with sqlite3 tool, the wired thing is that, i cannot event delete a row by _id(which is the primary key of table), so that's why the queue kept poping the same value as the previous item cannot be deleted from table. I wonder if the dropbox corrupted the sqlite3 data file some way:)

I suggest putting/getting data without the interference of dropbox and try again.

Thanks
Peter

from persist-queue.

sionking avatar sionking commented on June 18, 2024

valid_users_q.zip

from persist-queue.

peter-wangxu avatar peter-wangxu commented on June 18, 2024

is there any sample/pseudo code?

from persist-queue.

sionking avatar sionking commented on June 18, 2024

Set:

# store the results in queue until it reach self.max_q
Globals.validated_profiles_queue.put((self.currentUsernameSource, username, details, return_values_dist))

Get:

Globals.validated_profiles_queue.get(block=False)
# parse the queue item
username = queue_item[1]
details = queue_item[2]
return_values_dist = queue_item[3]

Nothing else.
I do use dropbox to sync files, maybe it corrupted the file ?

from persist-queue.

peter-wangxu avatar peter-wangxu commented on June 18, 2024

Closing it, Please reopen it if still exists

from persist-queue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.