Skip to content

No output #8

@pausrn

Description

@pausrn

When I run the program he is decoding the file well. But at the end there is no output, my folder stay empty. Am I missing something? What is the output path file supposed to be?

The console output :

Reading ../../Documents/DecodedAndDeveloped/2019_07_22_LRPT_19-58-06.s...
pos=39993840 ( 99.96%) ( 6, 6322,49) sig= -240 rs=(-1,-1,-1,-1) C5A84106
Total: 61.484665
Processing: 0.000000
Correlation: 35.990200
Viterbi: 22.235390
ECC: 3.199975
Remainder: 0.059097
Packets: 0 / 1650

The compilation output :

Free Pascal Compiler version 3.0.4+dfsg-22 [2019/01/24] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling medet.dpr
Compiling ./alib/asys.pas
Compiling met_to_data.pas
Compiling ./alib/ecc.pas
ecc.pas(223,87) Warning: Local variable "root" does not seem to be initialized
ecc.pas(235,18) Warning: Local variable "loc" does not seem to be initialized
ecc.pas(223,35) Warning: Local variable "omega" does not seem to be initialized
Compiling correlator.pas
Compiling viterbi27.pas
Compiling ./alib/bitop.pas
Compiling ./alib/tim.pas
Compiling met_jpg.pas
Compiling ./alib/bmp.pas
Compiling huffman.pas
huffman.pas(126,15) Warning: Local variable "v" does not seem to be initialized
Compiling dct.pas
Compiling met_packet.pas
medet.dpr(285,19) Warning: Local variable "hard" of a managed type does not seem to be initialized
Linking medet
/usr/bin/ld.bfd : avertissement : link.res contient des sections de sortie; avez-vous oublié -T?
2674 lines compiled, 0.6 sec
5 warning(s) issued

Update :
So I tried some troubleshooting (which isn't easy since I don't know anything in Pascal) and apparently it seem that the variable "length(big_img)" is equal to 0 which break the saving of the image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions