fcb manager not opening

7 posts / 0 new
Last post
dcallas
dcallas's picture
fcb manager not opening

I installl the last version of it 2.2.0 on mac osx 10.13.6

when i try to open it i've got the message : error: File has invalid header

press OK to ignore and risk data corruption.

Press abort to kill the program.

What must i do ?

thanks

Callas

Mark van den Berg
Mark van den Berg's picture

The same problem (though concerning BC Manager) was reported here.
As I explained in that topic, the direct cause of the error message is that the application's stp-file (for FCB1010 Manager: "fcbman.stp") or mru-file ("fcbman.mru") doesn't start with the correct header line ("[FCB1010 Manager]").

However, I still don't know the underlying cause of the problem.
So it would help greatly if you could tell me what these configuration files currently look like on your system.
E.g. is one of these files empty, or truncated, or does it contain garbage, or is it locked by the operating system?

You may be able to determine what's wrong exactly as follows:

Open a terminal window, e.g. via Applications -> Utilities -> "Terminal.app".
In this window, enter the following commands:

First, go to FCB1010 Manager's configuration folder:
cd ~/.config/mountain_utilities/fcbman

Then get a list of the files in that folder:
ls -l
On my system this gave me:
-rw-r--r--  1 mark  staff   207 Nov  9 14:07 fcbman.ini
-rw-r--r--  1 mark  staff   523 Nov  9 14:07 fcbman.mru
-rw-r--r--  1 mark  staff  2626 Nov  9 14:07 fcbman.stp

So are any of these files missing on your system?
And look at the fifth column, containing the file sizes: these should be roughly the same as on my system.
(A size of 0 would be bad, and so would be a very small or very big value.)

A simple way to see the actual content of each file is this:

more fcbman.ini
For me this returned:
[FCB1010 Manager]
Version=2.2.0
SetupFile=/Users/mark/.config/mountain_utilities/fcbman/fcbman.stp
AutoSaveSetup=1
UpdateAutoCheck=0
UpdateFrequency=30
UpdateMinDevelopmentStage=0
UpdateLastCheck=-1

more fcbman.stp
For me this returned:
[FCB1010 Manager]
Version=2.2.0
OpenDir=/Users/mark
SaveDir=/Users/mark

(etc.)

more fcbman.mru
For me this returned:
FCB1010 Manager]
Version=2.2.0
SetupFile1=/Users/mark/.config/mountain_utilities/fcbman/fcbman.stp
SetupFile2=

(etc.)

Note: the ~/.config/mountain_utilities/fcbman folder is hidden, so it doesn't show up in Finder, unless you allow Finder to show hidden folders.
So if you want to look at these files in a text editor (TextEdit.app or whatever), it may be easier to copy them to your desktop:
cp fcbman.* ~/desktop
Then you can simply open these copies in your favorite text editor from Finder.

Good luck!
   Mark.

dcallas
dcallas's picture

hello thanks for your answer

here is what i found, but i understood nothing ;)

 

dcallas
dcallas's picture

cd ~/.config/mountain_utilities/fcbman
dc: stack empty
dc: stack empty
dc: stack empty
dc: stack empty
dc: stack empty
dc: stack empty
dc: 'g' (0147) unimplemented
dc: stack empty
dc: 'm' (0155) unimplemented
dc: stack empty
dc: 'u' (0165) unimplemented
dc: stack empty
dc: 't' (0164) unimplemented
dc: stack empty
dc: stack empty
dc: stack empty
dc: 'u' (0165) unimplemented
dc: 't' (0164) unimplemented
dc: input base must be a number between 2 and 16 (inclusive)
dc: register 'i' (0151) is empty
dc: 't' (0164) unimplemented
dc: stack empty
dc: 'e' (0145) unimplemented
dc: stack empty
dc: 'b' (0142) unimplemented
dc: 'm' (0155) unimplemented
dc: stack empty
dc: stack empty

ls -l
dc: register 's' (0163) is empty
dc: stack empty
dc: register 012 is empty

more fcbman.ini
dc: 'm' (0155) unimplemented
dc: stack empty
dc: stack empty
dc: 'e' (0145) unimplemented
dc: 'b' (0142) unimplemented
dc: 'm' (0155) unimplemented
dc: stack empty
dc: stack empty
dc: input base must be a number between 2 and 16 (inclusive)
dc: stack empty
dc: stack empty

more fcbman.stp
dc: 'm' (0155) unimplemented
dc: stack empty
dc: stack empty
dc: 'e' (0145) unimplemented
dc: 'b' (0142) unimplemented
dc: 'm' (0155) unimplemented
dc: stack empty
dc: stack empty
dc: stack empty

Mark van den Berg
Mark van den Berg's picture

You must have inadvertently started the "dc" application, which is the "Desk Calculator".
Of course this Desk Calculator can't handle input like "~/.config/mountain_utilities/fcbman" and "ls -l", hence it returned all these nonsensical error messages.

dcallas
dcallas's picture

ok i understood finally.  i followed your links here.

I delete all files in .config/mountain_utilities/fcbman/

and i restarted the soft so it works now

thanks a lot for all your great work.

 

Mark van den Berg
Mark van den Berg's picture

Glad it works for you now.

However, I now still don't know what's causing the "invalid header" error in the first place.
So if anyone gets hit by the same error, please perform the analysis outlined above and report back.