Questions tagged [syntax-error]

0 votes
1 replies
PG::SyntaxError at /bookmarks - I'm unable to work out why the SQL query is wrong
When running my application using sinatra, I get the error message PG::SyntaxError at /bookmarks ERROR: syntax error at or near "{" LINE 1: SELEC...
asked 4 months ago
-5 votes
0 replies
oneL.c:79:1: error: expected identifier or ‘(’ before ‘}’ token
I know it's a syntax error, but I can't find it and I've been looking over this for some 30 minutes. It compiled before, changed some things in t...
0 votes
0 replies
I'm using qpython on my mobile and I'm trying to import a .py file but it's not working
import sys Print(sys.path) I get a directory and try to put my .py file inside then I try to Import filename Then I get a syntax error telling me...
asked 4 months ago
0 votes
1 replies
How to run this BigQuery SQL?
I want to parse the bitcoin private keys from github on bigquery and i cant run this code SELECT f.repo_name, f.path, c.pkey FROM `bigque...
asked 4 months ago
-3 votes
0 replies
How to repair fix: "Parse error: syntax error, unexpected end of file in 'file path'… on line 185 [duplicate]
Everyone runs into syntax errors. Even experienced programmers make typos. For newcomers it's just part of the learning process. However, it's of...
asked 4 months ago
0 votes
1 replies
SQL Error (Missing Operator) In query operation error [duplicate]
This question already has an answer here: SQL multiple join statement 2 answers...
asked 4 months ago
0 votes
1 replies
How can I name an instance with a string? [duplicate]
This question already has an answer here: How do I create a variable number of variables?...
asked 4 months ago
0 votes
2 replies
Uncaught syntax error unexpected identifier in JS and Html
I was trying out the p5.js when I got an uncaught syntax error. I have scanned all of the code several times but I can't get it for the life of m...
asked 4 months ago
0 votes
1 replies
Unexpected end of line - dos2unix won't fix it
I have the following code: #!/bin/bash set -o errexit set -o nounset set -o pipefail set -u se () { sed -n 's/\s*r('"$1"').*|r| =\s\+//p'} ##...
asked 4 months ago
-2 votes
2 replies
Break Batch If/ELSE Statement into multiple lines - Hard to Read Code
I found this code here --> ::Check if the path is File or Folder using batch But I find it hard to read and want to simplify it/break it apar...
asked 4 months ago
0 votes
0 replies
Problem in Parse error: syntax error, unexpected T_STRING [duplicate]
Everyone runs into syntax errors. Even experienced programmers make typos. For newcomers it's just part of the learning process. However, it's of...
asked 4 months ago
-4 votes
0 replies
How can I solve class expexted error in java?
i don t get why I have a '.class' expected on this line : signla[f]/= neuronfarbeanzahl[]; public double[] signalprocessi...
-1 votes
0 replies
Incorrect syntax near the keyword SQL Server
This code is regarding the employees who worked more than 9hrs in a 24hrs span. SELECT DISTINCT X.PERSONNUM, X.PERSONFULLNAME, X.HI...
asked 4 months ago
1 votes
1 replies
How can I solve the errors of my code in VHDL?
I have made a code that does arithmetic and logic operations.But when I do the compilation, the report shows that I have many syntax errors.I am...
asked 5 months ago
0 votes
1 replies
Why does my adjoin-set procedure in Scheme return an error?
I'm trying to formulate a procedure that adjoins a number to a set of numbers that is ordered from least to greatest. In this set, there are no...
1 votes
1 replies
Declaration of Function before defining causing error in C
I have been trying to write a code that can check if there is the sequence of 123 in an array or not for which I made a check function which does...
0 votes
1 replies
How to index set of subsets in ZIMPL?
Given S as a set of subsets, I'd like to print it out, and index it: set S[]:=subsets({1..5}, 3); do forall <i> in S do print S[i]; # Ne...
asked 5 months ago
-2 votes
1 replies
bt.append(int(input(f“Enter burst time for process {i} ->”))) its the 11th line on my code when i run the code it shows invalid syntax
when i run the program for FCFS scheduling it points out an error at line bt.append(int(input(f"Enter burst time for process: {i} ->"))) sa...
asked 5 months ago
1 votes
0 replies
How do i do this code in a cleaner way without bugging?
let db = firebase.firestore() let batch = db.batch() let whoTaggedRef = db.collection('posts').doc(postId).collection('whoTagged').doc(myId)...
0 votes
1 replies
SyntaxError: EOF while scanning triple-quoted string literal (nothing seems to work)
I've been scouring SO for like an hour now and tried every possible fix. Indented and reindented and moved that string around, counted the bracke...
0 votes
0 replies
where is the sign missing PHP? [duplicate]
Everyone runs into syntax errors. Even experienced programmers make typos. For newcomers it's just part of the learning process. However, it's of...
asked 5 months ago
-1 votes
1 replies
How to write code for this problem to avoid compilation error
Link to the problem: https://www.codzilla.org/questions?qid=40 Write Code to find average of all elements of an array. This code is provided an...
asked 6 months ago
1 votes
1 replies
Why does my GPU Tensorflow crash when trying to run an additional time?
I am pretty new to Tensorflow, and I am using a GPU installation in Anaconda with Spyder. I have a recurring problem across my programs where it...
asked 5 months ago
-2 votes
1 replies
Java Question: is float not allowed to be declared as final? [duplicate]
This question already has an answer here: Java: double vs float 6 answers...
asked 5 months ago
0 votes
1 replies
Getting syntax error while cleaning data using ast.literal_eval()
I have extracted data set from librosa library. This is top five data. These are the total columns. These data are in object format. It has...