View Full Version : Could you please test this? :)
northen
Jan 22, 2005, 04:59 AM
I have written a piece of software, iNfo, that assembles & gathers system info, in Cocoa. It isn't so extensive currently, but I am looking to expand it (as well as offer some of the functionality as dynamic libraries, currently libSysCtl, libFreeSpace, libSystem and libVelocity ;))
EDIT: I have released a new version with new functionality:
http://departure.dk/files/newscreen.png
http://departure.dk/files/iNfo.zip
Hope you like it :)
Fredstar
Jan 22, 2005, 05:03 AM
Works great on my imac and getting all the right info and everything seems to be working.
didn't realise my boot time was so long ago :P
edesignuk
Jan 22, 2005, 05:12 AM
Works fine here too :)
Wes
Jan 22, 2005, 05:25 AM
It works but there are a few bugs.
It has issues with character encoding for me.
northen
Jan 22, 2005, 06:36 AM
It works but there are a few bugs.
It has issues with character encoding for me.
I see. I am working on fixing it, as well as adding new features :)
H&Kie
Jan 22, 2005, 06:57 AM
Tested on my iMac G5 and all seems well
Thomas Veil
Jan 22, 2005, 07:08 AM
Same here. Worked fine on my old-fashioned 600MHz iMac G3.
virividox
Jan 22, 2005, 07:14 AM
works here too
northen
Jan 22, 2005, 07:15 AM
Same here. Worked fine on my old-fashioned 600MHz iMac G3.
Did it reveal the CPU to be a PowerPC G3? :)
atari1356
Jan 22, 2005, 07:25 AM
Works fine for me on a 15" 1.5GHZ PowerBook... actually, it says my processor is 1499MHz - where's my 1MHz Apple??!! :p
northen
Jan 22, 2005, 07:53 AM
Works fine for me on a 15" 1.5GHZ PowerBook... actually, it says my processor is 1499MHz - where's my 1MHz Apple??!! :p
:D Try the new version
edesignuk
Jan 22, 2005, 08:47 AM
The new version you just submitted to MR crashes as soon as I click "Generate Report".
iMac G5, 10.3.7.
northen
Jan 22, 2005, 08:52 AM
The new version you just submitted to MR crashes as soon as I click "Generate Report".
iMac G5, 10.3.7.
Okay, does it crash with any message? Can you try opening the binary package (right-click, show package contents), executing the actual binary in Contents/MacOS/ (named iNfo), to see where the application fails? It will produce some messages in a Terminal.app instance, which would be very helpful for me in determining, what the problem is :)
edesignuk
Jan 22, 2005, 08:55 AM
imacg5:~ jelliott$ /Applications/iNfo.app/Contents/MacOS/iNfo; exit
Bus error
logout
[Process completed]
Bear
Jan 22, 2005, 08:55 AM
Crashes when I click Generate Report. G4 MDD FW800, 10.3.7.
The following is a general rant that applies to many people:
Also, as a reminder "Could you please test this?" As a thread title doesn't give much clues about what you want tested. At the very leasy include the name of the software you want tested. This way if I need to go back to the thread, I don't have to remember what odd title it had, I can just scan the thread list and look for the Application name.
northen
Jan 22, 2005, 09:04 AM
imacg5:~ jelliott$ /Applications/iNfo.app/Contents/MacOS/iNfo; exit
Bus error
logout
[Process completed]
Try: http://departure.dk/files/iNfo-test.zip
Added some security handling. Please report back if it doesn't work.
edesignuk
Jan 22, 2005, 09:09 AM
Still exactly the same problem.
northen
Jan 22, 2005, 09:13 AM
Still exactly the same problem.
Bugger :P It's odd, it does neither on my iBook G4/PM G5.
Oh well, another one :P http://departure.dk/files/iNfo-test2.zip
edesignuk
Jan 22, 2005, 09:16 AM
Still the same problem, also tried this version on my laptop, and get exactly the same thing.
AlPB, 10.3.7.
Diatribe
Jan 22, 2005, 09:17 AM
Bugger :P It's odd, it does neither on my iBook G4/PM G5.
Oh well, another one :P http://departure.dk/files/iNfo-test2.zip
Crashes for me too upon clicking generate report.
12" 1,33 GHz Powerbook 10.3.7
northen
Jan 22, 2005, 09:17 AM
Still the same problem, also tried this version on my laptop, and get exactly the same thing.
AlPB, 10.3.7.
Do you have X11/Developer tools installed on those machines? I suspect that if they aren't installed, the program could crash (it attempts to detect the install of them)
edesignuk
Jan 22, 2005, 09:18 AM
No I don't, on either system.
northen
Jan 22, 2005, 09:22 AM
No I don't, on either system.
http://departure.dk/files/iNfo-test3.zip
I have removed the detection of X11/XCode. I might as well rip out my hair if it doesnt work after this.
edesignuk
Jan 22, 2005, 09:23 AM
http://departure.dk/files/iNfo-test3.zip
I have removed the detection of X11/XCode. I might as well rip out my hair if it doesnt work after this.
By gum he's done it! :D
It's working now :)
northen
Jan 22, 2005, 09:25 AM
By gum he's done it! :D
It's working now :)
Aaah :D :D
A buffer overflow in the file opening procedure of files that don't exist :D Now, brace for a final test version, I just want to check which methods, I previously left out, that are sane to use :)
northen
Jan 22, 2005, 09:28 AM
By gum he's done it! :D
It's working now :)
Try http://departure.dk/files/iNfo-ft.zip now :P Re-added a few of the features, I omitted before.
edesignuk
Jan 22, 2005, 09:30 AM
Yup, that works.
northen
Jan 22, 2005, 09:32 AM
Yup, that works.
Great. I know not to fiddle with the X11/XCode checking now :P Does it generate correct data? :) Thanks for your assistance :)
edesignuk
Jan 22, 2005, 09:34 AM
Yup, seems to.
No problem :)
northen
Jan 22, 2005, 09:36 AM
Yup, seems to.
No problem :)
Now I just need attention and a slight rename of files :P *tries small danish mac news site :o*
Wes
Jan 22, 2005, 09:41 AM
It works but I still get wonky drive issues. The drive it doesn't work on is a Tiger drive (Legally obtained).
northen
Jan 22, 2005, 09:42 AM
It works but I still get wonky drive issues. The drive it doesn't work on is a Tiger drive (Legally obtained).
Could have to do with that, actually.
SodaPopMonster
Jan 22, 2005, 09:47 AM
Works on my computer flawlessly, iBook G3 900MHz
northen
Jan 22, 2005, 10:21 AM
Works on my computer flawlessly, iBook G3 900MHz
Does it display the CPU as a G3?
Jsmit
Jan 22, 2005, 10:49 AM
Says G3 on my G3 iMac. Every thing else looks right too.
Hoef
Jan 22, 2005, 11:15 AM
Are you pulling all my senstive info, keystrokes and credit card info? :p
northen
Jan 22, 2005, 11:18 AM
Are you pulling all my senstive info, keystrokes and credit card info? :p
Nope, remember OS X is so secure, the app would require admin authentication a thousand times before even remotely being able to do that :D I'll publish the full source code in a giffy ;)
neoelectronaut
Jan 22, 2005, 11:19 AM
Worked perfectly on my end.
By the way, I'm really digging the icon.
northen
Jan 22, 2005, 11:21 AM
Worked perfectly on my end.
By the way, I'm really digging the icon.
Hehe, an early Color Macintosh :D
sjpetry
Jan 22, 2005, 11:46 AM
Works here. :)
Vster
Jan 22, 2005, 12:02 PM
I'm a little confused. I have a 1 GHz PB but program says CPU frequency 667 MHZ :confused:
Wes
Jan 22, 2005, 12:04 PM
Could you post a pic of Apple System Profiler's screen too?
Vster
Jan 22, 2005, 12:07 PM
Could you post a pic of Apple System Profiler's screen too?
Here you go :)
Wes
Jan 22, 2005, 12:10 PM
Here you go :)
Great, that just removes the possibility that you were jipped when you bought it ;).
northen
Jan 22, 2005, 12:13 PM
Here you go :)
Is the PowerBook running on automatic CPU mode? In that case, iNfo reports the actual CPU speed, which is 5*bus speed, whereas the system tool probably reports the max speed, 7.5*bus speed, or almost 1 GHz.
iNfo gets its information from the sysctl(1) utility, which polls the hardware and asks about information, in this case, the CPU speed, whereas About This Mac reads the CPU Identifier string using IOKit or similar.
Here's my libSysCtl which uses the command-line utility to avoid sysctl(3) return size problems:
/* libSysCtl 1.0
Copyright (C) David H. Kristensen 2005-X
Licensed under the 3-clause BSD license */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
char * SysCtl_Get(char * string) {
char out[128];
char * bfr = (char*)malloc(128);
strcpy((char*)&out, "sysctl ");
strcat((char*)&out, string);
strcat((char*)&out, " > .libsysctl-tmp");
system(out);
FILE * xpo = fopen(".libsysctl-tmp", "r");
int i = 0, a;
int is_commated = 0;
while( (a=fgetc(xpo))!=EOF ) {
if(is_commated == 0 && (a == ':' || a == '=')) {
is_commated = 1;
}
else if(a == '\n') {
is_commated = 0;
}
else if(is_commated==1) {
bfr[i++] = a;
}
}
fclose(xpo);
bfr[i] = '\0';
system("rm .libsysctl-tmp");
return bfr;
}
northen
Jan 22, 2005, 03:09 PM
bumpex
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.