9,579 questions
0
votes
0
answers
30
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:
...
68
votes
2
answers
4k
views
Why is a double semicolon a SyntaxError in Python?
I know that semicolons are unnecessary in Python, but they can be used to cram multiple statements onto a single line, e.g.
>>> x = 42; y = 54
I always thought that a semicolon was ...
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,
" ...
4
votes
3
answers
45k
views
Error when combining IIF and 'Is Null'
I need to combine three columns representing address lines into one column, in order to compose the entire address here. All three columns can contain a NULL value.
I thought the way to go about this ...
-4
votes
1
answer
56
views
I'm trying to print with print commamd but it doesn't work
I trying to pritn with print commamd but ir doesnr work
i got pyton and lesrning programation but i cannot do homewrok print command my teacher gived me homework is try to printing youre name but i ...
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/...
-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 ...
5
votes
4
answers
38k
views
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 55: character maps to <undefined>
I am new to Python and am hoping that someone could please explain to me what the error message means.
To be specific, I have some code of Python and SPSS combined together saved in Atom, which was ...
781
votes
21
answers
894k
views
PHP parse/syntax errors; and how to solve them
Everyone runs into syntax errors. Even experienced programmers make typos. For newcomers, it's just part of the learning process. However, it's often easy to interpret error messages such as:
PHP ...
-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 ...
463
votes
10
answers
583k
views
How to correct TypeError: Unicode-objects must be encoded before hashing?
I have this error:
Traceback (most recent call last):
File "python_md5_cracker.py", line 27, in <module>
m.update(line)
TypeError: Unicode-objects must be encoded before hashing
when I try ...
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 ...
3
votes
3
answers
7k
views
Cannot Run Visual Basic Editor Because of a Syntax error whilst recording macro
I am a bit suprised as I am trying to record a macro in Excel, but I keep getting this error:
Cannot Run Visual Basic Editor Because of a Syntax error
The most surprising part is that I am not ...
259
votes
12
answers
999k
views
JavaScript error (Uncaught SyntaxError: Unexpected end of input)
I have some JavaScript code that works in FireFox but not in Chrome or IE.
In the Chrome JS Console I get the follow error:
"Uncaught SyntaxError: Unexpected end of input".
The JavaScript code ...
0
votes
3
answers
2k
views
How to Rename the package name from "com.example.new.app" to "com.example.app" without R file Error in Android Studio
if we create new package com.example.app and move our files to this package by drag and drop and delete old files then still wrong R file imports exists in project and i have to replace R file imports ...