Latest Questions

It doesn't pick up the variable correctly in subprocess.call (python)

I am creating a telegram bot to send the information that I request to the app. When I run the code below it works fine except for the last part, when it does t

Can't get result from Count Query although it shows in Query Datasheet view

I'm trying to get the result of a Count query into a variable so I can use it (basically I just need to know if it's greater than 0). My code looks like this:

Creating SvelteKit library with reusable routes

I'd like to create a SvelteKit library that provides a list of routes that the library user can then add to their Svelte app tree. This would be similar to some

i am trying to run the node of ganache but getting this error

I am trying to run the node of ganache but getting this error.please resolve my problem.

How to edit data of dynamically created form in angular 8

I am new to Angular developmet.In my project,I have a form with dynamically add and remove input box using Add and Remove button in Angular 8 Application. After

How to check if some text in a RichTextBox is selected

I am creating a text editor and I want to add copy, paste and cut functions in the Edit Menu. I want these MenuItems to only to be enabled when there's an activ

How to change the iFrame src on click of a button

<section class="ep1"> <iframe src="https://example.com" width="640" height="480" allow="autoplay"></iframe> </section> <but

Amazon policy on purchase from web within FireTV app

I have created a Amazon Fire TV app in which we are selling content. A user can purchase the content from website. We don't have any functionality to purchase c

How to properly use CMake subprojects together with Conan?

Let's say we have: App CMake project which uses Conan to manage dependencies (via conanfile.txt) Lib CMake library standalone project which also uses Conan for

Error in .exe of python script having Barcode from Reportlab.graphics

I have a python script for generating barcodes (code128) which works fine in IDE. But when converted into exe, it encounters below error: Traceback (most recent

What is the intended way to target a specific version of the .NET Runtime?

As far as I can tell the runtime version required to run a .NET application has to be greater or equal to the version of the .NET SDK which built the applicatio

Android- studio error - Cause: unable to find valid certification path to requested target

I got this error on Android Studio while attempting to sync gradle. Cause: unable to find valid certification path to requested target What I have attempted so

Android studio balance with timer (java)

I want to make on button press to start a timer and increment at same time , so let's say the balance is 0.00 i want it when the button is clicked to increase b

How to get all checked items in SelectMultipleField in WTForms + Flask

I have a SelectMultipleField but when I try to access checked items, thought form.fields.data I only get the first of them. More over, by trying to get answers

Tag in PasswordBox is not displayed as placeholder

I made a style that shows the tag of the password box as a placeholder by binding it. However, I used the Attached Property in the style, but the tag does not s

converting pine script to mql4 ....This is indicator in Pine Script language. Can anyone help me to convert it into MQL4

This is a High/Low indicator in Pine Script language. Can anyone help me to convert it into MQL4. It should be very easy for some of you https://www.tradingview

Why is are my rows not being written to the CSV file?

With the code below the CSV file aaab.csv is created but nothing is written to it. The print(row) gives me the correct information. What am I doing wrong? I hav

React setState resets string

I'm trying to get writed line from XTerm.js with a callback from parent element whenever user puts a new char to the terminal then parent element updates the st

MacOS CoreAudio buffer playback produces annoying noise

MacOS CoreAudio buffer playback produces annoying noise between correct sound. I'm interested to play valid .wav data though the buffer. Why I'm playing a .wav?

qt creator horizontal mouse scroll not working (Shift + mouse wheel)

qt creator horizontal mouse scroll not working (Shift + mouse wheel), how can I fix this? Qt Creator 6.0.2 Based on Qt 6.2.2 (MSVC 2019, 64 bit) Windows 10 and

Date and time conversion using Pandas & Python to create Ts

I'm trying to get Ts using my existing data of data and time, which looks like (Pdb) df[0][:7] 0 [Data & Time] 1 Jan 01 08:00:01.193 2 Jan 01 08

cv2 SystemError when using webcam on MacOS

I am trying to run a very simple script using opencv, which should display frames from my webcam (on a 2019 macbook pro running OS Catalina) until interrupted.

Linked List Deletion function causing program to crash *wrong pointers?*

In my program when a username is following another one and also has posted a "tweet" which is a string in an attempt to delete the followed username it breaks t

How to access an element of an xml which ends with specific characters using perl

my xml file has nodes as follows, However the name of second child node is not always the same. But it always ends with the same extension, in this case text. H

How does Postgresql inside Docker work? psql: FATAL: password authentication failed for user xy

I created my app with .yml services: db: image: postgres:11-alpine environment: POSTGRES_DB: wiki POSTGRES_PASSWORD: quantoxrocks P

Python error - Traceback (most recent call last)

I entered this code. I entered the example alike in the book where I could study Python. from turtle import Screen, Turtle import random screen=Screen() image1

Eclipse switch to new Version Problems with Projectstructure

with my Win10 machine and Eclipse IDE for Enterprise Developers version 2020-12 I can import existing projects without any problems - the folder structure is as

Where does laravel gets the file name form a base64 decoded file

i have an file encoded in base64 and when i decode it and dump with dd() in laravel and it shows the file name and type so i was wondering where laravel stores

Can I use multiple different commands for a single file type in coderunner?

"code-runner.executorMap": { "cpp": "cd $dir && g++ -Wall -Wextra -O2 -std=c++14 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt

How to create a timed input in python with a correct answer?

How would I create a program which asks the user for an input but if they dont respond with an answer within 5 seconds tells them that the time is up. But if th