Thanks i find it in the /usr/share/doc…..
But i'm having a problem : SCANNING aka titles: "Bleep My Dad Says" (2010)
2011-10-10 02:36:03,844 CRITICAL [imdbpy]
/usr/lib/pymodules/python2.6/imdb/_exceptions.py:35: IMDbParserError exception
raised; args: ('invalid title: """"',); kwds: {}
Traceback (most recent call last):
File "imdbpy2sql.py", line 2898, in <module>
import psyco
ImportError: No module named psyco
Traceback (most recent call last):
File "imdbpy2sql.py", line 2911, in <module>
run()
File "imdbpy2sql.py", line 2781, in run
doAkaTitles()
File "imdbpy2sql.py", line 1747, in doAkaTitles
akaDict = analyze_title(akat, _emptyString='')
File "/usr/lib/pymodules/python2.6/imdb/utils.py", line 319, in analyze_title
series_d = analyze_title(series_title, canonical=canonicalSeries)
File "/usr/lib/pymodules/python2.6/imdb/utils.py", line 319, in analyze_title
series_d = analyze_title(series_title, canonical=canonicalSeries)
File "/usr/lib/pymodules/python2.6/imdb/utils.py", line 413, in analyze_title
raise IMDbParserError, 'invalid title: "%s"' % original_t
imdb._exceptions.IMDbParserError: invalid title: """"
A 08/10/2011, às 15:56, Davide Alberani escreveu:
> On Sat, Oct 8, 2011 at 01:04, Tiago Serra <[email protected]> wrote:
>>
>> I just installed imdbpy and i want to use the imdbpy2sql.py to copy to
>> mysql. I'm using ubuntu.
>
> (slightly) depends on how you've installed it.
>
>> I need to run this script from some folder right? WHere can i find the
>> script?
>
> If you've run 'python setup.py install' from the source package, that you
> should have the imdbpy2sql.py script in some of your PATH directory.
> Usually /usr/bin/ or /usr/local/bin/
> Running imdbpy2sql.py from the command line (open a terminal) is
> enough. If it doesn't work, try to understand where it was installed
> and call if with the full path. As a last resource, you can search your
> whole system:
> find / -type f -name imdbpy2sql.py
>
> If you've installed a package for your distribution, it depends on where
> the packager decided to put it. Sometimes the executable is not installed,
> but you can find it amongst the documentation. Maybe somewhere like:
> /usr/share/doc/python-imdbpy/examples/imdby2sql.py
>
> Use it from there or copy it in your favorite directory and remember that
> usually the current directory is not included in the PATH, so if you're in
> the same directory, you've to use: ./imdbpy2sql.py
>
> Hope this helps.
>
> --
> Davide Alberani <[email protected]> [PGP KeyID: 0x465BFD47]
> http://www.mimante.net/
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Imdbpy-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-help