Re: [Maya-Python] Unload/reload plugin not refreshing correctly

2018-08-23 Thread fruityfrank
Le mercredi 22 août 2018 18:30:22 UTC-4, Michał Frątczak a écrit :
> I didn't find solution, sadly
> 
> 
> czw., 23 sie 2018, 00:27 użytkownik   napisał:
> So no working solution, really (based on your thread) ? How did you figure 
> this out ?
> 
> 
> 
> 
> 
> 
> 
> Le mercredi 22 août 2018 18:16:34 UTC-4, vince touache a écrit :
> 
> > hahaha I just found your thread via google, like 2 seconds ago ! Will have 
> > a look at it, thanks
> 
> > 
> 
> > Le mercredi 22 août 2018 18:15:30 UTC-4, Michał Frątczak a écrit :
> 
> > > I tried to link to similar post of mine, search this group for 
> 
> > > maya does not update recompilled plugin under linux
> 
> > > 
> 
> > > 
> 
> > > czw., 23 sie 2018, 00:11 użytkownik Michał Frątczak  
> > > napisał:
> 
> > > 
> 
> > > https://groups.google.com/forum/m/#!searchin/python_inside_maya/Plugin/python_inside_maya/QP7twlg54C4
> 
> > > 
> 
> > > 
> 
> > > czw., 23 sie 2018, 00:06 użytkownik   napisał:
> 
> > > Hi, 
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > I'm compiling a plugin in a different environment from usually, and I'm 
> > > experiencing some weird behaviors : 
> 
> > > 
> 
> > > What I usually do when I modify my plugin is (in a scene where the plugin 
> > > is loaded already) : 
> 
> > > 
> 
> > > - delete any node from the plugin
> 
> > > 
> 
> > > - flush undo
> 
> > > 
> 
> > > - unload the plugin
> 
> > > 
> 
> > > - reload the plugin
> 
> > > 
> 
> > > - create my node
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > What happens here is my plugin won't be updated, even after recompiling / 
> > > unloading-reloading it. If I restart maya, however, it will reload my 
> > > plugin correctly.
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > I assume maya is keeping the .so in memory somehow (maybe creating an nfs 
> > > copy ? but I couldn't find it), but I wonder how to clear it, and why it 
> > > never happened to me before...
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > Any idea ?
> 
> > > 
> 
> > > Thanks
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > (I tried with maya 2016, 2017, 2018, on linux)
> 
> > > 
> 
> > > 
> 
> > > 
> 
> > > -- 
> 
> > > 
> 
> > > You received this message because you are subscribed to the Google Groups 
> > > "Python Programming for Autodesk Maya" group.
> 
> > > 
> 
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to python_inside_maya+unsubscr...@googlegroups.com.
> 
> > > 
> 
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/python_inside_maya/0fe18624-3ffa-4c99-869e-1fd2e3b368f8%40googlegroups.com.
> 
> > > 
> 
> > > For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to python_inside_maya+unsubscr...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/python_inside_maya/150bf27a-eed1-47c3-aa2c-81bd5ab253a0%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.

So apparently it has to do with my environment when I compile. I may have found 
a solution (or at least I wanna try it, as it looks really like magic to me !)
http://www.sonictk.com/runtime-compiled-c-in-maya/

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/3e9c8f59-88bf-4835-84f5-0569ea40668d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] Unload/reload plugin not refreshing correctly

2018-08-22 Thread Michał Frątczak
I didn't find solution, sadly

czw., 23 sie 2018, 00:27 użytkownik  napisał:

> So no working solution, really (based on your thread) ? How did you figure
> this out ?
>
>
>
> Le mercredi 22 août 2018 18:16:34 UTC-4, vince touache a écrit :
> > hahaha I just found your thread via google, like 2 seconds ago ! Will
> have a look at it, thanks
> >
> > Le mercredi 22 août 2018 18:15:30 UTC-4, Michał Frątczak a écrit :
> > > I tried to link to similar post of mine, search this group for
> > > maya does not update recompilled plugin under linux
> > >
> > >
> > > czw., 23 sie 2018, 00:11 użytkownik Michał Frątczak 
> napisał:
> > >
> > >
> https://groups.google.com/forum/m/#!searchin/python_inside_maya/Plugin/python_inside_maya/QP7twlg54C4
> > >
> > >
> > > czw., 23 sie 2018, 00:06 użytkownik   napisał:
> > > Hi,
> > >
> > >
> > >
> > > I'm compiling a plugin in a different environment from usually, and
> I'm experiencing some weird behaviors :
> > >
> > > What I usually do when I modify my plugin is (in a scene where the
> plugin is loaded already) :
> > >
> > > - delete any node from the plugin
> > >
> > > - flush undo
> > >
> > > - unload the plugin
> > >
> > > - reload the plugin
> > >
> > > - create my node
> > >
> > >
> > >
> > > What happens here is my plugin won't be updated, even after
> recompiling / unloading-reloading it. If I restart maya, however, it will
> reload my plugin correctly.
> > >
> > >
> > >
> > > I assume maya is keeping the .so in memory somehow (maybe creating an
> nfs copy ? but I couldn't find it), but I wonder how to clear it, and why
> it never happened to me before...
> > >
> > >
> > >
> > > Any idea ?
> > >
> > > Thanks
> > >
> > >
> > >
> > > (I tried with maya 2016, 2017, 2018, on linux)
> > >
> > >
> > >
> > > --
> > >
> > > You received this message because you are subscribed to the Google
> Groups "Python Programming for Autodesk Maya" group.
> > >
> > > To unsubscribe from this group and stop receiving emails from it, send
> an email to python_inside_maya+unsubscr...@googlegroups.com.
> > >
> > > To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/0fe18624-3ffa-4c99-869e-1fd2e3b368f8%40googlegroups.com
> .
> > >
> > > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/150bf27a-eed1-47c3-aa2c-81bd5ab253a0%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAN52XyJpcO4vPCPu%3D%2BguMPh8yq7fj21K-8cpN5ySGxiqqNDNxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] Unload/reload plugin not refreshing correctly

2018-08-22 Thread fruityfrank
So no working solution, really (based on your thread) ? How did you figure this 
out ?



Le mercredi 22 août 2018 18:16:34 UTC-4, vince touache a écrit :
> hahaha I just found your thread via google, like 2 seconds ago ! Will have a 
> look at it, thanks
> 
> Le mercredi 22 août 2018 18:15:30 UTC-4, Michał Frątczak a écrit :
> > I tried to link to similar post of mine, search this group for 
> > maya does not update recompilled plugin under linux
> > 
> > 
> > czw., 23 sie 2018, 00:11 użytkownik Michał Frątczak  
> > napisał:
> > 
> > https://groups.google.com/forum/m/#!searchin/python_inside_maya/Plugin/python_inside_maya/QP7twlg54C4
> > 
> > 
> > czw., 23 sie 2018, 00:06 użytkownik   napisał:
> > Hi, 
> > 
> > 
> > 
> > I'm compiling a plugin in a different environment from usually, and I'm 
> > experiencing some weird behaviors : 
> > 
> > What I usually do when I modify my plugin is (in a scene where the plugin 
> > is loaded already) : 
> > 
> > - delete any node from the plugin
> > 
> > - flush undo
> > 
> > - unload the plugin
> > 
> > - reload the plugin
> > 
> > - create my node
> > 
> > 
> > 
> > What happens here is my plugin won't be updated, even after recompiling / 
> > unloading-reloading it. If I restart maya, however, it will reload my 
> > plugin correctly.
> > 
> > 
> > 
> > I assume maya is keeping the .so in memory somehow (maybe creating an nfs 
> > copy ? but I couldn't find it), but I wonder how to clear it, and why it 
> > never happened to me before...
> > 
> > 
> > 
> > Any idea ?
> > 
> > Thanks
> > 
> > 
> > 
> > (I tried with maya 2016, 2017, 2018, on linux)
> > 
> > 
> > 
> > -- 
> > 
> > You received this message because you are subscribed to the Google Groups 
> > "Python Programming for Autodesk Maya" group.
> > 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to python_inside_maya+unsubscr...@googlegroups.com.
> > 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/python_inside_maya/0fe18624-3ffa-4c99-869e-1fd2e3b368f8%40googlegroups.com.
> > 
> > For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/150bf27a-eed1-47c3-aa2c-81bd5ab253a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] Unload/reload plugin not refreshing correctly

2018-08-22 Thread Michał Frątczak
I tried to link to similar post of mine, search this group for

maya does not update recompilled plugin under linux

czw., 23 sie 2018, 00:11 użytkownik Michał Frątczak 
napisał:

>
> https://groups.google.com/forum/m/#!searchin/python_inside_maya/Plugin/python_inside_maya/QP7twlg54C4
>
> czw., 23 sie 2018, 00:06 użytkownik  napisał:
>
>> Hi,
>>
>> I'm compiling a plugin in a different environment from usually, and I'm
>> experiencing some weird behaviors :
>> What I usually do when I modify my plugin is (in a scene where the plugin
>> is loaded already) :
>> - delete any node from the plugin
>> - flush undo
>> - unload the plugin
>> - reload the plugin
>> - create my node
>>
>> What happens here is my plugin won't be updated, even after recompiling /
>> unloading-reloading it. If I restart maya, however, it will reload my
>> plugin correctly.
>>
>> I assume maya is keeping the .so in memory somehow (maybe creating an nfs
>> copy ? but I couldn't find it), but I wonder how to clear it, and why it
>> never happened to me before...
>>
>> Any idea ?
>> Thanks
>>
>> (I tried with maya 2016, 2017, 2018, on linux)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to python_inside_maya+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/0fe18624-3ffa-4c99-869e-1fd2e3b368f8%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAN52XyJ-L3041PJOqtQmJo4h4j33dWm5GJahisAcCCQMkNd%2BLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] Unload/reload plugin not refreshing correctly

2018-08-22 Thread Michał Frątczak
https://groups.google.com/forum/m/#!searchin/python_inside_maya/Plugin/python_inside_maya/QP7twlg54C4

czw., 23 sie 2018, 00:06 użytkownik  napisał:

> Hi,
>
> I'm compiling a plugin in a different environment from usually, and I'm
> experiencing some weird behaviors :
> What I usually do when I modify my plugin is (in a scene where the plugin
> is loaded already) :
> - delete any node from the plugin
> - flush undo
> - unload the plugin
> - reload the plugin
> - create my node
>
> What happens here is my plugin won't be updated, even after recompiling /
> unloading-reloading it. If I restart maya, however, it will reload my
> plugin correctly.
>
> I assume maya is keeping the .so in memory somehow (maybe creating an nfs
> copy ? but I couldn't find it), but I wonder how to clear it, and why it
> never happened to me before...
>
> Any idea ?
> Thanks
>
> (I tried with maya 2016, 2017, 2018, on linux)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/0fe18624-3ffa-4c99-869e-1fd2e3b368f8%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAN52XyJBq3RU0Uz6vN527XqH8K%2BUuqBm98S4bDyyitJbPT-F4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.