I received the following;

[01-Jul-2008 12:13:31] PHP Fatal error: Call to a member function get_interestingness() on a non-object in /var/www/html/memetracker/sites/all/modules/machinelearningapi/machine_learning_api.inc on line 442

I haven't delved into the details, but it looks like the code failed to instantiate an object.

Comments

v_ram’s picture

i was curious to test this module, /memetracker/1/ gives blank page.

kyle_mathews’s picture

v_ram -- did you install Pycluster and add feeds through aggregator and then run cron? Nothing will happen until memetracker has content from feeds to work with.

kyle_mathews’s picture

If you have added feeds and installed the Pycluster library then uncomment lines 211 and 244 of machine_learning_api.inc. Line 228 is where the distance information between content is passed into the clustering library. I've had a lot of problems with passing information in and out of the python script as in #275784. Line 211 displays the count of content in the content array being passed to the python script. Line 244 displays how many clusters or "memes" that the clustering library finds. Normally when I see the error you saw Jeff, it's because something goes wrong with the script so the number of memes returned is 0 hence when it tries to call a method in the meme object it throws an error.

Please uncomment those two lines and tell me what you see. Thanks!

BTW, you'll need the Devel module installed for the dpm() function to work.

v_ram’s picture

228 line i didn't changed before, now i did. Also uncommented 211 & 244.
The first 2 memes in my case are apparently only one post duplicated several times and showing as meme. I guess the algorithm is looking at text snippets across posts and grouping together as memes. But really don't know what is happening, i will look in to this issue and i will update if i can find something, may be this is an issue with RSS parsing, but feed aggregator i didnt see anything like this.

v_ram’s picture

Sorry i dont know whether i have to open a new issue for these duplicate posts in memes or not.
Anyway this is an update to my previous comment it is not one meme showing duplicate posts, but all the memes are showing that.

kyle_mathews’s picture

Status: Active » Closed (fixed)

The latest release should of fixed the problems both of you were seeing.