Re: [Imdbpy-help] 6.4 parse error

2018-03-16 Thread Davide Alberani
Hi Tim,
seems like I forgot a debug line in the code.

Thanks for the report, I will release 6.4.1 soon.


On Fri, Mar 16, 2018 at 1:27 AM, Tim Belcher  wrote:
> Having some issues with my new install of 6.4 on my MacBook, running 10.13.
> I get results that look weird or an error, depending on how I run it.
> Hoping that someone can decode the errors listed below.
>
> This is the command:
>  /usr/local/bin/search_movie.py "FARTHEST, THE”
>
> When run in Teminal it produces the following output:
>
> /usr/local/bin/search_movie.py 'the farthest'
> {'data': [('6223974', {'title': 'The Farthest', 'kind': 'movie', 'year':
> 2017}, None), ('7168140', {'title': 'The Farthest place of the world',
> 'kind': 'tv short', 'year': 2017}, None), ('590', {'title': 'The
> Farthest Apple from the Tree', 'kind': 'short', 'year': 2015}, None),
> ('6169424', {'title': 'The Farthest I Could Find', 'kind': 'short', 'year':
> 2016}, None), ('0706377', {'episode of': 'Space: Above and Beyond', 'series
> year': 1995, 'title': 'The Farthest Man from Home', 'kind': 'episode',
> 'year': 1995}, None), ('6538134', {'episode of': 'Fractale', 'series year':
> 2011, 'title': 'The Farthest Town', 'kind': 'episode', 'year': 2011}, None),
> ('1605791', {'title': 'Beyond the Farthest Star', 'kind': 'movie', 'year':
> 2015}, None), ('1315219', {'title': 'Walter the Farting Dog (in
> development)', 'kind': 'movie'}, None), ('1383902', {'episode of':
> 'Eyewitness to History', 'series year': 1960, 'title': 'The Farthest
> Neighbors', 'kind': 'episode', 'year': 1960}, None), ('6509760', {'episode
> of': 'Suspense', 'series year': 2014, 'title': 'To the Farthest Shore',
> 'kind': 'episode', 'year': 2016}, None), ('6762336', {'episode of': 'CBS
> Reports', 'series year': 1959, 'title': 'Farthest Frontier', 'kind':
> 'episode', 'year': 1967}, None), ('6522138', {'title': 'Farthest North (in
> development)', 'kind': 'movie'}, None), ('0827626', {'episode of': 'Star
> Trek: The Animated Series', 'series year': 1973, 'title': 'Beyond the
> Farthest Star', 'kind': 'episode', 'year': 1973}, None), ('1560191',
> {'title': 'The Farther, the Dearer', 'kind': 'movie', 'year': 2007}, None),
> ('3682684', {'title': 'The Farther You Go', 'kind': 'short', 'year': 2014},
> None), ('4177286', {'title': 'The Luckiest Man on the Face of the Earth',
> 'kind': 'movie'}, None), ('0168197', {'title': 'Sugar: The Fall of the
> West', 'kind': 'movie', 'year': 1998}, None), ('0613891', {'episode of':
> 'Jackanory', 'series year': 1965, 'title': 'The Star of the Farmyard',
> 'kind': 'episode', 'year': 1993}, None), ('0687010', {'episode of': 'Rita
> and Wally', 'series year': 1968, 'title': 'The Farther the Better', 'kind':
> 'episode', 'year': 1968}, None), ('1992103', {'title': 'Carmen: In the Land
> Farthest from', 'kind': 'short', 'year': 2011}, None), ('4488310', {'episode
> of': 'Star Gazers', 'series year': 1976, 'title': 'When the Earth Is
> Farthest from the Sun', 'kind': 'episode', 'year': 1987}, None), ('6069974',
> {'title': 'SAFAR the Story of Life', 'kind': 'short', 'year': 2016}, None),
> ('1512230', {'title': 'The Farmer and the Stewardess', 'kind': 'tv movie',
> 'year': 2009}, None), ('7880702', {'title': 'The Fastest Man on Earth',
> 'kind': 'short', 'year': 2015}, None), ('7652474', {'episode of': 'The Power
> and the Glory', 'series year': 1991, 'title': 'The Fastest Men on Earth',
> 'kind': 'episode', 'year': 1991}, None), ('0776144', {'episode of':
> 'Jackanory', 'series year': 1965, 'title': 'The Fastest Animal on Earth',
> 'kind': 'episode', 'year': 1967}, None), ('1217920', {'episode of': 'Skunk
> Fu!', 'series year': 2007, 'title': 'The Art of the Stink/The Art of the Fan
> Fan', 'kind': 'episode', 'year': 2008}, None), ('2666450', {'title':
> 'Pabbar... The Story of a River', 'kind': 'movie', 'year': 2012}, None),
> ('0836299', {'episode of': 'Last of the Summer Wine', 'series year': 1973,
> 'title': 'In Search of Childlike Joy and the Farthest Reaches of the Lotus
> Position', 'kind': 'episode', 'year': 2002}, None), ('1315281', {'episode
> of': 'Martha Speaks', 'series year': 2008, 'title': 'Down on the Farm/Martha
> Runs Away', 'kind': 'episode', 'year': 2008}, None), ('4179588', {'title':
> 'The Story So Far: The Findhorn Foundation Community', 'kind': 'movie',
> 'year': 2014}, None), ('2423170', {'title': 'The Fastest Changing Place on
> Earth', 'kind': 'tv movie', 'year': 2012}, None), ('0701236', {'episode of':
> 'The Simpsons', 'series year': 1989, 'title': 'The Father, the Son, and the
> Holy Guest Star', 'kind': 'episode', 'year': 2005}, None), ('2358828',
> {'title': 'Harry Jerome: The Fastest Man on Earth', 'kind': 'short', 'year':
> 2011}, None), ('2033431', {'title': 'The Spectacled Bear: The Family
> Affair', 'kind': 'tv movie', 'year': 2004}, None), ('2524500', {'episode
> of': 'This World', 'series year': 2004, 'title': 'The Fastest Changing Place
> on Earth', 'kind': 'episode', 'year': 2012}, None), 

[Imdbpy-help] 6.4 parse error

2018-03-15 Thread Tim Belcher
Having some issues with my new install of 6.4 on my MacBook, running 10.13.  I 
get results that look weird or an error, depending on how I run it.  Hoping 
that someone can decode the errors listed below.

This is the command:
 /usr/local/bin/search_movie.py "FARTHEST, THE” 

When run in Teminal it produces the following output:

/usr/local/bin/search_movie.py 'the farthest'
{'data': [('6223974', {'title': 'The Farthest', 'kind': 'movie', 'year': 2017}, 
None), ('7168140', {'title': 'The Farthest place of the world', 'kind': 'tv 
short', 'year': 2017}, None), ('590', {'title': 'The Farthest Apple from 
the Tree', 'kind': 'short', 'year': 2015}, None), ('6169424', {'title': 'The 
Farthest I Could Find', 'kind': 'short', 'year': 2016}, None), ('0706377', 
{'episode of': 'Space: Above and Beyond', 'series year': 1995, 'title': 'The 
Farthest Man from Home', 'kind': 'episode', 'year': 1995}, None), ('6538134', 
{'episode of': 'Fractale', 'series year': 2011, 'title': 'The Farthest Town', 
'kind': 'episode', 'year': 2011}, None), ('1605791', {'title': 'Beyond the 
Farthest Star', 'kind': 'movie', 'year': 2015}, None), ('1315219', {'title': 
'Walter the Farting Dog (in development)', 'kind': 'movie'}, None), ('1383902', 
{'episode of': 'Eyewitness to History', 'series year': 1960, 'title': 'The 
Farthest Neighbors', 'kind': 'episode', 'year': 1960}, None), ('6509760', 
{'episode of': 'Suspense', 'series year': 2014, 'title': 'To the Farthest 
Shore', 'kind': 'episode', 'year': 2016}, None), ('6762336', {'episode of': 
'CBS Reports', 'series year': 1959, 'title': 'Farthest Frontier', 'kind': 
'episode', 'year': 1967}, None), ('6522138', {'title': 'Farthest North (in 
development)', 'kind': 'movie'}, None), ('0827626', {'episode of': 'Star Trek: 
The Animated Series', 'series year': 1973, 'title': 'Beyond the Farthest Star', 
'kind': 'episode', 'year': 1973}, None), ('1560191', {'title': 'The Farther, 
the Dearer', 'kind': 'movie', 'year': 2007}, None), ('3682684', {'title': 'The 
Farther You Go', 'kind': 'short', 'year': 2014}, None), ('4177286', {'title': 
'The Luckiest Man on the Face of the Earth', 'kind': 'movie'}, None), 
('0168197', {'title': 'Sugar: The Fall of the West', 'kind': 'movie', 'year': 
1998}, None), ('0613891', {'episode of': 'Jackanory', 'series year': 1965, 
'title': 'The Star of the Farmyard', 'kind': 'episode', 'year': 1993}, None), 
('0687010', {'episode of': 'Rita and Wally', 'series year': 1968, 'title': 'The 
Farther the Better', 'kind': 'episode', 'year': 1968}, None), ('1992103', 
{'title': 'Carmen: In the Land Farthest from', 'kind': 'short', 'year': 2011}, 
None), ('4488310', {'episode of': 'Star Gazers', 'series year': 1976, 'title': 
'When the Earth Is Farthest from the Sun', 'kind': 'episode', 'year': 1987}, 
None), ('6069974', {'title': 'SAFAR the Story of Life', 'kind': 'short', 
'year': 2016}, None), ('1512230', {'title': 'The Farmer and the Stewardess', 
'kind': 'tv movie', 'year': 2009}, None), ('7880702', {'title': 'The Fastest 
Man on Earth', 'kind': 'short', 'year': 2015}, None), ('7652474', {'episode 
of': 'The Power and the Glory', 'series year': 1991, 'title': 'The Fastest Men 
on Earth', 'kind': 'episode', 'year': 1991}, None), ('0776144', {'episode of': 
'Jackanory', 'series year': 1965, 'title': 'The Fastest Animal on Earth', 
'kind': 'episode', 'year': 1967}, None), ('1217920', {'episode of': 'Skunk 
Fu!', 'series year': 2007, 'title': 'The Art of the Stink/The Art of the Fan 
Fan', 'kind': 'episode', 'year': 2008}, None), ('2666450', {'title': 'Pabbar... 
The Story of a River', 'kind': 'movie', 'year': 2012}, None), ('0836299', 
{'episode of': 'Last of the Summer Wine', 'series year': 1973, 'title': 'In 
Search of Childlike Joy and the Farthest Reaches of the Lotus Position', 
'kind': 'episode', 'year': 2002}, None), ('1315281', {'episode of': 'Martha 
Speaks', 'series year': 2008, 'title': 'Down on the Farm/Martha Runs Away', 
'kind': 'episode', 'year': 2008}, None), ('4179588', {'title': 'The Story So 
Far: The Findhorn Foundation Community', 'kind': 'movie', 'year': 2014}, None), 
('2423170', {'title': 'The Fastest Changing Place on Earth', 'kind': 'tv 
movie', 'year': 2012}, None), ('0701236', {'episode of': 'The Simpsons', 
'series year': 1989, 'title': 'The Father, the Son, and the Holy Guest Star', 
'kind': 'episode', 'year': 2005}, None), ('2358828', {'title': 'Harry Jerome: 
The Fastest Man on Earth', 'kind': 'short', 'year': 2011}, None), ('2033431', 
{'title': 'The Spectacled Bear: The Family Affair', 'kind': 'tv movie', 'year': 
2004}, None), ('2524500', {'episode of': 'This World', 'series year': 2004, 
'title': 'The Fastest Changing Place on Earth', 'kind': 'episode', 'year': 
2012}, None), ('0813763', {'episode of': 'Speed Racer', 'series year': 1967, 
'title': 'The Fastest Car on Earth: Part 1', 'kind': 'episode', 'year': 1967}, 
None), ('0813764', {'episode of': 'Speed Racer', 'series year': 1967, 'title': 
'The Fastest Car on Earth: Part