mkorpela / pabot

Parallel executor for Robot Framework test cases.
https://pabot.org
Apache License 2.0
473 stars 151 forks source link

Pabor install fail in standalone server: Download error on https://pypi.python.org/simple/typing/: timed out #232

Closed JarkkoVK closed 5 years ago

JarkkoVK commented 5 years ago

Hei. I download pabot zip-file and run in test server: setup.py install. I get error: Download error on https://pypi.python.org/simple/typing/: timed out Please see install.log below:

C:\install\pabot-master\pabot-master>setup.py install running install running bdist_egg running egg_info creating robotframework_pabot.egg-info writing requirements to robotframework_pabot.egg-info\requires.txt writing robotframework_pabot.egg-info\PKG-INFO writing top-level names to robotframework_pabot.egg-info\top_level.txt writing dependency_links to robotframework_pabot.egg-info\dependency_links.txt writing entry points to robotframework_pabot.egg-info\entry_points.txt writing manifest file 'robotframework_pabot.egg-info\SOURCES.txt' reading manifest file 'robotframework_pabot.egg-info\SOURCES.txt' writing manifest file 'robotframework_pabot.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_py creating build creating build\lib creating build\lib\pabot copying pabot\pabot.py -> build\lib\pabot copying pabot\pabotlib.py -> build\lib\pabot copying pabot\result_merger.py -> build\lib\pabot copying pabot\SharedLibrary.py -> build\lib\pabot copying pabot__init__.py -> build\lib\pabot creating build\bdist.win32 creating build\bdist.win32\egg creating build\bdist.win32\egg\pabot copying build\lib\pabot\pabot.py -> build\bdist.win32\egg\pabot copying build\lib\pabot\pabotlib.py -> build\bdist.win32\egg\pabot copying build\lib\pabot\result_merger.py -> build\bdist.win32\egg\pabot copying build\lib\pabot\SharedLibrary.py -> build\bdist.win32\egg\pabot copying build\lib\pabot__init__.py -> build\bdist.win32\egg\pabot byte-compiling build\bdist.win32\egg\pabot\pabot.py to pabot.pyc byte-compiling build\bdist.win32\egg\pabot\pabotlib.py to pabotlib.pyc byte-compiling build\bdist.win32\egg\pabot\result_merger.py to result_merger.pyc

byte-compiling build\bdist.win32\egg\pabot\SharedLibrary.py to SharedLibrary.pyc

byte-compiling build\bdist.win32\egg\pabot__init.py to init__.pyc creating build\bdist.win32\egg\EGG-INFO copying robotframework_pabot.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO

copying robotframework_pabot.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-I NFO copying robotframework_pabot.egg-info\dependency_links.txt -> build\bdist.win32\ egg\EGG-INFO copying robotframework_pabot.egg-info\entry_points.txt -> build\bdist.win32\egg\ EGG-INFO copying robotframework_pabot.egg-info\requires.txt -> build\bdist.win32\egg\EGG- INFO copying robotframework_pabot.egg-info\top_level.txt -> build\bdist.win32\egg\EGG -INFO zip_safe flag not set; analyzing archive contents... pabot.pabot: module references file creating dist creating 'dist\robotframework_pabot-0.87-py2.7.egg' and adding 'build\bdist.win3 2\egg' to it removing 'build\bdist.win32\egg' (and everything under it) Processing robotframework_pabot-0.87-py2.7.egg creating c:\python27\lib\site-packages\robotframework_pabot-0.87-py2.7.egg Extracting robotframework_pabot-0.87-py2.7.egg to c:\python27\lib\site-packages Adding robotframework-pabot 0.87 to easy-install.pth file Installing pabot-script.py script to C:\Python27\Scripts Installing pabot.exe script to C:\Python27\Scripts Installing pabot.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\robotframework_pabot-0.87-py2.7.egg Processing dependencies for robotframework-pabot==0.87 Searching for typing Reading https://pypi.python.org/simple/typing/ Download error on https://pypi.python.org/simple/typing/: timed out -- Some pack ages may not be found! Couldn't find index page for 'typing' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/: timed out -- Some packages ma y not be found! No local packages or working download links found for typing error: Could not find suitable distribution for Requirement.parse('typing')

C:\install\pabot-master\pabot-master>pip list DEPRECATION: The default format will switch to columns in the future. You can us e --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.con f under the [list] section) to disable this warning. comtypes (1.1.7) decorator (4.0.11) docx-mailmerge (0.4.0) et-xmlfile (1.0.1) jdcal (1.4) lxml (4.3.1) openpyxl (2.6.0) pip (9.0.1) python-dateutil (2.6.1) robotframework (3.1.1) robotframework-pabot (0.87) robotframework-seleniumlibrary (3.3.1) selenium (3.6.0) setuptools (28.8.0) six (1.11.0)

mkorpela commented 5 years ago

Based on the output your connection to https://pypi.python.org has timed out. You can manually download the module from https://pypi.org/project/typing/#files and do pip install typing-3.7.4.1-py2-none-any.whl. Does this solve the installation problem?

JarkkoVK commented 5 years ago

Yes, this solves the typing installation problem. Thanks. But next problem. I try to run pabot but get error: C:\Jenkins\workspace\test_tia>pabot --pabotlib --processes 4 --include pabot_smo ke C:\Jenkins\workspace\test_tia\pabot_tests*.robot Traceback (most recent call last): File "C:\Python27\Scripts\pabot-script.py", line 6, in from pkg_resources import load_entry_point File "C:\Python27\lib\site-packages\pkg_resources__init__.py", line 3017, in

@_call_aside File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 3003, in _call_aside f(*args, **kwargs) File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 3030, in _initialize_master_working_set working_set = WorkingSet._build_master() File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 659, in _ build_master ws.require(__requires__) File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 967, in r equire needed = self.resolve(parse_requirements(requirements)) File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 853, in r esolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'robotremoteserver>=1.1' distribution wa s not found and is required by robotframework-pabot
mkorpela commented 5 years ago

Same thing. Should have been downloaded from pypi. Should be available in the same manner.

JarkkoVK commented 5 years ago

robotremoteserver-1.1-py2.py3-none-any.whl Thanks, it is working! :)

mkorpela commented 5 years ago

Eipä mitään :) Closing this.