vbk!!!

vbk!!!

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

hou.ui.display , ask me again please !!!! July 31, 2023, 10:43 a.m.

Hello,

I wrote this code :

sbtn = hou.ui.displayCustomConfirmation('Do you want it ', buttons=('Yes','No'), title='ActionZ')
if sbtn==0:
    print('aaa')
if sbtn==1:
    print('bbb')

The window came with title, buttons and a toggle labelled 'Don't ask me again'
Of course I switched on the toggle to test and now there is no popup anymore, even after a relaunch.

How Can I get my window back ?
Is it possible to eliminate this toggle ?

Thanks for your help !

Issue with PyGithub install July 31, 2023, 10:35 a.m.

I gave up on PyGitHub.
I use the REST API now
https://docs.github.com/fr/rest?apiVersion=2022-11-28 [docs.github.com]

Issue with PyGithub install July 25, 2023, 10:11 a.m.

Hello,

I try to install PyGithub packages to hython via pip .
After install when I test to import the module, I get this error :

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\__init__.py", line 58, in <module
>
    from github import Auth
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\Auth.py", line 32, in <module>
    from github.InstallationAuthorization import InstallationAuthorization
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\InstallationAuthorization.py", li
ne 27, in <module>
    import github.NamedUser
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\NamedUser.py", line 40, in <modul
e>
    import github.Event
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\Event.py", line 33, in <module>
    import github.Organization
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\Organization.py", line 50, in <mo
dule>
    import github.Repository
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\Repository.py", line 173, in <mod
ule>
    import github.PublicKey
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\github\PublicKey.py", line 34, in <modul
e>
    from nacl import encoding, public
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\nacl\public.py", line 16, in <module>
    import nacl.bindings
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\nacl\bindings\__init__.py", line 58, in 
<module>
    from nacl.bindings.crypto_core import (
  File "C:\Houdini19.5.564\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensuppo
rt\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "C:\Houdini19.5.564\python39\lib\site-packages\nacl\bindings\crypto_core.py", line 21, 
in <module>
    has_crypto_core_ed25519 = bool(lib.PYNACL_HAS_CRYPTO_CORE_ED25519)
AttributeError: cffi library '_sodium' has no function, constant or global variable named 'PYN
ACL_HAS_CRYPTO_CORE_ED25519'

It seems PyNaCl make a mess.

I try on window10 , houdini 19.5.564

Did anyone try the same thing ?
Does it work ?
On Linux maybe ?

Any tips is welcome !