Magento2 : Error The “Is New” attribute value is empty. Set the attribute and try again

Getting error Magento2: Error The “Is New” attribute value is empty. Set the attribute and try again. when adding new product category

Warning: ltrim() expects parameter 1 to be string, array given in /home/magentoiknoortec/public_html/vendor/magento/module-catalog/Model/Category/FileInfo.php on line 136

enter image description here

“Detection Error on Storage Device” on dual booted Windows 10 machine


Problem

Previously I went into the potential broken storage issues and (possibly) resolved with the solution provided in this answer.

However, when I booted into Windows 10 system today, it first forcibly rebooted a couple of times and made updates and then it ran into the “Detection Error in Storage Device” error. This error somehow disappears after I cut the power and rebooted about 2-3 times. I am afraid this error would come back some day and cause my research data/code loss.

However, I had no clues about what exactly this means even after reading this question.

My questions are

  • What I could do to make sure all my data stored in this machine is secure.
  • How do I fix this issue (if possible).

BTW, the model of my machine is Thinkpad X270 which I bought in Sep. 2017. It worked fine for about 16 months but somehow ran into these storage errors this March.

Could someone help me, thank you in advance!

Pycharm debugger throws Bad file descriptor error when using dask multiprocessing

I am using the most lightweight/simple dask multiprocessing which is the non-cluster local Client:

from distributed import Client client = Client() 

Even so: the first instance of invoking dask.bag.compute() results in the following:

Connected to pydev debugger (build 191.7141.48) Traceback (most recent call last):   File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 383, in _on_run     r = self.sock.recv(1024) OSError: [Errno 9] Bad file descriptor Traceback (most recent call last):   File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 383, in _on_run     r = self.sock.recv(1024) OSError: [Errno 9] Bad file descriptor Traceback (most recent call last):   File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 383, in _on_run     r = self.sock.recv(1024) OSError: [Errno 9] Bad file descriptor 

The result is that you can more or less flip a coin on whether the program will proceed or error out with a communication exception. Any advice on this?

There will be even more issues/complications when trying to use a LocalCluster mode -but that will be saved for a different question.

Android Terminal error (file 64-Bit ELF)

So, I need to have the program ‘objdump’ on my phone thought I can just copy it from my Linux box to my phone and everything will be fine. But after I copied it with adb in the terminal it says

sh: /system/bin/objdump: not executable: 64-bit ELF file 

What I have tried:

chmod 755 /system/bin/objdump 

But that doesn’t seem to fix the problem. Please help.

How to solve C# Visual Studio clickonce installation error on setup deployment?

I have published a C# project in my computer using the visual studio wizard, choosing the options of installing from a cd-rom and not looking for updates.

This project I have been carring out in a pen drive and using it to install the program in other computers.

It has been working fine but now one workstation was recently formatted and the setup application is giving the following error message:

Application download did not succeed. Check your network connection, or contact your system administrator or network service provider. 

I am not sure what download the message refers to because it is not supposed to download anything, the complete desktop C# program is there, it has only to install from click once menu, as I said I chose installation from a CD-Rom, and not to look for updates options, am I missing something here?

The setup I have is working fine in my machine, and it was working fine so far, what can it be?

Windows 10 – Critical Error | 0xc0000001 | nvstor.sys

Upon booting I am met with this error:

After multiple tries, the operating system on your pc failed to start, so it needs to be repaired Error code: 0xc0000001

So I tried to recovery > Safe Mode I am met with: Critical driver nvstor.sys is missing or contains errors.

Then I tried to run a repair and it asked for my microsoft account password and it says it’s incorrect. I know is right and I have entered it over 50 times and checked the correct password in LastPass and it matches.

Trying to install Ubuntu 18.04 from the MS Store – get error “Something happened on our end…”

I am running Windows 10.0.17134 with the Windows Linux Subsystem (or whatever it’s called) installed. When I attempt to install Ubuntu 18.04, the MS store tells me “Try that again” “Something happened on our end. Waiting a bit might help.”

However, I can install the older version from 2017, which I’m sure you all know isn’t good enough.

Spoiler Alert: waiting does nothing. Neither does rebooting, nor resetting the store to defaults, nor does MS Store troubleshooter (I was getting desperate, despite the fact that a Windows troubleshooter has never done anything, ever).

Anyone have any potential solutions? Workarounds?

apt-get / dpkg broken with error processing package ca-certificates-java

I can not install/pruge/reinstall or do anything using apt-get anymore. E.g. when I do:

sudo apt-get autoremove 

I get:

Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed. Need to get 0 B/12.3 kB of archives. After this operation, 0 B of additional disk space will be used. dpkg: error processing package ca-certificates-java (--configure):  package is in a very bad inconsistent state; you should  reinstall it before attempting configuration dpkg: dependency problems prevent configuration of openjdk-11-jre-headless:amd64:  openjdk-11-jre-headless:amd64 depends on ca-certificates-java; however:   Package ca-certificates-java is not configured yet.  dpkg: error processing package openjdk-11-jre-headless:amd64 (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Errors were encountered while processing:  ca-certificates-java  openjdk-11-jre-headless:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) 

Doing:

sudo apt-get purge openjdk-11-jre-headless 

or

sudo apt-get purge ca-certificate-java 

does also not work and leads to the same issue. Is there remedy for my situation?

MySql Error: Can’t update table in stored function/trigger because it is already used by statement which invoked this stored function/trigger

Quiero realizar un trigger que elimine el registro de una tabla llamada stock al momento que en la tabla cotizacion el campo estatus cambie a 1 tengo el siguiente codigo

DELIMITER $ $

CREATE TRIGGER elimina_maquina BEFORE INSERT ON cotizacion FOR EACH ROW DELETE a1, a2 FROM cotizacion AS a1 INNER JOIN stock AS a2 WHERE a1.estatus=1 AND a1.id_serie=a2.id_serie; $ $ DELIMITER ;

pero el error que me muestra es el del titulo

MySql Error: Can’t update table in stored function/trigger because it is already used by statement which invoked this stored function/trigger

aqui tengo una captura de la relacion de la tablaintroducir la descripción de la imagen aquí

Handling Result and error Enum in Swift

I’m working on a new API written in Swift 5 and I wanted to play with the new Result. I wanted to know what you guys think about this syntax:

enum NetworkRequestError: Error {     case hostNotAvailable     case accountNotAvailable      func finish<T>() -> Result<T, NetworkRequestError> {         return .failure(self)     } }  public class NetworkClient: TestableAPI {     var host: String?      func fetch(result: @escaping (Result<(any: [Any], any1: [Any]), NetworkRequestError>) -> Void) {         guard host != nil else {             result(NetworkRequestError.hostNotAvailable.finish())             return         }     } }  

Thanks for your review !