9,541 questions
0
votes
0
answers
43
views
Keycloak v.26.0.0 causes the error in flt file
With the upgrade of Keycloak from version 25.0.0 to 26.0.0 (26.4.2), the login theme doesn't work and produces the following error:
FTL stack trace ("~" means nesting-related):
Failed at: #...
-2
votes
1
answer
137
views
Making Dijkstra's in c++ - priority queue iterator problems
I've just learnt Dijkstra's in school but i wanted to try and code it. I'm having a problem with an iterator and changing a specific point in a vector, but most likely my implementation is wrong. The ...
1
vote
1
answer
87
views
How do I make this query as a dynamic stored procedure?
I need this working query as a stored procedure where I can give two databases (one masterdb one testdb), start chainage, end chainage and UniqueRun as input
DECLARE @StartChainage FLOAT = 17.00;
...
1
vote
0
answers
181
views
Spring Boot Application Fails with "Missing preceding open capture character" in Path Pattern Despite Correct Mappings
I'm encountering a Spring Boot startup failure during Maven build tests in my recommendation microservice. The error indicates an invalid mapping pattern /recommendation}, but I've verified all my ...
5
votes
1
answer
2k
views
What is the ternary operator equivalent in GitHub Actions?
How do I write something like this? At the moment using a colon seems to break everything. Is there an equivalent?
run-name: Something Running ${{ (inputs.cache-retain == 'true') ? '(with forced ...
-2
votes
1
answer
640
views
"Pine Script Strategy: 'Could not find function or function reference 'ta.adx' and Syntax Error in buyCondition"
i used claude to help me developeda trading strategy in Pine Script version 5, but I'm encountering two critical errors that are preventing it from working correctly.
'Could not find function or ...
0
votes
0
answers
111
views
Cant fix Uncaught (in promise) SyntaxError: Cannot convert 22,42,79,4,0,0,0,0 to a BigInt
const BN = window.BN || solanaWeb3.BN;
if (typeof window !== "undefined" && typeof window.Buffer === "undefined") {
window.Buffer = {
from: (data) => new ...
1
vote
2
answers
65
views
Flutter_fft: Why is the argument type 'String' can't be assigned to the parameter type 'int'?
I've started working on a project with Flutter and Dart. The app should display a spectrometer based on the signal received by the microphone. I used flutter_fft to handle the signals and syncfusion ...
0
votes
0
answers
158
views
Syntax error at programming HP Prime Pro G2
I have this new calculator (HP Prime Pro G2) and I am trying to program some script, but I am having some trouble with it. I have two problems:
I am trying to define some LOCAL variables. However, ...
0
votes
0
answers
292
views
'<' - open parenthesis expected
I am trying to develop an Expert Advisor (EA) for MetaTrader 5 using MQL5, but I keep encountering the error '(<) - open parenthesis expected' for the following:
if (Bars < 3)
Here is a snippet ...
1
vote
2
answers
59
views
How do I get a variable from another file, but use a functions string to define the variable
I have set a variable x="hii!!" in another file called ImporterFile.py. I thought pre-defining the variable x and then re-importing it would work, but it didn't.
from ImporterFile import x
...
3
votes
2
answers
62
views
postgresql concat error when used in function
PostgreSQL syntax error when using CONCAT in user defined function.
Using DbVisualizer as SQL client.
CREATE FUNCTION t() RETURNS TEXT
AS ' SELECT CONCAT('some', '_text') ; '
LANGUAGE plpgsql;
[Code:...
0
votes
1
answer
58
views
Error in "across( )" when summing multiple columns in R
Using the following data:
Distance <- data.frame(
DAY = c("1", "2","3")
,TEMP = c(25, 27, 26.5)
,C1Dist01 = c(1, 1, 1)
,C2Dist01 = c(1, 1, 0)
,C3Dist01 =...
-1
votes
1
answer
86
views
Syntax error at ',' in PLY Pascal-like interpreter
I'm working on a simple Pascal-like interpreter using PLY, but I'm encountering a Syntax error at ',' during parsing. The issue arises when trying to parse a source file that includes commas. Below is ...
0
votes
0
answers
37
views
Exclude certain HTML item testing during Github Linter test
During my linting test in Github Actions I've met an issue that looks like this:
Config loaded: /action/lib/.automation/.htmlhintrc
/github/workspace/consoleLogQuiz.html
L45 | <...
0
votes
0
answers
21
views
Unable to create virtual environment using virtualenv on Spyder IDE [duplicate]
I'm using Spyder IDE 5.51, Python 3.12.4 64-bit. I have installed virtualenv 20.28.0 on my Windows computer. I tried to create a virtual environment using the following code on Sypder Console by ...
0
votes
0
answers
94
views
How do I fix: Column 8 in UNION ALL has incompatible types: DOUBLE, STRING at [24:1]
I have the following query which is returning an error:
My code:
SELECT
LOCATION,
DEPARTMENT,
MANAGER,
SUPERVISOR,
ASSOCIATE,
FISCAL_DATE,
AUX_NAME,
ACTUAL,
...
0
votes
0
answers
56
views
TypeError: Technician.__init__() missing 1 required positional argument: 'specialization'
I'm trying to do my homework on object-oriented programming but I get a weird error.
tried restarting VSCode or changing names.
Objective: To develop an employee management system that demonstrates ...
-1
votes
1
answer
81
views
Why am I getting this syntax error in AMPL? (beginner)
I am learning AMPL for a university project and i don't understand why i'm getting a syntax error, my code:
model:
set FOODS;
param calories;
param proteins;
param calcium;
param vitaminA;
param cost;
...
1
vote
1
answer
79
views
ERROR VCP2000 "Syntax error. Unexpected token: initial." "testbench.sv" 50 7
I am not able to find the exact reason for the error here. Can anyone help me?
`include "uvm_macros.svh"
import uvm_pkg::*;
class my_driver extends uvm_driver;
`uvm_component_utils(...
-1
votes
1
answer
115
views
Syntax Error in Update Statement. This is what I got when I try to update my database [duplicate]
sql = "Update tblUserAccount set username = '" & txtUsername.Text & "', password = '" & txtPassword.Text & "', AccessLevel = '" & cmbAccessLevel.Text &...
-1
votes
1
answer
55
views
Getting 'Element not defined' Error for ExtGraphNodes in OPL model
I'm working on an optimization problem using IBM's OPL (Optimization Programming Language). I have defined a set called ExtGraphNodes in my model file, but when I try to use it in my data file, I ...
0
votes
1
answer
2k
views
HFValidation Error for calling the repo-id incorrectly, what am I doing wrong?
HFValidationError: Repo id must be in the form 'repo_name' or
'namespace/repo_name': 'meta-llama/llama3.1/8b-instruct-fp16'. Use
repo_type argument if needed.
tokenizer = AutoTokenizer....
0
votes
1
answer
66
views
"Expecting member declaration"
I'm having trouble with these lines of code:
class MainActivity : ComponentActivity() {
var item = "None"
var price: Double = 16.99
var Quantity: Int = 2
println(Calculate(...
0
votes
0
answers
129
views
error: expected ';', identifier or '(' before 'int' in header file
I keep getting the error in the title with the line extern int inp_arr[SIZE];. This is the full header file, queue.h
#ifndef SIZE
#define SIZE 4
#endif
#ifndef QUEUE_H
#define QUEUE_H
extern ...