View Single Post
Posts: 32 | Thanked: 34 times | Joined on Mar 2010 @ London
#836
Originally Posted by ziggadebo View Post
Returning trends has never worked for me on Witter.

I get 'Error retrieving trends Server returned 404:'

I'd like to fix this and a search has suggested that Gettrends is now deprecated and now needs to be replaced by GET trends/:woeid

I have no programming experience, other than SQL but if I could find the files I need to look at I'm quite good at reverse engineering.

Am I correct that the Witter programs files are stored in /home/opt

if so can I just change the code in one of the files to try and fix this issue?

Th witter.py file has functions in it are these functions called from the same file or will they be located in separate files?

I'm guessing the file I will need to amend will be either

witter.py
or
twitter.py

Am I on the right lines? I don't want a solution just a pointer in the right direction, I've never been that good at learning from text books, but if someone could just confirm I'm digging about in the right area that would be enough.

In the meantime I'll keep reading...

Thanks
It might be caused by an out of date copy of the python twitter library. I'll have a look at it over the weekend and try and figure out whats going wrong. I've not used the trends parts of witter so I'll have to dig into it.

Last release to testing never got approved and took a long time to get votes iirc. I'll look at trying to get some fixes in place and a new version out over the weekend. Lets see if we can get a new version up and running.
 

The Following User Says Thank You to SpandexBob For This Useful Post: