Comments (5)
@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.
from persist-queue.
is there any sample/pseudo code?
from persist-queue.
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.
Closing it, Please reopen it if still exists
from persist-queue.
Related Issues (20)
- Issue when importing FIFOSQLiteQueue? HOT 1
- Is should be changed to ==
- [Regression] Can no longer retrieve None without raw=True HOT 1
- AttributeError: module 'persistqueue' has no attribute 'SQLiteAckQueue' HOT 3
- FILOSQLiteAckQueue _SQL_SELECT broken HOT 3
- qsize not changing HOT 1
- pypi release HOT 3
- mySQL db HOT 10
- SQLite objects created in a thread can only be used in that same thread HOT 2
- File is not getting cleared after get() function HOT 13
- Connection not die after kill signal. HOT 1
- Queue gets corrupted after power cut HOT 9
- sqlite vacuum not working HOT 8
- Queue items not removed after each get() HOT 3
- Priority queue HOT 4
- What if data is already serialized HOT 2
- What if data is already serialized Part II ? HOT 1
- Get() hangs when used with pqid HOT 1
- FILOSQLiteAckQueue is not exported from __init__ HOT 2
- AttributeError: module 'persistqueue' has no attribute 'MySQLQueue' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from persist-queue.