i-nex / I-Nex

System information tool written in gambas3, python, bash
http://i-nex.linux.pl/
174 stars 24 forks source link

[13] Null object. #24

Closed tele1 closed 8 years ago

tele1 commented 8 years ago

Not working Compiled with instructions https://github.com/eloaders/I-Nex/issues/9 with I-nex from master (on github) on Manjaro 64 ( from repository also not working )

Error from i-nex window

This application has raised an unexpected error and must abort.

[13] Null object. Finfosys.Form_Open.85

From terminal:


$ ./i-nex
[08/18/2016 00:07:04.95] [INFO] [Finfosys.Form_Open.50] Starting log
[08/18/2016 00:07:04.951] [INFO] [Finfosys.Form_Open.79] Check whereis inex-cpuid and get JSON Data
[08/18/2016 00:07:04.956] [INFO] [Finfosys.Form_Open.81] Decode JSON Data
[08/18/2016 00:07:04.956] [INFO] [Finfosys.Form_Open.83] Add Values CPUID

$ ldd i-nex.gambas
it is not a dynamic executable program

What it is ?


With python 3 and without sed.

$ make 
Build I-Nex...
make -C I-Nex
make[1]: Wejście do katalogu '/home/tele/Pobrane/I-Nex-master/I-Nex'
Compiling i-nex project...
OK
make[1]: Opuszczenie katalogu '/home/tele/Pobrane/I-Nex-master/I-Nex'
Build JSON...
make -C JSON
make[1]: Wejście do katalogu '/home/tele/Pobrane/I-Nex-master/JSON'
Compile Static ⚑
Compile i-nex-edid ✔
gcc -o i-nex-edid i-nex-edid.c -g -Wall -O2
i-nex-edid.c: In function ‘detailed_block’:
i-nex-edid.c:194:2: warning: ‘width’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("    %dx%d @ ( %s%s%s%s%s) Hz (%s%s preferred)\n", width, height,
...
   fifty ? "50 " : "",
...
   sixty ? "60 " : "",
...
   seventyfive ? "75 " : "",
...
   eightyfive ? "85 " : "",
...
   reduced ? "60RB " : "",
...
   names[(x[2] & 0x60) >> 5],
...
   (((x[2] & 0x60) == 0x20) && reduced) ? "RB" : "");
...
i-nex-edid.c:155:9: note: ‘width’ was declared here
     int width, height;
...
i-nex-edid.c: In function ‘main’:
i-nex-edid.c:1656:26: warning: ‘conformant_extension’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  nonconformant_extension += parse_extension(x);
...
i-nex-edid.c:110:5: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%s%s: %s (%d)\n", prefix, field->name, v->description, val);
...
i-nex-edid.c:95:19: note: ‘v’ was declared here
     struct value *v;
...
i-nex-edid.c:1417:2: warning: ‘ofd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  write(ofd, edid, edid_lines * 16);
...
Compile i-nex-cpuid ✔
gcc -o i-nex-cpuid i-nex-cpuid.c -static -I/usr/include/libcpuid -lcpuid -O2
/usr/bin/ld: cannot find -lcpuid
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:24: compile-i-nex-cpuid] Błąd 1
make[1]: Opuszczenie katalogu '/home/tele/Pobrane/I-Nex-master/JSON'
make: *** [Makefile:25: build-json] Błąd 2