> I'll try to build it on Windows, in the next days.
> Can you tell me how you have set up the environment?
> Which version of Python?
> Which command you run to build the .exe?

 Python 3.6.3
pyInstaller --onefile sample_get_info.py

> > 2017-11-16 00:44:46,732 WARNING [imdbpy] C:\Program Files
> > (x86)\Python36-32\lib\site-packages\imdb\__init__.py:165: Unable to read
> > configuration file; complete error: 'ConfigParserWithCase' object has no
> > attribute '_boolean_states'
> Nice; this seems to be a problem related to the parsing of the
> imdbpy.cfg file: remove it (I'll try to reproduce and fix the bug later),
> since you don't really need it.
> >     grParser = GatherRefs(useModule=self._useModule)
> > AttributeError: 'DOMHTMLPlotParser' object has no attribute '_useModule'
> It seems you're using an old version.
> IMDbPY just came out of a huge set of changes, and it still have some bugs
> here
> and there.  The above one should already be fixed in the repository
> version:
> https://github.com/alberanid/imdbpy
> IMDbPY==6.0

I'm checking now. It says everything is 'already-up-to-date'.

Finally, I was trying the file from a very little gui in a '.pyw' file. Now
I tried only the text-mode script and it gives this error at the command
line. It's happening at the IMDb() call.

Traceback (most recent call last):
  File "sample_get_info.py", line 56, in <module>
  File "sample_get_info.py", line 24, in get_data
  File "site-packages\imdb\__init__.py", line 186, in IMDb
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "c:\program files
line 631, in exec_module
    exec(bytecode, module.__dict__)
  File "site-packages\imdb\parser\http\__init__.py", line 99, in <module>
FileNotFoundError: [Errno 2] No such file or directory:
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Imdbpy-help mailing list

Reply via email to