Questions tagged [unexpectendoffile]
50 questions
0
votes
0 answers
Pickle EOF with Python3.8
I just recently changed my python version from 3.6 to 3.8 and I am struggling with my pickle file formats.
My code is writing an object to a pickle file '5lc_payload0.pickle'
with open('5lc_payload0.pickle', 'wb') as f:
pickle.dump(my_object,…

JPV
- 1,079
- 1
- 18
- 44
0
votes
0 answers
trying to extract file from corrupted zip
after a few attempts at the file with zip -F and zip -FF and 7zip and some other repairing tools,
when running zipdetails it says : Unexpecded END at offset 00122462, value D40D148C.
can I somehow use a hex editor to fix it? what does it mean…

amirzau
- 11
- 2
0
votes
1 answer
Attempt to read past end-of-file at address
writing a very simple read file in Fortran 95. The file has only three numbers in it, every time I run the code, the .exe file says "error: attempt to read end-of-file at address", any clues why this keeps happening?
The code is :
program…
0
votes
2 answers
C - Unexpected random characters being read from end of file
I'm trying to read in a list of comma separated words from a csv file, and I'm having trouble dealing with the seamingly random characters that appear at the end of the ile when read in by C. The characters at the end of the file seem to change…

Jack Pollock
- 344
- 1
- 13
0
votes
1 answer
PHP unexpected end of file, in jwt login page
i can not understand why give me an error that says unexpected en of file at 74 last line of code.
i tried with or without ?> but change error and not works anyway someone can help me?
is a jwt page login, i use a slimapp framework.
when i do a call…

matteo sperti
- 31
- 1
- 7
0
votes
1 answer
Java End of File Exception
I am writing a simple instant messaging program using JavaFX and have encountered an an End Of File exception and after hours of debugging I cannot find a solution.
My program is written in two parts, the client and the server. They send serialized…

JimmyT1601
- 21
- 4
0
votes
2 answers
My Login Page just says Parse Error: Unexpected end of file
My login page just says
Parse Error: Unexpected end of file
Can you please help me?
I am Using XAMPP (I don't think that's the problem but I'm writing as many details as I can to make it easier to answer).

maxim pavlenko
- 17
- 4
0
votes
1 answer
Add custom SoapHeader using SpringBoot
Using SoapUI I am able to send a request with a custom SOAP header like this:
ws://xxx.com/PP/QM/GPMService/Vx

du-it
- 2,561
- 8
- 42
- 80
0
votes
3 answers
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\my-blog\admin\includes\content\edit_article.php on line 51
This is my php code, is there something wrong?
HP CODE:

Aqwam Hizbal
- 1
- 1
0
votes
1 answer
fread_s reading the wrong amount of bytes
I am reading a collection file (20 or so small files in one) with fread_s and the content is being written in a struct. Like 99% of the times it reads the data correctly, but one time, at always the same position it seems to ignore the byte size of…

WizzardMaker
- 82
- 8
0
votes
0 answers
SQL Server bulk insert CSV last line handling
I have been looking for quite a while for an answer to this and I am amazed it does not seem to be readily available. I have a large number of CSV files. Over 100,000 in fact the last line has "end of report" as the second column and does not have…

Mike O
- 1
0
votes
1 answer
php create html-table with unknown amount of columns in database
i want to create an html table from a mariadb database. I dont know how many columns each Database table will end up with.
So as i dont know how many columns i have, i came up with this:
0
votes
0 answers
Program Close Python
When I run this code from IDLE, it runs fine. When I run the py file from the command line, I insert the file name and press enter, and the program closes. Why is this happening? Do I need to write some kind of pause function in the code, or is…

pedro santos
- 337
- 1
- 2
- 9
0
votes
2 answers
Getting unexpected end of file error. Syntax error. Php
I have created one php class It gives me syntax error. Unexpected end of file. As I test on localhost it works well. But when I test on server it shows this error. My server is on linux platform and I am working on…

Sid
- 2,792
- 9
- 55
- 111
0
votes
1 answer
Unexpected end of input in CoffeeScript
I've started a little game in CoffeScript using canvas.
My problem is this error:
coffee -c -o lib/ src/
/src/interface.coffee:8:48: error: unexpected end of input
@ctx.clearRect 0, 0, @size[0], @size[1]
…

caffeinated-fox
- 115
- 7