Code Monkey home page Code Monkey logo

Comments (5)

graulund avatar graulund commented on July 26, 2024

Since a notable part of the upgrade process was to eliminate tweet duplicates by upgrading the SQL tweets table, making sure that the tweet id column is always unique, I am lead to believe this upgrade hasn't progressed as it should have. Please double check that there is a UNIQUE index on column tweetid in table tweets in the database. Thanks!

from tweetnest.

navjotjsingh avatar navjotjsingh commented on July 26, 2024

These are the currently listed indexes on the table. No unique index on the tweetid column. What should I do? Authorize.php found only 1 duplicate tweet while upgrading. I still have 12741 duplicate tweets left in the database.

2013-07-05_09-38-44

from tweetnest.

graulund avatar graulund commented on July 26, 2024

The most easy option is definitely to start over and install from scratch, and get your tweets from a Twitter archive. You could remove every duplicate manually, but that would obviously be tedious.

from tweetnest.

navjotjsingh avatar navjotjsingh commented on July 26, 2024

I had that in my mind too but for some reason even that was failing[out of memory errors]. Anyways managed to get rid of the duplicates thanks to the trick mentioned here: http://www.devcha.com/2008/03/how-to-remove-duplicate-records-with.html

Thanks for the help.

from tweetnest.

graulund avatar graulund commented on July 26, 2024

Now that you have no duplicate tweets, run upgrade.php to make sure the tables are as they should be. :)

from tweetnest.

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.