Getting NaN height error in ivy videojs for ember-cli - ember-cli

I have a video set like in example:
autoresize=true naturalWidth=1280 naturalHeight=720
which is actual size but getting the error below.
Even if I take the size off and leave at autoresize=true still get an error.
VIDEOJS: ERROR: Improper value "NaN" supplied for for height
Can anyone help?

Related

What is causing this Flutter image_picker error

I remember having this issue once in the past but not how I fixed it. I have a fairly simple function to allow users to update their profile picture but it fails at the first step final XFile? image = await ImagePicker().pickImage(source: ImageSource.gallery);
Here is the first error:
2022-08-13 13:21:44.215616+0300 Runner[3940:211672] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)""
2022-08-13 13:21:44.230196+0300 Runner[3940:211673] [PAAccessLogger] Failed to log access with error: access=<PATCCAccess 0x2806da5b0> accessor:<<PAApplication 0x282ab0500 identifierType:auditToken identifier:{pid:3940, version:11538}>> identifier:EF438868-FF12-4741-9ACF-88D57992D9BE kind:intervalEnd timestampAdjustment:0 tccService:kTCCServicePhotos, error=Error Domain=PAErrorDomain Code=10 "Possibly incomplete access interval automatically ended by daemon"
The only setup needed in iOS for this package is adding permissions in the info.plist file which I've done. That is also how the function is shown in the pub package so there's no reason it shouldn't work. The error I will show below implies that I'm using something like maxWidth, maxHeight, or trying to compress the image, but I'm not using any of those parameters. It also seems like the image file is referred to as null, which is why I think the above error is the issue. Any other similar questions I've seen had no answers and most were using those parameters. I appreciate any ideas.
Error 2:
2022-08-13 13:21:44.243912+0300 Runner[3940:211261] image_picker: compressing is not supported for type (null). Returning the image with original quality
Of course, I wanted to see what I could do to get around this until a solution is found so I changed the image source to the camera instead of the gallery. Now there is no error from image_picker, but the next step is creating an Image from the XFile? Image.file(File(image!.path)). I have to use a null check on the XFile but I get an error saying it is null. That mean although no error is given by image_picker, it's not actually returning an image.

Unity Issue an WebGL: FSBTool ERROR: Failed with error code 80004001

This is only with WebGL
Errors during import of AudioClip Assets/Audio/background.wav:
FSBTool ERROR: Failed with error code 80004001
FSBTool ERROR: Failed encoding audio clip '/Assets/Audio/background.wav' to AAC. Possibly the file is too short. Try to append silence such that the length becomes greater than 256 samples.
I can't add the audio click on WebGL, but on others platforms work perfectly.
I can't add the audio click
Please help.
The error tells you that the Audio-Sequence is too short. Try adding silence (as suggested) to increase the samples of your file.

How to Troubleshoot Dexie bound on IDBKeyRange Error

I'm using Dexie.js version 3.0.3-rc.3 in a Vue JS project and I occasionally run into this exception in Chrome (86):
Failed to execute 'bound' on 'IDBKeyRange': The parameter is not a valid key.↵ DataError: Failed to execute 'bound' on 'IDBKeyRange': The parameter is not a valid key.
Here's a screenshot of the full error:
I'm fairly certain the problem lies with something in my data being undefined, but I'm trying to find a good way to troubleshoot this. I paused the Chrome dev tools on exceptions and inspected the code around this particular part of Dexie, but it doesn't reveal what data was used to make this exception occur.
Does anyone have any suggestions on how to find out what's actually wrong? It feels a bit like a needle in a haystack.
== Update ==
Below is the full call stack:
Try inspecting the call stack. I know it can be long until you reach a frame within your application code, but the failing call should be there!

GTK Scrollbar Error

I'm using Lubuntu 13.10 and try to create a scrollable text-view. I copy the source code from the link below and run it, and I got a strange debug message when I use the scrollbar to scroll down. I didn't get the message if I don't use the scrollbar to scroll.
error message:
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property GtkRange::activate-slider' of typegboolean' from rc file value "((GString*) 0x90672a0)" of type `GString'
source:
GTK and scrolling text view
my code:
http://pastebin.com/KnPY4jA0
debug message:
http://imgur.com/pJ0L9u8
The program runs fine even though it display this debug message, but I hope to know what is causing this debug message and how to solve it.
That happened to me using lubuntu 13.10. It fails to read a theme-related boolean value related to the sliders.
You have to locate the 'gtkrc' file of the theme you're using and substitute the (I assume) textual boolean value with a '0' or a '1', depending on what you've got in the file, that is:
GtkScrollbar::activate-slider=FALSE
should be:
GtkScrollbar::activate-slider=0
I found the gtkrc file in /usr/share/themes/Lubuntu-default/gtk-2.0/gtkrc, so yours will probably be in /usr/share/themes/***/gtk-2.0/gtkrc. Check your desktop settings to find which theme you're using.

AVAudioPlayer initialization: error code -50

I recently ran into a problem that I couldn't find discussed anywhere on the internet - I was initializing an AVAudioPlayer to play an audio file, and getting the following error:
Error Domain=NSOSStatusErrorDomain Code=-50 "Operation could not be completed. (OSStatus error -50.)
As it turns out, I had made a mistake creating my NSURL to send to the audio player init method, resulting in the NSURL object being null. Stupid mistake, pretty easy to find when debugging, but I thought I'd list it here just in case someone else does the same thing.
“ OSStatus error -50” means paramErr, an old-style Mac error code indicating a bad parameter.
Regarding the comment from Brynjar:
The Apple NSURL Class Reference describing URLWithString states
To create NSURL objects for file system paths, use
fileURLWithPath:isDirectory: instead.
I have found that using URLWithString for file system paths generates the error reported by pix0r and therefore could be another explanation for error code = -50
Make sure your NSURL is valid, or you will get error code -50 "Operation could not be completed".
I'm adding my version of the issue and solution because I encountered the error with a print statement. I think it was related to string interpolation and or trying to forcibly print nsattributedstrings. I attempted to do the following.
print("THE ARRAY COUNT IS : \(unwrappedResults.count)\n\n\n
THE FULL ARRAY IS THE FIRST WHOLE RESULT IS: \(unwrappedResults)\n\n\n \ (unwrappedResults[0])\n
THE ATTRIBUTED FULL TEXT IS: \(unwrappedResults[0].attributedFullText)\n\n\n
THE ATTRIBUTED PRIMARY TEXT IS: \(unwrappedResults[0].attributedPrimaryText)\n\n\n
THE ATTRIBUTED SECONDARY TEXT IS: \(unwrappedResults[0].attributedSecondaryText)\n\n\n")
something about this was incorrect and no print would occur. I would receive the error following errors in my console.
boringssl_metrics_log_metric_block_invoke(131) Failed to log metrics
&
boringssl_metrics_log_metric_block_invoke(133) Error Domain=NSOSStatusErrorDomain Code=-50 "Unsupported xpc type"
UserInfo={NSDescription=Unsupported xpc type}
I fixed this issue by changing the way I unwrapped/the variables values. Fundamentally I think I was trying to print something using string interpolation that could not be printed and that is what caused this error.