terminal – Error in Virtual Box: Failed to open a session for the virtual machine

I want to install Ubuntu 20.10 on Virtual Box 6.1.18, when I create the virtual machine is okay so I press start but when I want to search the ISO file this error appears to me.

enter image description here

I saw different solutions in the terminal for Windows, but any for Mac helped me. Downgrade Virtual Box isn’t an option because my professor requires this version.

terminal – MacOS Catalina constant shutdowns, works only in Safe Mode (Thunderbolt kext issue?)

I have a mid-2015 Macbook Pro (11,4) which suddenly started to crash randomly and extremely often (running Mojave) – as it was running fine in Safe Mode, I figured it was a software/OS error, so I made a clean install upgrade to Catalina, which didn’t change anything.

Digging around on the Intertubes, it seemed likely that the culprit was a the AppleThunderboltNHI.kext, possibly in combination with failing hardware (SMC controller and/or CPU) – the computer doesn’t hold charge, but has been working fine when connected to mains up until now (I have reset PRAM, SMC etc) – nothing makes any difference.

SOmetimes the computer works for a short while if I first boot in Safe Mode, then let it sit for a while, then boot normally – but the crashes/kernel panics will come sooner rather than later.

I’ve tried to follow instructions to remove or rename the offending extensions, but haven’t been successful, beyond managing to rename the AppleThunderboltNHI.kext, but it doesn’t seem to make any difference, as it appears though it still gets loaded.

When I follow the steps provided by @user3439894 and @hellmaca
for Catalina:

How to delete kexts in Catalina?

while I’m finally able to rename AppleThunderboltNHI.kext, I’m unable to unload it using

kextunload /System/Library/Extensions/AppleThunderboltNHI.kext

as it gives me the following error:

(kernel) Can’t remove kext com.apple.driverAppleThunderboltNHI.kext; services failed to terminate – 0xe00002c7.
Failed to unload com.apple.driverAppleThunderboltNHI – (iokit/common) unsupported function.

or this:

kextunload /System/Library/Extensions/AppleThunderboltNHI.kext
(kernel) Can’t remove kext com.apple.driverAppleThunderboltNHI; services failed to terminate – 0xe00002c7.
Failed to unload com.apple.driverAppleThunderboltNHI – (iokit/common) unsupported function.

Also, I’m unable to run kmutil. This is what happens (not using sudo, as this is in Recovery Mode):

-bash-3.2# kmutil
-bash: kmutil: command not found

If I try to reboot normally, I get the reboot loop. If I boot in Safe Mode, no crashes.

The only way I’m able to boot normally is after having booted in Safe Mode first, and then the panics come sooner or later (immediately if I use adjust an image in Photos, and quickly if I run Safari – Chrome works much longer).

I’ve worked with Macs since 1986, and while I’m no command line wizard, I’ve diagnosed and solved all types of issues, hardware, software, OS and firmware, and I’ve never been stumped like this. I’ve tried to get around this for two days now.

Any help would be much appreciated.

quando inicio o elixir no terminal ele me retorna este erro como posso resolver?

elixir -v
{"init terminating in do_boot",{‘cannot get bootfile’,’C:Program Fileserl10.3/bin/start.boot’}}
init terminating in do_boot ({cannot get bootfile,C:Program Fileserl10.3/bin/start.boot})

terminal – My wireguard install has broken and I’m unable to fix it

Since I’ve installed Wireguard on my MacBook Air running MacOS Sierra it hasn’t given me any major problems until now. I’ve been using wgcf to generate the wireguard config file, but I don’t think that has been the cause of my issues with wireguard. So, in the last day or two when I run `wg-quick up wireguard-profile.conf it prints three lines and then hangs.

[#] wireguard-go utun
[+] Interface for wgcf-profile is utun1
[#] wg setconf utun1 /dev/fd/63

I’ve been trying to fix this in all different kinds of ways from using brew to uninstall and reinstall wireguard-tools and wireguard-go. I manually downloaded the latest version of go and wireguard-go and it still hangs like it did before. At this point I don’t know what to do.

terminal – How to fix powerline fonts and symobols error in shell?

I’ve installed Arch about a week ago, and since then I been struggling with the powerline fonts. But after installing the pkg powerline-fonts, I configured the .zshrc file by adding these lines:

 powerline-daemon -q 
. /usr/share/powerline/bindings/zsh/powerline.zsh

The best I could do is commenting the line in the .zshrcfile that chooses a specific theme and letting the above code to run, and looks like this: powerline-fonts fix.

Still, the oh-my-zsh themes don’t work; for example this is the agnoster theme: agnoster theme.

Another issue I have is that the symbols or the numbers are not shown properly in the terminal, any terminal, for example when using broot:br listing
or bat: bat

I think these problems are linked and that’s why I’ve asked the two questions in one.
My question is: How could I fix this and have the oh-my-zsh themes work properly?
On my vm they look like this:agnoster-theme and bat
I would like to make them look identical.

hardware – Schematics/details about U1 in a Lantronix ETS16P terminal server

I have an old Lantronix ETS16P which recently stopped working. I have identified the issue as a broken capacitor (C7) and an IC whose package bursted, showing the bare die (U1). This is a picture of the powerboard with the two broken components marked in red:

enter image description here

This is a legacy product for which support ended, unfortunately. However, I am asking if someone knows if there are schematics or which component U1 is. If anyone has this product, it would be of tremendous help to look up what U1 exactly is. Any other suggestion to get this working again is appreciated too.

PS: In my opinion, this question is on-topic because it relates to non-SOHO, professional IT device used in a professional/business setting. If my opinion is not shared with the community, I would really appreciate pointers where this would be a better fit.

python – how to add functions to menu my code makes a pizza menu in the terminal

hello I am creating a python menu it is about a pizza menu and I need help I do not know how to add some functions such as getting discounts in my code and postcode and address of a customer and phone number and email can you please help me her is the code that i have started with

def mainMenu():
    print("""
    1. Margareta pizza
    2. chilli pizza
    3. chicken pizza
    4. mushroom pizza
    5. pinapple pizza
    6. extra cheese margareta
    7. no cheese pizza
    8. Garlic bread
    9. large fries
    10. medium fries
    11. Medium fanta
    12. large fant
    13. medium coke
    14. large coke
    15. Esspreso
    16. cappaccino
    17. lemmon water
    18. flavoured water
    19. miniral sparkiling water
    20. miniral still water
    21. miniral spring water
    22. exit""")
    while True:
        try:
            selection=int(input("Enter choice:"))
            if selection==1:
                Margareta()
                break
               
            elif selection==2:
                chilli_pizza()
                break

            elif selection==3:
                chicken_pizza()
                break

            elif selection==4:
                mushroom_pizza()
                break

            elif selection==5:
                pinapple_pizza()
                break

            elif selection==6:
                extra_cheese_margareta()
                break

            elif selection==7:
                no_cheese_pizza()
                break

            elif selection==8:
                Garlic_bread()
                break
               
            elif selection==9:
                large_fries()
                break

            elif selection==10:
                medium_fries()
                break

            elif selection==11:
                Medium_fanta()
                break

            elif selection==12:
                large_fanta()
                break

            elif selection==13:
                medium_coke()
                break

            elif selection==14:
                large_coke()
                break

            elif selection==15:
                Esspreso()
                break

            elif selection==16:
                cappaccino()
                break

            elif selection==17:
                lemmon_water()
                break

            elif selection==18:
                flavoured_water()
                break

            elif selection==19:
                miniral_sparkiling_water()
                break

            elif selection==20:
                miniral_still_water()
                break

            elif selection==21:
                miniral_spring_water()
                break

            elif selection==22:
                break

            else:
                print("Invaliad option. Enter 1-22")
                mainMenu()
        except ValueError:
            print("Invaliad choice choose 1-22")
    exit


def Margareta():
    print("youre pizza is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def chilli_pizza():
    print("youre pizza is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def chicken_pizza():
    print("youre pizza is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def mushroom_pizza():
    print("youre pizza is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def pinapple_pizza():
    print("youre pizza is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def extra_cheese_margareta():
    print("youre pizza is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def no_cheese_pizza():
    print("youre pizza is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def Garlic_bread():
    print("youre garlic bread is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def large_fries():
    print("youre large fries is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def medium_fries():
    print("youre medium fries is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def Medium_fanta():
    print("youre fanta is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def large_fanta():
    print("youre large fanta is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def medium_coke():
    print("youre coke is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def large_coke():
    print("youre large coke is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def Esspreso():
    print("youre Esspresso is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def cappaccino():
    print("youre cappaccino is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def lemmon_water():
    print("youre water is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def flavoured_water():
    print("youre flavoured water is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def miniral_sparkiling_water():
    print("youre miniral sparkiling water is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def miniral_still_water():
    print("youre minaral still water is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()

def miniral_spring_water():
    print("youre miniral spring water is on its way")
    anykey=input("Enter anything to return to main menu")
    mainMenu()


   
    # main routine
mainMenu()

command line – How to open terminal from terminal and run a program(script)?

I recently started to program using Sublime Text 3 in POP_OS (wich uses gnome-terminal) and I was trying to make a script that compiles my C++ programs and runs them in a terminal window. I became making this script:

"cmd":("g++ src/*.cpp -o bin/debug/main && gnome-terminal -- ./bin/debug/main")

bin/debug/main is where my main.o is going to be saved

When I actually run a program, sublime text is able to compile and run the program, but if I make a std::cin funtion he doesn’t read that! For example, I have this code bellow:

#include <iostream>

int main(int argc, char* argv())
{
    int numb = 0;
    std::cout << "Yay we made it" << std::endl;
    std::cin >> numb;

    std::cout << "O seu numero é: " << numb << std::endl;
    return 0;
}

When I click F7 compiles perfectly and then shows the terminal but without the “user@user_pc $” and only shows my first cout with the endl and it appears to be waiting for the user numb input:

Yay we made it

But when I put a random number (e.g. 10) and press ENTER the window closes and doesn’t show the final result.

So my problem is how do I keep the terminal window open so I can execute the in-program commands?

PS: I’ve also tried with xterm but I’ve got the same results.

Error al intentar compilar un programa en java mediante el terminal de windows

Tengo este Hola mundo:

public class HolaMundo {
    public static void main(String() args){
        System.out.println("Hola Mundo!);
    }
}`

El cual está en un archivo llamado HolaMundo.java, y para intentar compilarlo escribo lo siguiente:

javac HolaMundo.java

pero recibo el siguiente error:

javac: file not found: HolaMundo.java
Usage: javac <options> <source files>
use -help for a list of possible options

El archivo está en el escritorio, por lo que el directorio que tengo seleccionado es el desktop (Desktop>)

How do I change the windows error sound for windows terminal to something different?

Okay, so you know when you press backspace on an empty line in windows terminal, it makes that annoying error sound? How do I change the sound the something else? Thanks.