Skip to main content

Questions tagged [syntax-error]

A syntax error occurs when a program does not follow the syntactical rules of the programming language.

syntax-error
0 votes
0 answers
5 views

"Ill-formed syntax: (define (expmod a num num) ((exptmod num) a num))" in Scheme

I am learning SICP up to chapter 2.2.1 now. I have the following code: (define (modular n op) (lambda (a b) (modulo (op a b) n))) (define (exptmod p) (let ((mod* (modular p *))) (define (...
An5Drama's user avatar
  • 367
0 votes
1 answer
22 views

Use of GROUP_CONCAT() results in error 1064

I have a very simple table: CREATE TABLE `invoice_physician` ( `INVOICENR` varchar(12) NOT NULL, `PHYSICIAN` varchar(255) NOT NULL DEFAULT '', `modified` timestamp NOT NULL DEFAULT ...
theking2's user avatar
  • 2,518
0 votes
1 answer
33 views

In SageMath, how to use GF() on a very large finite field which is several thousands bits long?

As far I understand it correctly, GF(Integer) is used to declare a finite field which can for example be used for declaring an elliptic curve (this is what I want to do). But why using a very large ...
user2284570's user avatar
  • 3,012
0 votes
0 answers
21 views

Hit `<foo>_pb.js` does not provide an export named `'<foo>'` syntax error

I generate proto js files with: npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./grpc/client --grpc_out=grpc_js:./grpc/client --plugin=protoc-gen-grpc=`which ...
khteh's user avatar
  • 3,724
0 votes
0 answers
29 views

why do I get this error? SyntaxError: positional argument follows keyword argument [closed]

I am making a hand recognition application where, when I input the hand landmark number, it should draw a circle around it. This is working fine, but when I try to fill the circle, it should fill it, ...
jyotiprakash dhala's user avatar
0 votes
0 answers
5 views

Class 'Object' has no method named 'getRunningAppProcesses'

JNIEXPORT jboolean JNICALL Java_com_ghost_hooker_Hooker_isAppRunning(JNIEnv *env, jobject thiz, jstring package_name) { const char *pkg_name = env->GetStringUTFChars(package_name, nullptr); LOGI(&...
My Hapew's user avatar
0 votes
0 answers
19 views

When I use Jupyterlab in google chrome to write code, It Raise "SyntaxError: invaild non-printable character U+00A0", but safari has not this problem

When I use Jupyter lab in chrome browser, it always autoadd special character in my code resulting a SyntaxError SyntaxError: invalid non-printable character U+00A0 When I delete this special ...
Hu Yifan's user avatar
1 vote
1 answer
42 views

How to pass parameters to task from file

I create a file with a content and I need to pass this to my task paramaters: The original tasks is like this: - name: Configure Web filter profiles. fortinet.fortios.fortios_webfilter_profile: ...
Jbarboza09's user avatar
0 votes
0 answers
33 views

SQL syntax error (mysql.connector.errors.ProgrammingError: 1064 (42000):) while trying to update records in python

Part of my code calls up an edit window. In this window it pulls the information from the record you want to update based of the C_ID unique ID number. You enter the ID number in the box for either ...
Corpghent's user avatar
-2 votes
0 answers
47 views

form submitted but not getting email in php [duplicate]

What is the problem in coding. When I click on form submit button, it redirects to successful submission.html page, but actually I cannot receive any email from server. I am fed up and I don't have ...
Umair Ahsan's user avatar
0 votes
1 answer
31 views

Syntax error at input 'end of line without line continuation', Pine Script, TradingView

//@version=5 // Display correlation matrix with labels var label corr_matrix = label.new(x=na, y=na, text="", style=label.style_label_down, size=size.normal, color=color.white) maxBarIndex = ...
Nesar Hemmat's user avatar
0 votes
1 answer
32 views

Vue component is not working properly, can i do this?

I'm trying to add a template tag with attributes and values nut it keeps displaying this error message <script> </script> <template> <nav class="navbar navbar-expand-lg bg-...
Wilson Uchenna's user avatar
0 votes
0 answers
58 views

SQL - Querying Data Within Certain Time Ranges

I'm trying to create a table called "Stats" that employees use a business application where they perform searches and projects on it. I'm trying to answer the following questions with the ...
Chimmy Wang's user avatar
0 votes
0 answers
17 views

XAMPP not running on Mac OS 12.7.5 - Syntax Error

I'm trying to launch the Apache Web Server on my copy of XAMPP (8.1.17) and it won't turn on. I have tried the following (all listed in THIS THREAD): sudo killall httpd in Terminal changing ports in ...
Murphy1976's user avatar
  • 1,465
0 votes
1 answer
19 views

Automatic Status Update When Another Cell Value Is Updated With Any Date

I have a worksheet where employees log details of applications received. I'm trying to work out a formula that lets the status of the applicant auto-update to caregiver in a target cell, when there's ...
Temitope Olajiga's user avatar

15 30 50 per page
1
2 3 4 5
639