One interesting Deadline thing I do want to mention (but I am at this stage unsure if it really is like this or an illusion), it looks as if these errors only appear on workers that have a secondary worker process launched (and render on this).
(i.e. -> Worker -> launch new Worker Instance)
I read somewhere some of these errors could be happening if the machine is running out of memory, just wondering if there may be a bug where a new worker instance is not getting access to certain memory?
I have a Maya job that renders out a frame range, lets say 1-5. I then have a frame dependent Nuke job that will render out a new frame from Nuke based on the frame rendered from Maya. In my Nuke script the read node reads from where the Maya render is. The issue occurs when for example frame 2 from the Maya job is completed before frame 1, the Nuke job tries to render frame 2 (which by now exists), but still fails because frame 1 does not exist.
How is the nuke comp made? Is it a standard one that has its input changed by an event, or is it created by the event? Either way, does it need to load in an image sequence? If each task is only ever rendering a single task, can it not load just the single frame in the read node?
We did figure out a work around which also lead us to discover that this is what was causing a pause on every 18th frame in Nuke when playing back. The work around is to launch Nuke first not using SG Desktop and then launch Nuke with SG Desktop. No error and we do not get the every 18th frame pause happening now.
From what I've read on some other forums, there are some issues with other drives or removable media interfering however I've disabled all other drives in bios, leaving just CD/DVD and the Hard Disk but still no luck. Any advice on how I can reconcile these errors and wipe the disk?
REALLY old computers (and old DBAN disks) may need to address the hard drive as /dev/hda rather than /dev/sda. Just depends on how new/old the software you're using is, and how old the hardware is, since that can trigger the kernel to use the older hdX device names.
When we call the API normally it works ok, but we do have some issues when there's a lot of output sometimes. And we can't really catch that error, since it occurs in the Nuke.Build script, and most of the messages outputted that way works fine.
And if we build the project before running the tests, it also works fine, so it could be a edge case scenario where we run dotnet test before having built the project (which should in turn build the project if it needs to)
The recent release of Nuke 13 brought along the update from Python 2 to Python 3. After all, Python 2 has been officially dead since January 2020, and Python 3 has been around since 2008, so that update was due.
Python 3 comes with quite a few improvements and a few changes that can easily break scripts written for Python 2.
There are plenty of resources online explaining how to port older code to Py3 (for example: , , ), but I figured I would do a little write-up of the most common errors I encounter as I upgrade my own tools to be Nuke 13 compatible.
In Python 2, while range() is working, it was somewhat inefficient, and when I was learning Python a decade ago, xrange() was recommended, as it was more efficient. I have used xrange quite extensively.
In Python 3, they put the optimizations of xrange and put them directly in range, then removed xrange. The fix is to replace every use of xrange() by range(). It will still work in py2, albeit slightly less efficiently.
Python 2 has a few object types to deal with words: basestrings, strings, Unicode. It also stored binary data as strings. Python 3 threw away the differences and now has a single string class, plus a new binary class (bytes). Believe it or not, dealing with different types of strings, particularly mixed-use of Unicode and strings, was one thing that gave me the biggest headaches in Python 2, so this is a change I welcome with open arms.
Sadly this is likely going to affect quite a few scripts that performed node placement, as it was a fairly common pattern to divide the size of the node by 2 to get its center, and setXYpos methods error if you give them float values. This is what is breaking nukescripts/psd.py, lines 81 and 135 for example. Hope the foundry fixes that one.
it will be great if you make a video as a tutorial, i tried a few times but it didnt work for me, i never worked with Python before, so step by step tutorial would be very helpful for people like me.
thanks for the post ?
Seems to be some larger issue though. Perhaps related to relative imports? Not expecting personalized tech support or anything, but curious if you have any insights. Here the error in the script editor when Nuke Studio launches:
Currently you have JavaScript disabled. In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page. Click here for instructions on how to enable JavaScript in your browser.
This isn't really a fix to your problem, but i downloaded DBAN 2.2.8 iso and burned that to a disk. disabled secure boot and enabled the CSE or whatever options, and it boots and runs fine. the only problem i run into is I am unable to enter manual/interactive mode because i get an error saying DBAN may be missing drivers, and when i run autonuke it runs fine, but i've waited for about 6 hours for it to run just to have it spit that same error out again after. not sure what the problem is, but i'm really hoping somebody has an answer for all this.
I am getting the same error message, "cat: can't open ' /proc/cmdline': No such file or directory." I find it doubtful it is an optical disc problem because I have burned multiple copies from multiple different spindiles on machines with different burners and I keep getting the same error. I think it is something in the machine I am trying to wipe, but after changing away the UEFI and secure boot settings, I can say it doesn't seem to be that either. We could really use a developer or other tech support specialist's help to solve this.
Hi All!
I have a HP EliteBook just as "1rosomak", a HP EliteBook 840 G3. I too set the bios with Legacy mode enabled, and secure boot disabled. I then downloaded the DBAN 2.2.8 version and installed it with Rufus on to a USB drive and it loaded perfectly.
Doesn't look like DBAN is being supported anymore, which is a shame. I've had similar trouble try to get KILLDISK to work. I'm wondering if there is a deliberate effort by Blannco and/or Microsoft to eliminate all kinds of Hard Drive Erase Freeware on the internet.
As with any other application, good logging greatly reduces the time to detect the source of errors and fix them quickly. NUKE integrates with Serilog and prepares a console and file logger for you. Most functions with side effects will automatically log their performed actions. This also includes invocations of CLI tools. Of course, you can also add your own log messages:
Based on your IDE and CI/CD service, the console sink is automatically configured with the best-looking themes. When your terminal supports ANSI colors (TERM=xterm), an ANSI theme is chosen. Otherwise, a simple system-color theme is used.
With the Ideolog plugin for JetBrains Rider you can view and inspect log files more comfortably. It automatically highlights messages according to their log level, allows collapsing irrelevant messages based on search terms, and will enable navigation for exception stack traces.
With the comparison tool of your choice, you can then select two files and compare them. For instance, when you remove the debug message and add another warning message, the comparison tool will show the following:
Hi all, I'm trying to follow the Django Girls tutorial to learn Django and set up a blog but I think I messed up my pythonanywhere account. I'm getting a whole lot of error messages, I think the most important one is when I go to my "Web app setup" page. In Code: What Your Site is Running, it says Source Code: /home/joannaraygoza/joannaraygoza.pythonanywhere.com This directory does not exist. Sure enough, when I go to home/joannaraygoza, there is no file or folder called "joannaraygoza.pythonanywhere.com". Maybe I deleted it somehow? Do I need to start all over with a whole new account, or is there a way to fix this?
So I tried it with the --nuke option, and got another error. The most important part of that error seems to be: "Removing joannaraygoza.pythonanywhere.com...ERROR: You cannot remove the active environment ('joannaraygoza.pythonanywhere.com').Either switch to another environment, or run 'deactivate'."
You're getting that message because the virtualenv that the script wants to delete is activated and it cannot delete an active virtualenv. So follow the advice in the message and deactivate the environment before running the script again.
That sounds like you need to configure your PythonAnywhere account and your github account so that you can access your github account from PythonAnywhere. There is documentation on github about how to do that.
/home/Magnify/.virtualenvs/myawesomeproject/bin/python: No module named virtualenvwrappervirtualenvwrapper.sh: There was a problem running the initialization hooks.If Python could not import the module virtualenvwrapper.hook_loader,check that virtualenvwrapper has been installed forVIRTUALENVWRAPPER_PYTHON=/home/Magnify/.virtualenvs/myawesomeproject/bin/python and that PATH isset properly.
It turns out we can. The abstract class OutputSink has an internal field called SevereMessages, which is where warnings and errors are copied to as the build is running. How do you get an OutputSink? The Logger class has an internal static field called OutputSink. Given all these fields are internal, using reflection seemed the simplest approach to getting these messages out of there:
You can submit jobs from within Nuke by installing the integrated submission script, or you can submit them from the Monitor. The instructions for installing the integrated submission script can be found further down this page.
4a15465005