Phab 1.13-1.14

bridged with qdn.public.qnx4.photon
Post Reply
Gianfranco Girardi

Phab 1.13-1.14

Post by Gianfranco Girardi » Tue Mar 26, 2002 3:21 pm

We implemented some photon applications using phAB in QNX 4.24,
Photon-Phab 1.13 and tried to port them in QNX 4.25, Photon-Phab 1.14,
but when we try to open the application with phab, we get the message:

PhAB: Can't open: “abapp.dfn”(Permission denied). Please resolve the
problem and re-try this operation.

But we checked the permissions and everithing is ok. It looks like a
problem of incompatibility between 1.13 and 1.14.
Did anyone experience a problem like this?

Thank you in advance.

Gianfranco.

Wojtek Lerch

Re: Phab 1.13-1.14

Post by Wojtek Lerch » Tue Mar 26, 2002 5:05 pm

Gianfranco Girardi <gianfranco.girardi@gretag.com> wrote:
We implemented some photon applications using phAB in QNX 4.24,
Photon-Phab 1.13 and tried to port them in QNX 4.25, Photon-Phab 1.14,
but when we try to open the application with phab, we get the message:

PhAB: Can't open: “abapp.dfn”(Permission denied). Please resolve the
problem and re-try this operation.

But we checked the permissions and everithing is ok. It looks like a
problem of incompatibility between 1.13 and 1.14.
Did anyone experience a problem like this?
Is the file writable?

Older versions of PhAB would open the file for reading, load it into
memory, and then close it; and only attempt to open it for writing if
you tried to save the application. At some point (perhaps it was 1.14;
I don't remember) we changed it so that PhAB opens abapp.dfn for reading
and writing, locks it an keeps it open. The purpose of this change was
to make it possible for PhAB to detect that someone has the application
already open.

You can give the -n option to appbuilder to make it behave the old way.
This is necessary not only if your abapp.dfn file is read-only, but also
when it's on a filesystem that doesn't support locking (like NFS).

--
Wojtek Lerch QNX Software Systems Ltd.

Post Reply

Return to “qdn.public.qnx4.photon”