Re: [Imdbpy-help] Presentation and windows problem
On Sun, Nov 19, 2017 at 4:36 PM, Martín Torre Castrowrote: > > Installing from the gitHub clone did work perfectly. Great! I've also just release version 6.2, since the previous one contained some critical bugs. -- Davide Alberani [PGP KeyID: 0x3845A3D4AC9B61AD] http://www.mimante.net/ -- 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 Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Re: [Imdbpy-help] Presentation and windows problem
Installing from the gitHub clone did work perfectly. Thanks everyone El 18 nov. 2017 7:42 p. m., "Martín Torre Castro" < martin.torre.cas...@gmail.com> escribió: > The output is 6.0, all installed with pip. > > I'm uninstalling and downloading the latest version later following > instructions on the web. > > I'm letting you know the result > > El 18 nov. 2017 9:57 a. m., "Davide Alberani"> escribió: > >> On Thu, Nov 16, 2017 at 7:55 PM, Martín Torre Castro >> wrote: >> > >> >> 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'. >> >> Hi Martin, >> this does not seem to be the latest version. >> >> Executing this command: >> python3 -c 'import imdb ; print(imdb.__version__)' >> >> the output should be something like 6.1dev2017118 >> >> I've also fixed to bug parsing the imdbpy.cfg file. >> >> > 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. >> >> As Turgut said, that was due to the fact that cookies were moved to a >> separated JSON file. >> I've reverted it, splitting the long lines, to prevent other similar >> cases. >> >> Let us know if it fixes. :-) >> >> >> -- >> Davide Alberani [PGP KeyID: >> 0x3845A3D4AC9B61AD] >> http://www.mimante.net/ >> > -- 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 Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Re: [Imdbpy-help] Presentation and windows problem
The output is 6.0, all installed with pip. I'm uninstalling and downloading the latest version later following instructions on the web. I'm letting you know the result El 18 nov. 2017 9:57 a. m., "Davide Alberani"escribió: > On Thu, Nov 16, 2017 at 7:55 PM, Martín Torre Castro > wrote: > > > >> 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'. > > Hi Martin, > this does not seem to be the latest version. > > Executing this command: > python3 -c 'import imdb ; print(imdb.__version__)' > > the output should be something like 6.1dev2017118 > > I've also fixed to bug parsing the imdbpy.cfg file. > > > 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. > > As Turgut said, that was due to the fact that cookies were moved to a > separated JSON file. > I've reverted it, splitting the long lines, to prevent other similar cases. > > Let us know if it fixes. :-) > > > -- > Davide Alberani [PGP KeyID: > 0x3845A3D4AC9B61AD] > http://www.mimante.net/ > -- 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 Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Re: [Imdbpy-help] Presentation and windows problem
Hi, Is it possible that pyinstaller doesn't handle the setup.py file and/or the MANIFEST.in file like the sdist command does? Those are the places where the cookies.json file is listed. Turgut On November 18, 2017 10:13:07 AM "H. Turgut Uyar"wrote: Hi, Is it possible that pyinstaller doesn't handle the setup.py file and/or the MANIFEST.in file like the sdist command does? Those are the places where the cookies.json file is listed. Turgut On November 16, 2017 9:55:34 PM Martín Torre Castro wrote: 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 File "sample_get_info.py", line 24, in get_data File "site-packages\imdb\__init__.py", line 186, in IMDb File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "c:\program files (x86)\python36-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module exec(bytecode, module.__dict__) File "site-packages\imdb\parser\http\__init__.py", line 99, in FileNotFoundError: [Errno 2] No such file or directory: 'C:\\UsersAppData\\Local\\Temp\\_MEI56602\\imdb\\parser\\http\\cookie s.json' -- -- 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 Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help -- 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 Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Re: [Imdbpy-help] Presentation and windows problem
> > 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 File "sample_get_info.py", line 24, in get_data File "site-packages\imdb\__init__.py", line 186, in IMDb File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "c:\program files (x86)\python36-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module exec(bytecode, module.__dict__) File "site-packages\imdb\parser\http\__init__.py", line 99, in FileNotFoundError: [Errno 2] No such file or directory: 'C:\\UsersAppData\\Local\\Temp\\_MEI56602\\imdb\\parser\\http\\cookie s.json' -- 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 Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Re: [Imdbpy-help] Presentation and windows problem
On Thu, Nov 16, 2017 at 1:07 AM, Madtynwrote: > > I started using imdbPY and I was very happy with the low difficulty in > larning how to use this tool. Hi Martin, I'm glad IMDbPY is useful to you! > The problem came when I did want to make a Windows '.exe' file for > distributing it. 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? > 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 Hope this helps, -- Davide Alberani [PGP KeyID: 0x3845A3D4AC9B61AD] http://www.mimante.net/ -- 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 Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help