9,577 questions
0
votes
0
answers
27
views
Unity C# - Tuple must contain at least two elements - error
I am trying to update discord activities while playing my game in unity by DiscordGameSDK. I am weak in this area, so I admit that I copied everything from the guide, but I got stuck with this error:
...
0
votes
0
answers
18
views
How do I fix: Column 8 in UNION ALL has incompatible types: DOUBLE, STRING at [24:1]
Column 8 in UNION ALL has incompatible types: DOUBLE, STRING at [24:1]
SELECT
LOCATION,
DEPARTMENT,
MANAGER,
SUPERVISOR,
ASSOCIATE,
FISCAL_DATE,
AUX_NAME,
ACTUAL,
PLANNED,
" "FSCL_YR,
" ...
-1
votes
0
answers
38
views
How do string variables work within if statements? [duplicate]
I'm getting errors (in java) regarding a string variable. I'm trying to make sure that I can take the user's input (which is a string) and if its Y (meaning yes) then I'll add the computer (basic) to ...
0
votes
0
answers
41
views
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
X.jsx:
import React from 'react';
function X() {
return (
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/...
-2
votes
0
answers
28
views
Boolean returns true if one of two conditions are true, only returns true for the second condition
My function is supposed to work this way:
An if statement in TeamDetailsActivity checks if a boolean is true.
To check this, a DatabaseHelper runs the function isReviewUnallowed.
To do this, it is ...
0
votes
0
answers
41
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 ...
0
votes
0
answers
9
views
Is there a python function to make comparison?
NameError Traceback (most recent call last)
Cell In[38], line 16
14 def analyze_preparedness(df, variable):
15 urban_counts = df[[f'Urban_{level}' for level in ['...
0
votes
2
answers
58
views
Create a table (SQL in MS Access)
Doesn't run, says Syntax error in a constraint clause
CREATE TABLE Project
(
ProjectID INTEGER NOT NULL,
Name VARCHAR(25) NOT NULL,
DepartmentName VARCHAR(20) NOT NULL,
MaxHours ...
0
votes
1
answer
32
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;
...
0
votes
0
answers
23
views
I try to model my mod file I get an error n:cs is undefined context: x[s, b, t] <= demand[s, >>> cs] <<< * z[s, b, t];
# SETS set B; # Candidate central kitchens set S; # Schools set CS; # Category School set T; # Time periods set K; ...
0
votes
0
answers
45
views
"invalid syntax" error while importing from lumibot
I am encountering an "invalid syntax" error while trying to import from Lumibot and I have no Idea how to fix. Tried Chatgpt for finding a solution but didn't work.
Here is my code:
from ...
0
votes
0
answers
55
views
MasmBasic assembly code to encrypt any file problem
I had problem with line 15
test.asm(15) : error A2008: syntax error : ,
the code
include \masm32\MasmBasic\MasmBasic.inc
.data
key db "AMU", 0
keyLength db 3,0
Init
Let esi = ...
1
vote
1
answer
48
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(...
-2
votes
1
answer
68
views
Error CS1003 Syntax Error ',' expected (Unity C#) 2D RPG Game [closed]
I'm trying to get knockback to work in my game, but I'm getting error CS1003. The error says "Assets\Scripts\Enemy.cs(17,31): error CS1003: Syntax error, ',' expected". Here's my code:
`...
-1
votes
3
answers
58
views
VS Code doesnt interprete a python code that works
I'm starting to learn and this issues are really frustrating.
I have this simple code that works on the terminal smoothly:
user_prompt = "entra un PorHacer:"
porHaceres = []
while True:
...