TypeError in plugin 'gulp-webp-css' - gulp

I try to save changes in my code, but I have this issue:
[00:49:04] 'html' errored after 43 ms
[00:49:04] TypeError in plugin 'gulp-webp-css'
Message:
Cannot read property '0' of null
Details:
domainEmitter: [object Object]
domain: [object Object]
domainThrown: false
[00:49:04] 'default' errored after 124 ms
Here's the link to my gulpfile.js code - https://jsfiddle.net/yLo9b4na/
I tried to look for reasons for several hours, but did not succeed.
Has anyone encountered such a problem? I would be grateful for any help.

Usually it means that you have an img tag empty like this:
<img src="" />
By the way, it will crush webp even if it's commented.

Related

Hdevelop Deep Learning Code Error (User defined exception ('throw') (HDevelop error code: 21001))

I'm new to MVTec Halcon Deep Learning, I labelled my images and exported a hdict. file with MVTec Deep Learning Tool, then I tried to change some code of "classify_pill_defects_deep_learning_1_preprocess" Halcon example code, when it reached "preprocess_dl_dataset (DLDataset, DataDirectory, DLPreprocessParam, GenParam, DLDatasetFileName)" , there's error that display :
Unhandled program exception:
User defined exception ('throw') (HDevelop error code: 21001)
while calling 'throw' in procedure 'gen_dl_samples' line: 169.
User data:
['For image_id 1 the key \'image_label_id\' is missing. Missing keys can be ignored using the GenParam ignore_missing_labels.']
it says missing labels? but I checked that all images are labelled accordingly. Additionally, is ignoring missing keys ok? if yes how?
Thanks in advance !
I tried to understand how the code works but I'm new to it and the resources on internet is not that much. I'm expecting to know how to change the code and train my own deep learning model.

Object is possibly null in HTML - Angular 13

i am using latest version of angular and in one html file i am getting Object is possibly null when accessing a child property
for instance,
*ngFor="let child of parent.children"
it is complaining that children is possibly null.
its not just arrays either. in another spot it is complaining
parent.parent is possibly null
the weird thing is its only happening in one file. which leaves me to believe there is a problem with the file but its not telling me. its giving me these wierd errors instead
i am able to compile and run the app because i added "strictNullChecks": false to the tsconfig.json file. i can navigate to this page and it displays w/o error and everything on it works perfectly fine but it annoys me that visual studio code marks the file red as if there is an error.
does anyone have any ideas why this is happening?
this happens because the object is possibly null in your definition / assignment of the property. Can't say specifically why without seeing how the property is defined and assigned, but simplest / fairly universal fix is to use null safe operator:
*ngFor="let child of parent?.children"
I was initializing parent to null...
parent: IParent | null;
Once I removed | null the errors went away.

how to pass 4 parameters to function in dll using rundll32.exe

Good morning. Sorry to my bad English. Now I have encountered one problem. I have succeeded in executing a function with one parameter, but in case of several parameters, I failed. here is what I tried.
rundll32.exe "C:\Program Files\Windows Photo Viewer\PhotoViewer.dll", ImageView_FullScreen C:\Users\ADMIN\Documents\a.jpg // succeeded;
but I noticed that the exported function is imageview_fullscreenW, and the syntax requires 4 parameters. The 3rd parameter is the full path to the image and the other parameters are just ignored.
rundll32.exe "C:\Program Files\Windows Photo Viewer\PhotoViewer.dll", ImageView_FullScreenW 0 0 C:\Users\ADMIN\Documents\a.jpg 0 // failed;
So what's wrong with this? I am struggling with this problem for two hours! I will be really thankful if anyone finds an answer! thanks in advance.

Cause of boto3 error "An error occurred (Unavailable)...Tags could not be retrieved"?

I just started getting this error on a script that hasn't changed. Updating to boto3==1.4.3 had no effect. Doesn't look like throttling, does it? Not sure where to go with this one, any suggestions would be much appreciated.
File "/Library/Python/2.7/site-packages/botocore/client.py", line 251, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/Library/Python/2.7/site-packages/botocore/client.py", line 537, in _make_api_call
raise ClientError(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (Unavailable)
when calling the DescribeSecurityGroups operation (reached max retries: 4):
Tags could not be retrieved.
Edited to add: As noted in comment below, this is coming from a seemingly innocuous call to describe_security_groups().
Another update: OK, this was transient and is no longer happening. Le sigh. Maybe some timeout due to network issues or something. I'll leave it up on SO for now, in case someone sees this and has a flash of insight.

Uncaught TypeError: Cannot read property 'value' of null from virtuemart custom field

first of all, sorry for my bad English. I got some problem, and I need all of your help!!
I am trying to add custom fields in my product page, but when I select custom field from the list, it appears nothing in the screen and it adds up nothing to my product page. when I check the issue with chrome developer tools, it says
Uncaught TypeError: Cannot read property 'value' of null index.php:1917
Uncaught TypeError: Cannot read property'value' of null index.php:2180
(anonymous function) index.php:2180
e.resolveWith jquery.min.js:2
w jquery.min.js:4
d jquery.min.js:4.
at index.php
2179 function(data) {
2180 jQuery.each(data.value, function(index, value){
2181 jQuery("#custom_field").append(value);
2182 jQuery('#custom_field').trigger('sortupdate');
2183 });
});
Everything was working fine, before I tuned up my j-query easy plugins. I added one screenshot to my question. how can i solve this problem?
By the way, I am using Joomla! 2.5.9 and virtuemart 2.0.18a.
In advance Thanks for any help!!!
Asif
From the looks of this, it looks like data is undefined; wherever you pass data into the function, it's passing a null value into it. Check everywhere you call it; the problem will be found there.