Closed HugoJourdan closed 11 months ago
we are very lazy in pushing the latest version to pypi...
try pip3 install git+https://github.com/robotools/vanilla
to get the latest version
Thanks, but It didn't fix this issue unfortunately
what pyobjc version do you have? what macOS version?
it seems to go wrong here https://github.com/robotools/vanilla/blob/master/Lib/vanilla/vanillaTabs.py#L32-L35
but I cannot reproduce it
From my side it work : pyobj : 9.0.1 macOS : Ventura 13.2.1
My colleague : pyobj : 9.1.1 Mac OS : Monterey 12.5.1
which python?
Downgrading to pyobj 9.0.1 fixed the issue. We are both with 3.11
FYI according the spec super()
must be called... so it must be available https://developer.apple.com/documentation/appkit/nstabviewcontroller/1428243-tabview?changes=_6_1&language=objc
I assume it's problem from pyobj side...
cannot reproduce it on 3.11... with the latest objc, vanilla
import vanilla
class Demo:
def __init__(self):
self.w = vanilla.Window((400, 400))
self.w.tabs = vanilla.Tabs((10, 10, -10, -10), ["one", "two", "three"])
self.w.open()
if __name__ == "__main__":
from vanilla.test.testTools import executeVanillaTest
executeVanillaTest(Demo)
oh yes, got it... with pyobjc 9.1.1
reported here https://github.com/ronaldoussoren/pyobjc/issues/549
downgrade for now :(
I wrote a script with an UI made with vanilla and I'm using this following snippet at the end of my script to open UI windows.
It works perfectly on my side, but I shared it with a college and it got this error :
He installed last version of vanilla using
pip3 install cocoa-vanilla