Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Liju Kunnummal
    @ljkart
    shud I remove?
    Marcus Ottosson
    @mottosso
    Haha, man
    Remove everything that isn't inside pyblish-suite
    All Pyblish, all PyQt5
    I'm sorry, I don't know how to solve it, the problem lies in getting PyQt5 installed on your computer.
    Liju Kunnummal
    @ljkart
    k, let me check then,
    Marcus Ottosson
    @mottosso
    If you launch a terminal, without running suite.bat, can you still import PyQt5 in Python?
    Liju Kunnummal
    @ljkart
    EUREKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    finalllly I gt something....HIHHIIH
    bt with some error, got the UI
    D:\OpenSourcePipeline\pyblish-suite>run.bat
    Running debug app on port: 6000I
    NFO - endpoint: Registering: <class 'pyblish_qml.mocking.MockService'>
    INFO - endpoint: Creating app
    INFO - endpoint: Mapping URIs
    INFO - endpoint: App created
    Spent 62.00 ms building the GUI..
    Failed to post state; retrying..
    ERROR - werkzeug: Error on request:
    Traceback (most recent call last):
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\werkzeug\serving.py", line 177, in run_wsgi
        execute(self.server.app)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\werkzeug\serving.py", line 165, in execute
        application_iter = app(environ, start_response)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1836, in __call__
        return self.wsgi_app(environ, start_response)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1820, in wsgi_app
        response = self.make_response(self.handle_exception(e))
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 257, in error_ro
        return self.handle_error(e)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1817, in wsgi_app
        response = self.full_dispatch_request()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1477, in full_dispatch_reques
        rv = self.handle_user_exception(e)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 257, in error_ro
        return self.handle_error(e)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1475, in full_dispatch_reques
        rv = self.dispatch_request()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 397, in wrapper
        resp = resource(*args, **kwargs)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\views.py", line 84, in view
        return self.dispatch_request(*args, **kwargs)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 487, in dispatch
        resp = meth(*args, **kwargs)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\resource.py", line 160, in post
        service.init()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\mocking.py", line 33, in init
        self.reset()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\service.py", line 168, in reset
        "user": getpass.getuser(),
      File "C:\PYTHON27\lib\getpass.py", line 157, in getuser
        import pwd
    ImportError: No module named pwd
    Failed to post state; retrying..
    ERROR - werkzeug: Error on request:
    Traceback (most recent call last):
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\werkzeug\serving.py", line 177, in run_wsgi
        execute(self.server.app)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\werkzeug\serving.py", line 165, in execute
        application_iter = app(environ, start_response)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1836, in __call__
        return self.wsgi_app(environ, start_response)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1820, in wsgi_app
        response = self.make_response(self.handle_exception(e))
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 257, in error_ro
        return self.handle_error(e)
      File
    ```
    Could not post state; is the server running @ 6000?Message: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <title>500 Internal Server Error</title>
    <h1>Internal Server Error</h1>
    <p>The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in t
    
    ERROR - werkzeug: Error on request:
    Traceback (most recent call last):
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\werkzeug\serving.py", line 177, in run_wsgi
        execute(self.server.app)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\werkzeug\serving.py", line 165, in execute
        application_iter = app(environ, start_response)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1836, in __call__
        return self.wsgi_app(environ, start_response)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1820, in wsgi_app
        response = self.make_response(self.handle_exception(e))
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 257, in error_router
        return self.handle_error(e)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1817, in wsgi_app
        response = self.full_dispatch_request()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1477, in full_dispatch_request
        rv = self.handle_user_exception(e)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 257, in error_router
        return self.handle_error(e)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1475, in full_dispatch_request
        rv = self.dispatch_request()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\app.py", line 1461, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 397, in wrapper
        resp = resource(*args, **kwargs)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask\views.py", line 84, in view
        return self.dispatch_request(*args, **kwargs)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\vendor\flask_restful\__init__.py", line 487, in dispatch_request
        resp = meth(*args, **kwargs)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\resource.py", line 160, in post
        service.init()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\mocking.py", line 33, in init
        self.reset()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-endpoint\pyblish_endpoint\service.py", line 168, in reset
        "user": getpass.getuser(),
      File "C:\PYTHON27\lib\getpass.py", line 157, in getuser
        import pwd
    ImportError: No module named pwd
    Spent 828.00 ms creating the application
    Polishing: 143ms
    Not keeping alive, accepting close event
    
    D:\OpenSourcePipeline\pyblish-suite>
    and intalling pwd
    nw
    Marcus Ottosson
    @mottosso
    No, something is not right here
    Or ok, no, it looks good
    The pwd is because of run.bat
    You don't have to install it.
    Instead, try opening up a new terminal, and run
    $ suite.bat
    $ python -m pyblish_qml
    Liju Kunnummal
    @ljkart

    what the f*

    
    D:\OpenSourcePipeline\pyblish-suite>python -m pyblish_qml
    Running debug app on port: 6000I
    NFO - endpoint: Registering: <class 'pyblish_qml.mocking.MockService'>
    INFO - endpoint: Creating app
    INFO - endpoint: Mapping URIs
    INFO - endpoint: App created
    QQmlApplicationEngine failed to load component
    file:///D:/OpenSourcePipeline/pyblish-suite/pyblish-qml/pyblish_qml/qml/main.qml:1 plugin cannot be loaded for module "QtQuick": Cannot load library D:/OpenSourcePipeline/modules/python-qt5/PyQt5/qml/QtQuick.2/qtquick2plugin.dll: The specified procedure could not be found.
    
    Spent 15.00 ms building the GUI..
    Spent 33.00 ms creating the application
    Traceback (most recent call last):
      File "C:\PYTHON27\lib\runpy.py", line 162, in _run_module_as_main
        "__main__", fname, loader, pkg_name)
      File "C:\PYTHON27\lib\runpy.py", line 72, in _run_code
        exec code in run_globals
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-qml\pyblish_qml\__main__.py", line 4, in <module>
        sys.exit(app.cli())
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-qml\pyblish_qml\app.py", line 1047, in cli
        validate=validate)
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-qml\pyblish_qml\app.py", line 1003, in main
        app = Application()
      File "D:\OpenSourcePipeline\pyblish-suite\pyblish-qml\pyblish_qml\app.py", line 102, in __init__
        window = engine.rootObjects()[0]
    IndexError: list index out of range
    
    D:\OpenSourcePipeline\pyblish-suite>

    gt the same bloody error

    Marcus Ottosson
    @mottosso
    Yes, but this is good
    run.bat removes all of your environment before running Pyblish QML
    Which means that there is something in your environment that causes this problem
    If you look in backup_env.bat
    You will see all of your environment variables
    One of those is responsible for causing this error
    You can copy paste them into run.bat until you find which one
    Liju Kunnummal
    @ljkart
    k, let me check
    Marcus Ottosson
    @mottosso
    What did you do, btw? To get this far?
    Liju Kunnummal
    @ljkart
    removed pyblish istallation from python27
    Marcus Ottosson
    @mottosso
    Cool, thanks for letting me know
    Liju Kunnummal
    @ljkart
    so,
    backup_anv
    ```
    set ALLUSERSPROFILE=C:\ProgramData
    set APPDATA=C:\Users\lijuk\AppData\Roaming
    set base=D:/OpenSourcePipeline/pyblish-suite
    set CommonProgramFiles=C:\Program Files\Common Files
    set CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    set CommonProgramW6432=C:\Program Files\Common Files
    set COMPUTERNAME=LENOVO-PC
    set ComSpec=C:\WINDOWS\system32\cmd.exe
    set configsetroot=C:\WINDOWS\ConfigSetRoot
    set FABRIC_CAPI_DIR=C:\Program Files\Fabric Engine\CAPI\
    set FABRIC_DOCUMENTATION_DIR=C:\Program Files\Fabric Engine\Documentation\
    set FABRIC_EDK_DIR=C:\Program Files\Fabric Engine\EDK\
    set FABRIC_PYTHON_MODULE_DIR=C:\Program Files\Fabric Engine\Python\
    set FABRIC_TOOLS_DIR=C:\Program Files\Fabric Engine\Tools\
    set FP_NO_HOST_CHECK=NO
    set GOROOT=C:\Go\
    set HOMEDRIVE=C:
    set HOMEPATH=\Users\lijuk
    set LOCALAPPDATA=C:\Users\lijuk\AppData\Local
    set LOGONSERVER=\MicrosoftAccount
    set NUMBER_OF_PROCESSORS=8
    set OS=Windows_NT
    set PATH=C:\ProgramData\Oracle\Java\javapath;C:\WORKS\PYTHON_VIRTUALS\PY27VIRTUAL\LIB\SITE-PACKAGES\PYQT5;C:\PYTHON27\LIB\SITE-PACKAGES\PYQT4;C:\PROGRAM FILES (X86)\NVIDIA CORPORATION\PHYSX\COMMON;C:\PROGRAM FILES (X86)\INTEL\ICLS CLIENT\;C:\PROGRAM FILES\INTEL\ICLS CLIENT\;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES (X86)\INTEL\OPENCL SDK\3.0\BIN\X86;C:\PROGRAM FILES (X86)\INTEL\OPENCL SDK\3.0\BIN\X64;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PYTHON27;C:\PYTHON27\SCRIPTS;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Go\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Google\google_appengine\;C:\Program Files (x86)\Git\bin;D:\OpenSourcePipeline\pyblish-maya\pyblish_maya\pythonpath;D:\OpenSourcePipeline\pyblish-maya;D:\OpenSourcePipeline\pyblish;c:/ffmpeg/bin;c:\Sqlite3;C:\Go\bin;C:\Users\lijuk\AppData\Roaming\npm;C:\MinGW\bin;C:\MediacenterJS\bin\ffmpeg;C:\Program Files (x86)\Java\jre1.8.0_31\bin
    set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    set PROCESSOR_ARCHITECTURE=AMD64
    set PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
    set PROCESSOR_LEVEL=6
    set PROCESSOR_REVISION=3c03
    set ProgramData=C:\ProgramData
    set ProgramFiles=C:\Program Files
    set ProgramFiles(x86)=C:\Program Files (x86)
    set ProgramW6432=C:\Program Files
    set PROMPT=$P$G
    set PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
    set PUBLIC=C:\Users\Public
    set PYTHONPATH=D:/OpenSourcePipeline/modules/python-qt5;D:/OpenSourcePipeline/pyblish-suite\pyblish-qml;D:/OpenSourcePipeline/pyblish-suite\pyblish-endpoint;D:/OpenSourcePipeline/pyblish-suite\pyblish-maya;D:/OpenSourcePipeline/pyblish-suite\pyblish;D:/OpenSourcePipeline/modules/python-qt5;c:\your\path\to\pyblish-suite\pyblish-qml;c:\your\path\to\pyblish-suite\pyblish-endpoint;c:\your\path\to\pyblish-suite\pyblish-maya;c:\your\path\to\pyblish-suite\pyblish;D:/OpenSourcePipeline/modules/python-qt5;c:\your\path\to\pyblish-suite\pyblish-qml;c:\your\path\to\pyblish-suite\pyblish-endpoint;c:\your\path\to\pyblish-suite\pyblish-maya;c:\your\path\to\pyblish-suite\pyblish;C:/SimpleCV1.3/files/opencv/build/python/2.7/;C:/OpenCV2.3/opencv/build/python/2.7/;
    set SESSIONNAME=Console
    set SystemDrive=C:
    set SystemRoot=C:\WINDOWS
    set TEMP=C:\Users\lijuk\AppData\Local\Temp
    set TMP=C:\Users\lijuk\AppData\Local\Temp
    set USERDOMAIN=LENOVO-PC
    set USERDOMAIN_ROAMINGPROFILE=LENOVO-PC
    set USERNAME=lijuk
    set USERPROFILE=C:\Users\lijuk
    set VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
    set VS1
    Marcus Ottosson
    @mottosso
    Look at that!
    C:\WORKS\PYTHON_VIRTUALS\PY27VIRTUAL\LIB\SITE-PACKAGES\PYQT5
    Maybe time to clean up your PATH? :)
    Liju Kunnummal
    @ljkart
    Haha...yes let do that
    Coyode
    @Coyode

    Heya trying to use pyblish_qml with pyblish_maya and getting the error

    pyblish_maya\lib.py", line 63, in show

    o for o in QtWidgets.QApplication.instance().topLevelWidgets()

    AttributeError: 'NoneType' object has no attribute 'topLevelWidgets'

    Marcus Ottosson
    @mottosso
    Hey there
    Let's chat in the main chat room, this hasn't seen action in years
    Coyode
    @Coyode
    Sorry about the formatting..
    ok no worries
    brycetclark
    @brycetclark
    image.png
    Hello good folks of pyblish/qml! I'm running into an issue getting pyblish_qml.show() to work, where it hits a hard error(see above photo)
    Anyone have some insight into this issue, perhaps?
    Ruchit Bhatt
    @ruchitinfushion
    how Pyblish-QML able to run import QtQuick.Controls 1.3 in Maya ?
    Marcus Ottosson
    @mottosso
    Pyblish is running in an external Python interpreter, with access PyQt5, and communicates with Maya via IPC
    Best to chat in the main Pyblish chat room
    Jakub Ježek
    @jezscha
    hi, I am starting on avalon/nuke development and having troubles to run pyblish from inside nuke. Altough I am able to run pyblish-qml as standalone it is not working in nuke.
    image.png
    and this is what nuke reports.. when i run:
    from pyblish_qml import show
    show(modal=True)
    Using Python @ 'C:\Users\Public\avalon_env\python.exe'
    Using PyQt5 @ 'C:\Users\Public\avalon_env\lib\site-packages\PyQt5'
    Targets: default
    Success. QML server available as pyblish_qml.api.current_server()
    Event filter has been installed.
    Traceback (most recent call last):
      File "C:\Users\Public\avalon_env\lib\runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "C:\Users\Public\avalon_env\lib\runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "C:\Users\hubert\CODE\github\pypeclub\avalon-environment\avalon-setup\git\pyblish-qml\pyblish_qml\__main__.py", line 6, in <module>
        from . import app
      File "C:\Users\hubert\CODE\github\pypeclub\avalon-environment\avalon-setup\git\pyblish-qml\pyblish_qml\app.py", line 12, in <module>
        from PyQt5 import QtCore, QtGui, QtQuick, QtTest
    ImportError: DLL load failed: The specified procedure could not be found.
    The eventFilter of pyblish-qml has been removed.
    Jakub Ježek
    @jezscha
    I would appreciate any direction you would point me at! :)