We had a bug last week where the floats were being returned as really long values but the fix was deployed ~7 days ago and all of the items would have been purged from cache within 24 hours of that deploy (~6 days ago).
I am not aware of any items returning a value like this since last week. Could it be that you're looking at some cached data from last week or before?
travisbell$ curl -v "http://api.themoviedb.org/3/person/19207?api_key=###"
* Hostname was NOT found in DNS cache
* Trying 54.243.227.76...
* Connected to api.themoviedb.org (54.243.227.76) port 80 (#0)
> GET /3/person/19207?api_key=### HTTP/1.1
> User-Agent: curl/7.37.1
> Host: api.themoviedb.org
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Cache-Control: public, max-age=21600
< Content-Type: application/json;charset=utf-8
< Date: Tue, 19 May 2015 22:26:56 GMT
< ETag: "0e67af82e8384c672ddef5bf380afaab"
* Server nginx is not blacklisted
< Server: nginx
< Status: 200 OK
< X-Memc: HIT
< X-Memc-Age: 11352
< X-Memc-Expires: 10248
< X-Memc-Key: 2edb54d0147a14ed4b3f67dac7727556
< Content-Length: 529
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
Response:
{
"adult": false,
"also_known_as": [],
"biography": "From Wikipedia, the free encyclopedia.\n\nTimothy James Bottoms (born August 30, 1951) is an American actor and film producer.\n\nDescription above from the Wikipedia article Timothy Bottoms, licensed under CC-BY-SA, full list of contributors on Wikipedia.",
"birthday": "1951-08-30",
"deathday": "",
"homepage": "",
"id": 19207,
"imdb_id": "nm0000961",
"name": "Timothy Bottoms",
"place_of_birth": "Santa Barbara, California",
"popularity": 0.000005,
"profile_path": "/pTw7LySB4jJv9PfJfx3Hjj9GKQw.jpg"
}
I tested on 4 servers with different locations and all gave the same result.
{
"adult":false,
"also_known_as":[ ],
"biography":"From Wikipedia, the free encyclopedia.\n\nTimothy James Bottoms (born August 30, 1951) is an American actor and film producer.\n\nDescription above from the Wikipedia article Timothy Bottoms, licensed under CC-BY-SA, full list of contributors on Wikipedia.",
"birthday":"1951-08-30",
"deathday":"",
"homepage":"",
"id":19207,
"imdb_id":"nm0000961",
"name":"Timothy Bottoms",
"place_of_birth":"Santa Barbara, California",
"popularity":5e-06,
"profile_path":"/pTw7LySB4jJv9PfJfx3Hjj9GKQw.jpg"
}
Are you still seeing this? I have been unable to replicate this. Interestingly enough, since May 19, the majority of our popularity system has been re-written so I really, really really think this is solved now... but I'm just double checking ;)
Can't find a movie or TV show? Login to create it.
Reply by Travis Bell
on May 19, 2015 at 2:15 PM
Hi James,
I'm not sure if I follow. Popularity is a daily calculated score representing the popularity of an item. It's represented as a float.
What's the problem?
Reply by tmdb26695382
on May 19, 2015 at 3:39 PM
Hi Travis,
I get to most decimal results, but for this I get the value "1.4e-05" which seems to be an exponential function.
Reply by Travis Bell
on May 19, 2015 at 3:58 PM
Hi James,
We had a bug last week where the floats were being returned as really long values but the fix was deployed ~7 days ago and all of the items would have been purged from cache within 24 hours of that deploy (~6 days ago).
I am not aware of any items returning a value like this since last week. Could it be that you're looking at some cached data from last week or before?
Reply by tmdb26695382
on May 19, 2015 at 6:00 PM
My data is current and without cache, I have about 120-150 people with this bug.
Below is some id for testing.
person id: 19207 64457 43202 79082 107491 78216
Reply by Travis Bell
on May 19, 2015 at 6:28 PM
Hi James,
I am not seeing this:
Response:
Reply by tmdb26695382
on May 19, 2015 at 7:29 PM
How strange, because I received another value.
I tested on 4 servers with different locations and all gave the same result.
Reply by Travis Bell
on June 3, 2015 at 1:50 PM
Hi James,
Are you still seeing this? I have been unable to replicate this. Interestingly enough, since May 19, the majority of our popularity system has been re-written so I really, really really think this is solved now... but I'm just double checking ;)