I have been working like this for a while, but you always have to
remamber to add and remove the "reloads"... Then I used the debugger of
PyDev a while, it does automatic reloading once it was imported in a
running script. But sometimes I had the case, that some variables ware
not refrehed correctly and I was chasing ghost bugs, so I reverted to
the Control+W workflow.
On 09/23/2015 10:53 PM, Johannes Hezer wrote:
Hey everyone,
I did not know about this...
Interesting...
I got into the habit to write my menu entries
like this
add_command('bla','import x\nreload(x)\nx.x()')
Not nice but it is a safes some minutes here and there
I keep most stuff out of the init and menu anyway.
I quite like that the script editor now remembers.
If I need more modules to be reloaded I just have an import followed
by a reload in there so all I am working on can be reloaded easily...
I wonder is nobody working like this ?!
I have to try ctrl+w next thing tomorrow morning...
cheers
johannes
Am 9/23/15 um 13:36 PM schrieb Declan Slevin:
I've updated the bug with your new comments, and added my own to put
the emphasis on refreshing the python environment without clearing
the Script Editor history!
Cheers,
Declan
On 23 September 2015 at 12:12, Sebastian Elsner|RISE
<[email protected]> wrote:
Thanks! Please fix soon (tho I guess this is an architectural
thing, that is not that easy to fix)! You could also keep the
current behaviour and just add another action for the old one, I
actually kind of like the new behaviour, but it should not
replace the old one.
*/"clear the python script editor environment as in Nuke 8"
/*This sounds a bit ambiguous to me, so I' like to clarify: the
new feature of Nuke 9, which keeps the *text contents* of the
script editor is still highly appreciated/*!*/
*/
/*
On 09/23/2015 12:05 PM, Declan Slevin wrote:
Hi guys,
This issue has been logged, under */Bug 46786 - [Regression]
ctrl+w: doesn't close Nuke and re open anymore or clear the
python script editor environment as in Nuke 8./*
*/
/*
Sebastian, I will add your comments to the bug (there are
already comments from you, Frank!),
Cheers,
Declan
On 23 September 2015 at 00:21, Frank Rueter|OHUfx
<[email protected]> wrote:
Finally sombody who is annoyed with this as well!!!
Yes, I find the new behaviour annoying for the same reason.
In fact, I find it faulty as the "fresh" script will still
have the potentially contaminated python environment from
sessions in the script editor.
I have talked to the Foundry about this but not sure if it
ever became a proper bug report.
On 23/09/15 2:06 am, Sebastian Elsner|RISE wrote:
Hey,
when pressing Control + W in Nuke 8, the application is
restarted and it re-reads the python scripts. In Nuke 9
only the Nuke script is closed and reloading does not
happen any more. Did anyone stumble across this issue and
maybe solved it? I was using this a lot to reload while
developing...
Cheers
Sebastian
--
_*check out pointcloud9.com*_ <http://pointcloud9.com/>
**Sebastian Elsner - Pipeline Technical Director - RISE*
t: +49 30 20180300 <tel:%2B49%2030%2020180300> __
<mailto:[email protected]>[email protected] _
f: +49 30 61651074 <tel:%2B49%2030%2061651074>
_www.risefx.com_*
*RISE FX GmbH*
*Schlesische Straße 28, 10997 Berlin
An der Schanz 1A, 50735 Köln
Büchsenstraße 20, 70174 Stuttgart
Gumpendorferstraße 55, 1060 Wien
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B*
_______________________________________________
Nuke-python mailing list
[email protected]
<mailto:[email protected]>,http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
ohufxLogo 50x50 <http://www.ohufx.com> *vfx compositing
<http://ohufx.com/index.php/vfx-compositing> | *workflow
customisation and consulting
<http://ohufx.com/index.php/vfx-customising>* *
_______________________________________________
Nuke-python mailing list
[email protected]
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
*Declan Slevin •Nuke & Hiero QA Engineer*
*• The Foundry•*
*5 Golden Square, London, W1F 9HT*
*Tel: +44 (0)20 7479 4350 <tel:%2B44%20%280%2920%207479%204350>
• Web: www.thefoundry.co.uk*
The Foundry Visionmongers Ltd.•Registered in England and Wales
No: 4642027
_______________________________________________
Nuke-python mailing list
[email protected]
<mailto:[email protected]>,http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
_*check out pointcloud9.com*_ <http://pointcloud9.com/>
**Sebastian Elsner - Pipeline Technical Director - RISE*
t: +49 30 20180300 <tel:%2B49%2030%2020180300> __
<mailto:[email protected]>[email protected] _
f: +49 30 61651074 <tel:%2B49%2030%2061651074> _www.risefx.com_*
*RISE FX GmbH*
*Schlesische Straße 28, 10997 Berlin
An der Schanz 1A, 50735 Köln
Büchsenstraße 20, 70174 Stuttgart
Gumpendorferstraße 55, 1060 Wien
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B*
_______________________________________________
Nuke-python mailing list
[email protected]
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
*Declan Slevin •Nuke & Hiero QA Engineer*
*• The Foundry•*
*5 Golden Square, London, W1F 9HT*
*Tel: +44 (0)20 7479 4350 • Web: www.thefoundry.co.uk*
The Foundry Visionmongers Ltd.•Registered in England and Wales
No: 4642027
_______________________________________________
Nuke-python mailing list
[email protected],http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
____ ESET 12296 (20150923) ____
The message was checked by ESET Mail Security.
--
STUDIO RAKETE GmbH
Johannes Hezer, Compositing TD & Stereoscopic SV
Schomburgstr. 120
D - 22767 Hamburg
[email protected]
Tel:+49 (0)40 - 380 375 69 - 0
Fax:+49 (0)40 - 380 375 69 - 99
------------------------------------------------------
Pflichtangaben laut Handelsgesetzbuch und GmbH-Gesetz:
STUDIO RAKETE GmbH
Schomburgstr. 120 D - 22767 Hamburg
www.studiorakete.de /[email protected]
Geschaeftsfuehrer: Jana Bohl
Die Gesellschaft ist eingetragen im Handelregister des
Amtsgerichts Hamburg unter der Nummer HR B 95660
USt.-ID Nr.: DE 245787817
____ ESET 12298 (20150923) ____
The message was checked by ESET Mail Security.
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
_*check out pointcloud9.com*_ <http://pointcloud9.com/>
**Sebastian Elsner - Pipeline Technical Director - RISE*
t: +49 30 20180300 [email protected] _ <mailto:[email protected]>
f: +49 30 61651074 _www.risefx.com_ <http://www.risefx.com/>*
*RISE FX GmbH*
*Schlesische Straße 28, 10997 Berlin
An der Schanz 1A, 50735 Köln
Büchsenstraße 20, 70174 Stuttgart
Gumpendorferstraße 55, 1060 Wien
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B*
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python