Jump to content
Sign in to follow this  
windwolfx23

Hqueue server can't start

Recommended Posts

Hi guys! I can't get my Hqueue server start, it stops after a second automatically, I checked the "errors.log" under "C:\HQueueServer" this is the messages:

 

 

Traceback (most recent call last):

  File "C:\HQueueServer\python27\Scripts\paster-script.py", line 8, in <module>

    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\command.py", line 84, in run

    invoke(command, command_name, options, args[1:])

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\command.py", line 123, in invoke

    exit_code = runner.run(args)

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\command.py", line 218, in run

    result = self.command()

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\serve.py", line 276, in command

    relative_to=base, global_conf=vars)

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\serve.py", line 313, in loadapp

    **kw)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 204, in loadapp

    return loadobj(APP, uri, name=name, **kw)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 224, in loadobj

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 248, in loadcontext

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 278, in _loadconfig

    return loader.get_context(object_type, name, global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 409, in get_context

    section)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 431, in _context_from_use

    object_type, name=use, global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 361, in get_context

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 248, in loadcontext

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 285, in _loadegg

    return loader.get_context(object_type, name, global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 561, in get_context

    object_type, name=name)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 587, in find_egg_entry_point

    possible.append((entry.load(), protocol, entry.name))

  File "C:\HQueueServer\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.py", line 1954, in load

    entry = __import__(self.module_name, globals(),globals(), ['__name__'])

ImportError: DLL load failed: 找不到指定的程序。

Traceback (most recent call last):

  File "C:\HQueueServer\python27\Scripts\paster-script.py", line 8, in <module>

    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\command.py", line 84, in run

    invoke(command, command_name, options, args[1:])

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\command.py", line 123, in invoke

    exit_code = runner.run(args)

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\command.py", line 218, in run

    result = self.command()

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\serve.py", line 276, in command

    relative_to=base, global_conf=vars)

  File "C:\HQueueServer\python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\serve.py", line 313, in loadapp

    **kw)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 204, in loadapp

    return loadobj(APP, uri, name=name, **kw)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 224, in loadobj

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 248, in loadcontext

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 278, in _loadconfig

    return loader.get_context(object_type, name, global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 409, in get_context

    section)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 431, in _context_from_use

    object_type, name=use, global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 361, in get_context

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 248, in loadcontext

    global_conf=global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 285, in _loadegg

    return loader.get_context(object_type, name, global_conf)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 561, in get_context

    object_type, name=name)

  File "C:\HQueueServer\python27\lib\site-packages\pastedeploy-1.3.2-py2.7.egg\paste\deploy\loadwsgi.py", line 587, in find_egg_entry_point

    possible.append((entry.load(), protocol, entry.name))

  File "C:\HQueueServer\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.py", line 1954, in load

    entry = __import__(self.module_name, globals(),globals(), ['__name__'])

ImportError: DLL load failed: 

 

ps: I have another computer installed, and it's running without problem. the two computers have same system and hardware configuration, I read one of the post which got the same error and is from one year ago, said that is related to one of the windows update, but I didn't have that update, but it give me a hint it might still a python related problem rather than Houdini itself. so I wonder if there are indeed some dll can't be imported, how can I fix that? or another windows update messed with python?

Share this post


Link to post
Share on other sites

I think it's usually better to have the latest Windows updates.

Share this post


Link to post
Share on other sites

For what it's worth, months ago when I was trying to get hqueue set up I saw similar issues... Sidefx support suggested I try installing hqueue from a more recent build of Houdini and that did the trick. 

Share this post


Link to post
Share on other sites

delite 

                try:
                    ctype = ctype.encode(default_encoding) # omit in 3.x!
                except UnicodeEncodeError:
                    pass

in  C:\HQueueServer\python27\lib\mimetypes.py

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×