Quantcast
Browsing all 5970 articles
Browse latest View live

How to fix "At least two classes are needed to perform a LDA"?

I'm trying to run this sample with OpenCV, but running it:./facerec_video haarcascade_frontalface_alt.xml csv_align -1 gives me this error:OpenCV Error: Bad argument (At least two classes are needed to...

View Article


blank page after dokuwiki upgrade

I tried to upgrade dokuwiki using its upgrade plugin wizard. Upgrade went fine. After upgrade when I brows the site, the landing page loads fine but as soon as I click anywhere in the browser, it...

View Article


Ubuntu server, lsws websocket connection issue [closed]

I have an Ubuntu server, which is using lsws. when my node app was running on HTTP, I could make a socket connection but after switching it to https, I could not make a socket connection, my REST APIs...

View Article

PHP Timezone database is corrupt error

I have a wordpress website which suddenly stopped working today. When I look at the logs I see and error:[error] [client 50.78.108.177] PHP Fatal error: strtotime(): Timezone database is corrupt - this...

View Article

Error message when loading VS Code Unable to resolve your shell environment:...

Hi I am running Ubuntu 20.04 I used to have zsh installed and oh-my-zsh I have uninstalled them both and now when I start vs code using the GUI from my Desktop I receive the following error message...

View Article


How to Install pip for python 3.7 on Ubuntu 18?

I've installed Python 3.7 on my Ubuntu 18.04 machine. Following this instructions in case it's relevant:Download : Python 3.7 from Python Website [1] ,on Desktop and manuallyunzip it, on Desktop...

View Article

I can't submit my password but when i do the terminal just kept blinking...

When i use the MariaDB Server last night, it works. but later in the morning when i tried to login to my mariadb account and typed my password and hit the enter but the cursor kept blinking. i type the...

View Article

Upload file with Nginx (WebDAV) with CURL [closed]

I am trying to upload files from local directory to Nginx server via WebDAV. I've already installed nginx-extras and --with-http_dav_module is enabled.Here is my conf (based on many answers on...

View Article


Image may be NSFW.
Clik here to view.

webRTC video streaming - Chrome chooses wrong candidates with ubuntu 20

I am streaming video over webRTC in AWS environments, all ports are open, no firewall.Server 1: Ubuntu 18.04.5 LTSServer 2: Ubuntu 20.04.6 LTSWith Server 1 after at most 2-3 retries, webRTC chooses the...

View Article


Xorg server 1.20.13 and mesa 7.11.2 for DRI1 support on Ubuntu 20.04?

Since I've an old notebook from 2008 with a SiS Mirage 3 IGP, I'm trying to get proper 2D/3D acceleration.I've managed to compile mesa-7.11.2 for Xorg 1.20.13 (Lubuntu 64-bit - 20.04 LTS)Since I've...

View Article

Permission Error When Running C Code in VSCode on Ubuntu: How to Resolve?

I am using ubuntu. My laptop has two storage. One is the SSD, and the hard disk. Installing Ubuntu on my SSD and using the harddisk as my external storage. When I put the C code on the hard disk and...

View Article

Ubuntu does not recognize USB formatted as "Master Boot Record - W95 FAT32...

When I insert the USB, it does not appear in the devices list in Files.Its properties are, as per Disks App:model: USB Disk 3.0 (1100)device: /dev/sda1partitioning: Master Boot Recordpartition type:...

View Article

Image may be NSFW.
Clik here to view.

How to give a white background to the present working directory? [closed]

I just installed a terminal profile called pixegrami-agnoster (https://github.com/pixegami/terminal-profile) in my zsh shell. I like this theme however the only thing that is bugging me is the color of...

View Article


Append line to /etc/hosts file with shell script

I have a new Ubuntu 12.04 VPS. I am trying to write a setup script that completes an entire LAMP installation. Where I am having trouble is appending a line to the /etc/hosts file. My current hosts...

View Article

how to re-install portainer docker?

I made a site with docker very long time ago but I lost the password of portainer. So, I try to re-install to reset my Id and password, but it seems portainer keep containing my previous Id and...

View Article


Having problems installing the Zebra search engine...

The Dockerfile: # Use an official Debian runtime as a parent image FROM debian:latest # Set environment variables ENV DEBIAN_FRONTEND=noninteractive # Install necessary packages RUN apt-get update RUN...

View Article

Upgrade to Ubuntu 24.04.1 LTS from 22.04.4 messed stuff up [closed]

A bunch of stuff seems to be messed up after upgrading from Ubuntu 22.04 to 24.04.1 Python3 and Postgres seem especially affected.had to reinstall pg_admin, but it's fine now, other than the fact it...

View Article


Brew WSL Ubuntu Terminal Error: No such file or directory [closed]

I'm having trouble with Ubuntu WSL2 and anytime I start up the terminal I get greeted with:-bash: /bin/brew: No such file or directory-bash: export: `': not a valid identifierwill:~$Then, if I try a...

View Article

How do I fix broken pip installation

I'm not sure what has happened to my Ubuntu server. I just migrated from an old Ununtu 20.04 to 24.04, and most things seem to now by working all right.However, if I run pip I get:svend@localhost:~$...

View Article

How to restore default ~/.bashrc ubuntu

I messed up my ~/.bashrc file and am trying to restore it.I tried doing this:cp ~/.bashrc ~/.bashrc_bakcp /etc/skel/.bashrc ~/source .bashrcbut I get this error:cp: /etc/skel/.bashrc: No such file or...

View Article
Browsing all 5970 articles
Browse latest View live