ossia / libossia

A modern C++, cross-environment distributed object model for creative coding and interaction scoring
https://ossia.io
GNU Lesser General Public License v3.0
206 stars 33 forks source link

[ossia-max] double namespace #559

Open fxw-fxw opened 4 years ago

fxw-fxw commented 4 years ago

Hi here is a very simple patch to show my "double namespace" problem . François

Main Patch


----------begin_max5_patcher----------
1716.3oc6bs0aaaCE9YmeEB5YGCRJRcYu01ATfgFzhsBLLTTDPay3nTIQOcI
wYE8+9HOTRwxIwQxkNMsP9AAYJxCOmuyURQ6udxD24xMhBWmey4SNSl70SlL
AZR2vj5uOwMkuYQBu.5lal3F47qbmZdToXSIz7Y7hRQdSywKgFUc7TbSaYUo
wYIhRfL35FWyKWbYb1pyyEKJMrAFilEPhHAQgQXODkF5O0gfnyPScnL8UBYF
x4y2QVYUYCcQ5F+1ImnuL86ShjEEw7YKEWGuP37w2+w2+.BWjUDtn.sTgw3m
P3ZnqooxaWKLD0004y1StSj7kohhBGwl0xBgirXw+VIxu0AG46quD9..AMvJ
HASAA5OXOrpMBNjo.DL0N3BLZ2j3rcM3AtS2dWvpPVkungTMBoycLwRQQYbF
uLVlsUmhL84dyKe85qE4E0cFlCk53JYt9qgSguFmY9JHPt4JSul9yfV34JTr
TAgU4.e4twm5ZFpboHOqJFF8IZi.0TVTdaxtxZFO0LzWUsLV9Wk7xphyOSjU
YzeJg5BdURYWjX9pKhSRVHSLr2j1mnLapQaWySmV2bae+jCZFIhhwgJXYlG1
Kf3C2otgozt3F3rdL3lAQYzHDQ2UpOIfxf6BIdLO8cncFF4t4BoLQgY.EEhn
l6TMgUy01CimsJA3bRfhbMstNWtVl2nRUCMps+UkxU47kwhrx1HMFUrAtACo
b0SAXGvjZLMUAnwMiYa+ytJiz3MeuJgVF7gwTu.eZ.FfjPpGF.G5N3xABm6n
vsrRvlX8ua.WU.nWKSV57AoNlQ79P9KjpIJ9+DMAtl05eaIV4L56F57O8tG0
PNU.nWkGySbzxkaaWZit0aUDZVHy9R3AfzneNkzlZdrh1zsySuf2jQp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XWXDMhi1.GIivnMfQuQXz
FvHcDFsALxFgQa.i9ivnMfwfQXzFvX3HLZCXLZDFOPXzbTHdN27zGql+9ysi
q.E.iQTPeVd56NRbOAhg7na6UAmlAlu2QQfJF9gMpXfawv.zkVWzm9i6kDTL
vk9NBS8Zosivzy3RWeFQvf1iGHFNoovnpOTsGMXjMZs0GXxeDl5CLELBS8Al
BGgoGAlFvpH1AILmCeyQwn4mK.r7rWPUMd.hU.A4aREf8CHlyLQHBJy2d3dI
e8.rHeGuT57N8uTAWaM+47rhDdoEeenUYOwaqcezy7q2G9WSPSvh00+BLg+b
EN4am7+fvFFzh
-----------end_max5_patcher-----------

abstract patch name " Master "


----------begin_max5_patcher----------
1759.3oc6bszaaiCD9ryuBAc1wfjRjRZu01En.KR.J18vhEEEAz1LNJUOLzi
7XK5+8kbnjhjisijV5zzBkCN1TjCmuuY3LCoj82Nal8xzGD41V+l0mslM6am
MaFzjpgYUedlcL+gUQ7bna1WGklTFaOWeov0PioKu8bVcaa4Y7XQgH6JQBeY
jP0CT00jCMLIRT.xB2LfhU2Dlr4pLwpBstfYdKPysHn.0+nH3CjEHquTMlqS
yh4PmYOI5zxhZYSpZU2TwiaEZAaaO2xdIOYis0WT836mcl5k48D8Ih6kXsFo
EhGJz3OOOjunA3VQh6DQ6gin1iiGvttv+HNOiHF.rOAPNNcsHx5RdtD06Aut
iDuAnEdTIdwuDdwGDuiBqfNtGbf2KNPGFGL1BrG0C46xHdNNHWrxYVAFmlWG
Ajptzpz3XQh1NznsIqE.zPsvMLB6nvjcWiCprp8tjQdZY1p54qxg05IEcsHu
HLgWDllzpOLced1zx2t8NQVdUmgoPx12llo9n+b3igI5OBf1NSbWXc+oPK7L
IyVHo0xLPsrefo8orUddYIkgvnOSYikSYdwiQ6B0D4ZRXnuqbcX5eUvKJyu5
RQRol4jf5ZdYTQWhX4lqCihVkFoUuYMWQtBnxhXqu57pla56msPKHAtXrujV
V3fc7HL3cx2PUN00zY0Xv0Cxk5FfHptpb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Xri4UvdjlbeZHDtzQ8GDtD1Cs4UtKk4MRJ3CV87cQxceBqm
XHoxATIK.GbBVi7Ohnnz6GzwyKirPCPH+itLmPwfg2yG6CYhjig5d5..4mQ.
TFuTj8QYkEC1E4XY8MmBlNzscbrYcDI9Ra3kwCgFOiQKhsmtaO2qapWWFy8o
96R88MZPus7Ue0bmC61vsByUBUl04me9tGa1IrLJIa6ggCLUlblRQ5y0hQBX
DxO1ayPWlXPA9Qug3hC6l60r4GW3zwgxOL9ccXWZDMwilfGISznInQmIZzDz
n6DMZBZjNQilfFYSznInQuIZzDzn+DMZBZLXhFGIMpeTHdMO7zCUye+01ocf
BjwDKndVd56IR7L.QQNtsWUAOMCTlyIAP4C+gMJefGwv.rkFG5y+wcSBxG3V
emnods01IZ5UbqquhLnWyiGHFdRSgQU8P0dxnQ5j2VenI1DM0GZxahl5CM4O
QSGflFvtH1gIzOG95GEi5ut.v1ydCU03HfkGAwzoBvLOh9YlvGAk4aNdufuc
.djWvKRstP8MUv1TyeFOIOhWXv6GZYxKb2ZOl7ze68geTDTBLea02.S32Ngy
99Y+G0DWdpC
-----------end_max5_patcher-----------
bltzr commented 4 years ago

with OSSIA build SHA : d946ab4 I don't have the problem

@fxw-fxw could you try your patcher with various previous versions of ossia-max, and see when it breaks ?

bltzr commented 4 years ago

with OSSIA build SHA : d946ab4

yes, april 19, I'm very up-to-date 😬

bltzr commented 4 years ago

which Max version are you using ?

on Max 7.3.5 I don't have the problem

fxw-fxw commented 4 years ago

OSX 10.14.6 Max 8.1.4 and 8.1.5

Le 19/06/2020 à 14:58, Pascal Baltazar a écrit :

which Max version are you using ?

on Max 7.3.5 I don't have the problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OSSIA/libossia/issues/559#issuecomment-646621569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2MWAMA7HXPEVTHXHCGLL3RXNOHDANCNFSM4OCOQ3KA.

avilleret commented 4 years ago

I can't reproduce it with 69488a84 Can you try this commit @fxw-fxw ? It's on a not-yet merged branch that might contains other weird bug but if it fixes this one, at least it is a good point...

bltzr commented 4 years ago

I’m not 200% sure, but can you try add a parameter at the root (i.e. not under a model), here it seems to solve the problem

bltzr commented 4 years ago

(of course, it it does solve the problem, that still remains a bug, but at least you have a way to work it around...)

avilleret commented 4 years ago

I can't reproduce it with ossia-max 1.0.4 and Score. Where did you noticed doublon in the namespace ? I didn't not experienced doublon neither in Max (by issuing the [namespace( message to [ossia.device]) nor in Score (tested with 2.5.2)

bltzr commented 4 years ago

I tried a few times before it appeared.

Also you have to save the patcher and re-open it (without quitting Max or something like this...)

bltzr commented 4 years ago

workaround by @fxw-fxw :


----------begin_max5_patcher----------
2008.3oc6bs0aiaiE94jeEBpu5XPRQRQ09TmYAJPwLK518gEKFTDPay3no5h
qtj3zh9eeIOTRiriuH6PmL6.4GbroH44b9N2ojyec8U9yxWqJ889duO4c0U+
00WcELjYfqZ99U9ox0ySjkvz7SUkkxkJ+I1qUoVWAiWNuHdUkWoJagW9BO05
U4kJu7x4+Qsp3oIdMWegJQUoGeQ6FjUmlWWoGD1dbyn1gpdZkxxa99d+Vykh
W.zKe1mugwa2k6xypJi+SX1X7TVDCK3QsuZlzJY076iyVdagZdkceYQjogbN
mRQDbXPDkGNwCSCmhl3QXb3O3onNhq413rVlkzi3YxTf39+XQrLw2bg+95qM
uMYf.al5QsL8LbcdhFGmIyVdh.FrjcAZTp+ohGHwT1DOd..Gj8AG3yPnOh0j
FSVntSVmTYronDlGCosoJikSWndHdtx6GWmK6Lt1iwmGQKLl2PtvnSfewFcg
hmCxBzTD7hyXbFFEELwiFR+JvBTqATEI4O5BvKf4eXbgEHzteXDJhwHLMtPC
L1dLp6s81i3VcebIvbphcKwj8JwS1iTiQX+Szb.KXFIlGdD4tYvR4Csbw28O
M7wFRgm+OXd669Wl209H1Q79M2AZI4xENMHU3oZmfYV+Gb.FGnARgwpQLbqF
XF9IwYamNDX.y3ahJk40EyakiVSauuPnEpxp3LYUbdV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NJiCom1N49Fu4HdII9A0z7Ye1bXjuUoiiB
DDPyJ3Bg8fNDAbLZqzwOqhGczDHJIDlsyPoM6yqUl7MOp3clTxFkev6Xpa0D
m4gWgOwxkbiC+QKww0Ge0404rqLdZteg+TgRkc3tlO+f1mmBoS8i4rPpMTuN
OICxhi0ki.plP52VmCYi9Xo4bQ9ZTY.UrAKiYp7BbTvcmDz2bZisKn2EAW0K
INys6WdsiYvMVxkIgLYeIj2UoF6OC7PSdeIChZuGtldoObHzcv9uNcT2iAIe
Eyfu+IY1IifHRDbKb0QeBCBHgMcQgwAtmAGPZxcwgP3x.yKHbIzCs6YtOpya
jUIOY1SPQ5tOAGVNRyb.TxivQL2yi+WURR9iG+342LNAKBgDGLH.ggAEen.K
fLQ50vnWNAf7+iBPc5LUwOoqr3jMQNTVe2wf4m.nhNFUOiDe4c3x4KBcVFm8
Vr5soM3SLqKkyoegjTlPDd77sN818sRN+2c24vtJdkxckPU3cyM2r8wl8JWF
kVIEhgCQUmvlwP1yHiSh3DxqWoQahDGNvyE8LdFHVrqfecs2Pgy+FJvn+8U3
M.FQi3nKvQxHL5BXLXDFcALRGgQW.irQXzEvHeDFcALFNBit.FEivnKfwnQX
7LgQ6iBwq4gmtuZ9GN2N1AJ.Finf4Y44xchDOSbYn.ZeuT3oifwGxAxWd5Or
QkWziX3TEtIm0sA3U2Bv0s99sJLELBSCAldCac8rQvvtGbPL7rjB7QyiM6aD
LxFs1FBLwGgog.SgivzPfIwHLsGX5h1EwV3j8I229vaz9CL.Z26hU03PDqsX
xPBhaSTf4gD6yLg.Akz6taCdkb0wtQ38T4ePVk68AyuTAWo2qJjYkIxJGd+P
qyNxcq8P6m8WuO7eLCyFVtp4mtI7OViq+6q+e.tHsuC
-----------end_max5_patcher-----------
avilleret commented 4 years ago

I can't reproduce it with Max 8.1.5 and ossia-max 1.0.4 😟 even if I open and close the patcher several times within the same max instance

avilleret commented 4 years ago

What was your overdrive setting when experiencing this issue ?

avilleret commented 3 years ago

@fxw-fxw could you test with v1.1.0-a2 ?

avilleret commented 3 years ago

@bltzr you could reproduce this issue iirc ? could you give it a try with latest updates ?