Question: Pulsar Error on Windows
0
gravatar for bornea27
2.7 years ago by
bornea2720
United States
bornea2720 wrote:

I am attempting to run pulsar on a windows machine which I have successfully accomplished on other windows 7 machines but for some reason every time I try to run "paster serve server.ini" I get:

Traceback (most recent call last):
  File "C:\Python27\Scripts\paster-script.py", line 9, in <module>
    load_entry_point('pastescript==1.7.5', 'console_scripts', 'paster')()
  File "C:\Python27\lib\site-packages\pastescript-1.7.5-py2.7.egg\paste\script\c
ommand.py", line 93, in run
    commands = get_commands()
  File "C:\Python27\lib\site-packages\pastescript-1.7.5-py2.7.egg\paste\script\c
ommand.py", line 135, in get_commands
    plugins = pluginlib.resolve_plugins(plugins)
  File "C:\Python27\lib\site-packages\pastescript-1.7.5-py2.7.egg\paste\script\p
luginlib.py", line 82, in resolve_plugins
    pkg_resources.require(plugin)
  File "build\bdist.win-amd64\egg\pkg_resources\__init__.py", line 920, in requi
re
  File "build\bdist.win-amd64\egg\pkg_resources\__init__.py", line 788, in resol
ve
  File "build\bdist.win-amd64\egg\pkg_resources\__init__.py", line 2915, in __co
ntains__
  File "build\bdist.win-amd64\egg\pkg_resources\__init__.py", line 2528, in vers
ion
ValueError: ("Missing 'Version:' header and/or PKG-INFO file", wsgi-path [unknow
n version] (c:\pulsar-master))

I have attempted to find information on this in the paste documentation and stack exchange but I cannot figure out the source of the error. I am running python 2.7.9 and installed the dependencies using the:

easy_install paste wsgiutils PasteScript PasteDeploy webob six psutil

as stated in the pulsar documentation. Any help would be greatly appreciated. 

 

galaxy • 1.2k views
ADD COMMENTlink modified 2.7 years ago by jmchilton1.0k • written 2.7 years ago by bornea2720
2
gravatar for jmchilton
2.7 years ago by
jmchilton1.0k
United States
jmchilton1.0k wrote:

Can you revert to an older verison of pulsar - specifically "git checkout 47a9ea28ac61837041d8e802d2df7c441055d6b0". This commit (https://github.com/galaxyproject/pulsar/commit/d05588f6ceab9e3fbc3d8d1e81e2967995a2500c) probably broke something but was fine in my testing.

I have created an issue for this problem here - https://github.com/galaxyproject/pulsar/issues/59.

If you make progress after that checkout it would give my a strong indication that commit broke something.

ADD COMMENTlink written 2.7 years ago by jmchilton1.0k

Unfortunately that did not work I used the commit you recommend but when I went to run it I got the same error. I also have the results of the tester that is provided with pulsar which also gives this error: 

Traceback (most recent call last):
  File "C:\pulsar-master\pulsar\client\test\check.py", line 171, in run
    submit_job(client, job_description)
  File "C:\pulsar-master\pulsar\client\staging\up.py", line 22, in submit_job
    file_stager = FileStager(client, client_job_description, job_config)
  File "C:\pulsar-master\pulsar\client\staging\up.py", line 82, in __init__
    self.__handle_setup(job_config)
  File "C:\pulsar-master\pulsar\client\staging\up.py", line 107, in __handle_set
up
    job_config = self.client.setup(self.tool_id, self.tool_version)
  File "C:\pulsar-master\pulsar\client\client.py", line 68, in setup
    return self.setup_handler.setup(**setup_args)
  File "C:\pulsar-master\pulsar\client\setup_handler.py", line 65, in setup
    return self.client.remote_setup(**setup_args)
  File "C:\pulsar-master\pulsar\client\decorators.py", line 12, in replacement
    response = func(*args, **kwargs)
  File "C:\pulsar-master\pulsar\client\client.py", line 160, in remote_setup
    return self._raw_execute("setup", setup_args)
  File "C:\pulsar-master\pulsar\client\client.py", line 203, in _raw_execute
    return self.job_manager_interface.execute(command, args, data, input_path, o
utput_path)
  File "C:\pulsar-master\pulsar\client\interface.py", line 99, in execute
    response = self.transport.execute(url, method=method, data=data, input_path=
input_path, output_path=output_path)
  File "C:\pulsar-master\pulsar\client\transport\standard.py", line 34, in execu
te
    response = self._url_open(request, data)
  File "C:\pulsar-master\pulsar\client\transport\standard.py", line 20, in _url_
open
    return urlopen(request, data)
  File "C:\Python27\lib\urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Python27\lib\urllib2.py", line 431, in open
    response = self._open(req, data)
  File "C:\Python27\lib\urllib2.py", line 449, in _open
    '_open', req)
  File "C:\Python27\lib\urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 1227, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "C:\Python27\lib\urllib2.py", line 1197, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 10061] No connection could be made because the t
arget machine actively refused it>
Traceback (most recent call last):
  File "run_client_tests.py", line 4, in <module>
    main()
  File "C:\pulsar-master\pulsar\client\test\check.py", line 374, in main
    run(options)
  File "C:\pulsar-master\pulsar\client\test\check.py", line 171, in run
    submit_job(client, job_description)
  File "C:\pulsar-master\pulsar\client\staging\up.py", line 22, in submit_job
    file_stager = FileStager(client, client_job_description, job_config)
  File "C:\pulsar-master\pulsar\client\staging\up.py", line 82, in __init__
    self.__handle_setup(job_config)
  File "C:\pulsar-master\pulsar\client\staging\up.py", line 107, in __handle_set
up
    job_config = self.client.setup(self.tool_id, self.tool_version)
  File "C:\pulsar-master\pulsar\client\client.py", line 68, in setup
    return self.setup_handler.setup(**setup_args)
  File "C:\pulsar-master\pulsar\client\setup_handler.py", line 65, in setup
    return self.client.remote_setup(**setup_args)
  File "C:\pulsar-master\pulsar\client\decorators.py", line 12, in replacement
    response = func(*args, **kwargs)
  File "C:\pulsar-master\pulsar\client\client.py", line 160, in remote_setup
    return self._raw_execute("setup", setup_args)
  File "C:\pulsar-master\pulsar\client\client.py", line 203, in _raw_execute
    return self.job_manager_interface.execute(command, args, data, input_path, o
utput_path)
  File "C:\pulsar-master\pulsar\client\interface.py", line 99, in execute
    response = self.transport.execute(url, method=method, data=data, input_path=
input_path, output_path=output_path)
  File "C:\pulsar-master\pulsar\client\transport\standard.py", line 34, in execu
te
    response = self._url_open(request, data)
  File "C:\pulsar-master\pulsar\client\transport\standard.py", line 20, in _url_
open
    return urlopen(request, data)
  File "C:\Python27\lib\urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Python27\lib\urllib2.py", line 431, in open
    response = self._open(req, data)
  File "C:\Python27\lib\urllib2.py", line 449, in _open
    '_open', req)
  File "C:\Python27\lib\urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 1227, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "C:\Python27\lib\urllib2.py", line 1197, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 10061] No connection could be made becau
se the target machine actively refused it>

Looking at this maybe there is something wrong with the network configuration the pc is on large research facility domain as well. 

ADD REPLYlink written 2.7 years ago by bornea2720

So I went back even further to the commit from 2/14/15 specifically this (https://github.com/galaxyproject/pulsar/commit/53b81ebb00e8834b3a688f087a9c2ff0d9eea402) commit and it worked. Hopefully this helps troubleshooting and thank you for pointing me in the right direction.

ADD REPLYlink written 2.7 years ago by bornea2720

I believe this should now be fixed with Pulsar - https://github.com/galaxyproject/pulsar/commit/601972d36e871d8f72e8688f9b2a40f134e8ffac. Thanks again for reporting the issue and sorry about the bug.

ADD REPLYlink written 2.7 years ago by jmchilton1.0k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 104 users visited in the last hour