Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
6 views

error : function definition not allowed here pls help

i got this error message pls help $ make triangle clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow triangle.c -lcrypt -lcs50 -...
0
votes
1answer
25 views

debug50 error in online IDE: 'MODULE_NOT_FOUND'

While working on pset3 tideman problem, I attempted to use the debugger and got this error in return. the debugger opens and then closes immediately, and generates the below text. How can i resolve ...
0
votes
1answer
35 views

Why does it keep saying error: no such file or directory?

I am on part 1. The hello program worked and I'm trying to do the long int addition. It keeps saying "no such file or directory" but I can the the file with my own lion eyes and am stumped ...
0
votes
1answer
29 views

PSET6 - Readability. When I am running my program it is showing me this error again and again

The error I am getting Traceback (most recent call last): File "/home/ubuntu/pset/pset6/readability/readability.py", line 46, in <module> main() File "/home/ubuntu/pset/pset6/...
0
votes
1answer
14 views

My program is not is not able to import strlen from string.h

I am working on problem set 6 - Readability (python). When I am compiling my code the following error keeps coming. Traceback (most recent call last): File "/home/ubuntu/pset/pset6/readability/...
0
votes
0answers
10 views

CS50 Tic Tac Toe Minimax problem with Nonetype error

I'm having a recurring 'Nonetype object is not subscriptable' error on the minimax problem. Depending on how I setup my debugging, it either appears as an error on runner.py line 85 (trying to ...
0
votes
0answers
30 views

CS50 PSET3 test code does not compile

The output says that the code does not compile, but the error is in the test code not in mine`s
0
votes
1answer
33 views

Pset3 - runoff - print_winner and find_min error

After I checked my code using check50 cs50/problems/2021/x/runoff, I received the following error messages for my bool print_winner(void) function and int find_min(void) function as follows :( ...
0
votes
0answers
9 views

Q: how to read terminal window and debug in Finance?

I am receiving errors (in red) in my terminal window. However I'm not understanding what those errors actually mean. Can someone help direct me on how to 1) read the error 2) find out where exactly ...
0
votes
1answer
22 views

pset5 speller all words are spelled wrong

new error: most words are seen as spelling error Here's my full code: (UPDATED) // Implements a dictionary's functionality #include <stdbool.h> #include <string.h> #include <stdio.h>...
1
vote
1answer
15 views

pset4 filter greyscale error

When I run "make helper," the following error comes up: "undefined reference to `main'" and "linker command failed with exit code 1" What am I doing wrong?? thank you in ...
0
votes
2answers
31 views

make: *** No rule to make target 'cash'. Stop

I have this problem. I'm trying to run this program but it keeps showing me this message and it confuses me since I have the file cash.c saved in the pset1 directory and cash (folder). I've looked for ...
0
votes
0answers
27 views

Filter (more) Edge error not passing check50

Yesterday I copleted filter less and all images passes check50, today I try to complete filter more edge I've added the same code like like filter less for Grayscale, Reflection, Blur and added new ...
0
votes
1answer
14 views

GET request for a file with a space in the name

When GET was trying to find a file named DS C0001, this was the error code: INFO: 192.168.16.37 - - [24/May/2021 13:14:10] "GET /static/images/DS HTTP/1.0" 404 - I could simply reject all ...
0
votes
1answer
29 views

readability pset2 multi error

I replaced semicolon with a coma as sugested erlier. I compile the code but when I enter the text to receive Grade 3 nothing happens, again anny sugestion. Thanks. #include <cs50.h> #include <...
0
votes
2answers
36 views

pset5 speller passess all checks except valgrind. no memory leaks but errors raised. confused

// Implements a dictionary's functionality #include <stdbool.h> #include <cs50.h> #include <stdlib.h> #include <stdio.h> #include "dictionary.h" #include <strings....
0
votes
0answers
21 views

Request throwing JSON error

I'm having a very strange problem. This code, which was working perfectly yesterday, is now throwing the error - File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode ...
0
votes
1answer
28 views

CS50 IDE Cash feeling less comfortable

I hope you could help me with the cash, less comfortable problem. I'm receiving this error message but I'm not sure what's causing the error message. Thank you very much in advance!
0
votes
1answer
23 views

CS50 Task meow.c custom made function doesn´t work

I think I did exactly like he showed. But there comes an error message. When running it through help50 make meow it says: You seem to be passing in too many arguments to a function on line 8 of meow.c....
0
votes
1answer
268 views

pset9 Finance “jinja2.exceptions.TemplateSyntaxError: expected name or number” error

In my index function, every time I try "flask run" it outputs that error (jinja2.exceptions.TemplateSyntaxError: expected name or number). Everywhere I've checked most people have been ...
0
votes
1answer
12 views

Expected Expression Error

I have been working on cs50 problem set 2 and I have come across the error readability.c:35:1: error: expected expression else if( index > 16) ^ My code is as follows if(index < 1) { ...
0
votes
1answer
60 views

pset 3 tideman print winner does not exist despite being declared

I have such a strange behavior here in pset 3, tideman. I am doing the print_winner function because check50 says everything else is fine, but when i run the program it looks like print_winner does ...
0
votes
0answers
88 views

Tideman error: :( lock_pairs skips final pair if it creates cycle

It would be amazing if someone had the time to look through my code for the Tideman exercise :D I get the following error: :( lock_pairs skips final pair if it creates cycle lock_pairs did not ...
0
votes
1answer
22 views

Receiving EOF when I execute check50 (Readability)

I keep getting EOF when I check50, but my program runs fine. It gives the correct output for every text input. I can not find a solution here. It looks fine, but when I run the check50 command I get ...
0
votes
0answers
22 views

Help, doe not working - cash [duplicate]

Can someone please help me, as much as I think it should give the least amount of coins needed but it is not.
0
votes
1answer
39 views

Can you tell me my mistake

Please help, I don't know where the problem is.
0
votes
1answer
11 views

I tried everything and it still shows me this error

1 error generated. $ clang cash.c cash.c:6:1: error: expected identifier or '(' my code starts like this #include <stdio.h> #include<cs50.h> #include <math.h> int main (void); float ...
0
votes
1answer
39 views

Error in CS50 IDE Terminal

I was working on the cs50 IDE and noticed this happen a couple of time - As you can see in the last terminal in the last entry the substitution changed to subst i don't know why. This happens mainly ...
0
votes
0answers
17 views

I am getting 2 following errors on using check50 on my code. Can anyone help?

:( encrypts "This is CS50" as "Cbah ah KH50" using yukfrnlbavmwzteogxhcipjsqd as key output not valid ASCII text :( encrypts "This is CS50" as "Cbah ah KH50" ...
0
votes
1answer
23 views

Pset2 Readability error with “else” statement

readability.c:28:9: error: expected expression else: Shown above is the error I am getting. If anyone would point me to what exactly I am doing wrong. that would be great. Bellow, I will add my ...
1
vote
1answer
131 views

HELP, keep getting this error… error: invalid operands to binary expression ('float' and 'int')

Hi! keep getting this error in my code Could someone kindly help me figuring out whats wrong? Thank you :)
0
votes
1answer
46 views

Pset2 Readability undeclared identifier error message

I am attempting to make my program but everytime I try, it tells me I have not identified my variable "i" eventhough I identified it as an integer above. Does anyone know what I'm doing ...
0
votes
1answer
31 views

My program is not free of memory errors Speller Pset 5. Can anyone help?

I am working in Speller of PSET5. My program compiles and only has one problem :( program is free of memory errors valgrind tests failed; rerun with --log for more information. The rest of the ...
0
votes
1answer
18 views

pset2 (ceasar) - isdigit function not working correctly returns “expected expression” error

I don't know why I am getting an error on my isdigit() function, it seems correct to me. #include <stdio.h> #include <cs50.h> #include <stdlib.h> #include <string.h> #include &...
0
votes
4answers
2k views

Can't submit or check

I'm trying to upload my assignment, but I keep getting the same error whenever I run the check50 or submit50 command: "Make sure your username and/or password are valid and submit50 is enabled ...
0
votes
1answer
73 views

*** No rule to make target 'runoff'. Stop. Even though I'm in the correct directory

I keep getting the No rule to make target error on the runoff problem even when I'm in the correct directory as you can see in the picture attached. Note: I have just completed the vote function for ...
0
votes
1answer
28 views

RuntimeError: unused values (wp) in Final Project

I'm working on my final project for the Web Track and whenever someone wins the game (tictactoe) I get an internal server error and the error message: RuntimeError: unused values (wp) Now what this ...
0
votes
1answer
76 views

My code does what I want it to do, but I get errors with check50 (PSET1, MARIO, LESS)

When I run my code in the terminal it gives me the correct response. However, check50 indicates there is an issue with my spaces. I have spend 2 days looking at it but I dont know whats wrong. INPUT /...
0
votes
1answer
23 views

Terminal window not update

Struggling after Certain changes were made on the file and compiled as compiler failed to identify the changes made.I.e the terminal window displays the same errors in the file. This meant program ...
0
votes
1answer
136 views

Unable to compile pset1. Mario (Less comfortable)

I am unable to compile my file and get many errors. INPUT #include <cs50.h> #include <stdio.h> int main(void) //Prompt for the height of the pyramid int height; height = get_int (...
1
vote
2answers
60 views

ERROR PROBLEM SET 1- CS50 LIBRARY

I have included the cs50 library however, I am still getting an error. Input: #include <stdio.h> #include <cs50.h> int main(void) { printf("hello, %s\n"); } string name = ...
0
votes
2answers
506 views

Problem Set 1 help, clang hello.c, and ls (list)

When I follow the directions from Problem Set 1 on the website, I get an error code when I type in clang hello.c and when i type in ls the list doesn't show up. Before I made the new file so I could ...
0
votes
1answer
62 views

Getting partial output in Blur (pset4 filter) , trying to debug edge and middle pixel

My program when run through check50 says the corner pixels work but nothing else seems to work. I have been stuck on this problem for days and after not getting any considerable reply on the cs50 ...
0
votes
1answer
66 views

Error: use of undeclared identifier 'j'

My code looks fine but "make mario" insists that "Error: use of undeclared identifier 'j'". #include <cs50.h> #include <stdio.h> int main(void) { int n; do { n = get_int ("Height: "...
0
votes
0answers
53 views

I am having trouble with the 2020 pset4 Recover assignment and even though my code compiles, it doesnt work, its not recovering the images

EDIT: I posted this 17 days ago please help. Heres my code and it wud be great if someone cud help A.S.A.P. thankyou! #include <stdio.h> #include <stdlib.h> #include<stdint.h> #...
0
votes
1answer
100 views

Mario problem in IDE

I was trying to run the below program on CS50 IDE, however it shows an error, is it something wrong with the CS50 IDE ? #include <cs50.h> #include <stdio.h> int main(void) { int n; ...
0
votes
1answer
265 views

cs50 question. Pset2 Readability

hi i need help in making Readability. i get an error when i put in make readability. this the error i get. $ make readability clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-...
0
votes
0answers
2k views

NameError: name 'db' is not defined

I've made a simple code using python, where with the help of Flask_sqlalchemy I am trying to create 2 tables in a database which is being hosted by Heroku. The file db.py contains my table details ...
0
votes
3answers
47 views

Mario Problem set 1 undefined reference

This is the error I'm getting and I'm not sure why it isn't working because this is how it was done in the example in the lecture. This is done using and for reference. I've looked similar questions ...
0
votes
1answer
30 views

Problem set 1 Mario variable issue

I've been staring at my computer for so long trying little tweeks to fix the error message. TLDR how do I stop the shadow message from appearing and initialize variable h? The image looks confusing ...

1
2 3 4 5