Exception: a primitive has failed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception: a primitive has failed

Diana Francisca Adamatti
Hi,
my application has a graphic interface, and in Windows it is works ok. However, today, I am trying to run it in linux and the execption "a primitive has failed"  is showed to ApplicationWindow.
Anynbody knows which is the problem?

Thanks,
Diana

Reply | Threaded
Open this post in threaded view
|

Re: Exception: a primitive has failed

Janko Mivšek
Hi Diana,

Can you send us a bit more information about that exception (with Copy
stack)?

Best regards
Janko

Diana Francisca Adamatti wrote:
> Hi,
> my application has a graphic interface, and in Windows it is works ok. However, today, I am trying to run it in linux and the execption "a primitive has failed"  is showed to ApplicationWindow.
> Anynbody knows which is the problem?
>
> Thanks,
> Diana
>
>

Reply | Threaded
Open this post in threaded view
|

RES: Exception: a primitive has failed

Diana Francisca Adamatti
In reply to this post by Diana Francisca Adamatti
Hi Janko,
I copied the screen error (in annex). Be may it helps to better understand...

Thanks
Diana

-----Mensagem original-----
De: Janko Mivsek [mailto:[hidden email]]
Enviada: qua 17/5/2006 16:50
Para: Diana Francisca Adamatti; 'VWNC'
Cc:
Assunto: Re: Exception: a primitive has failed

Hi Diana,

Can you send us a bit more information about that exception (with Copy
stack)?

Best regards
Janko

Diana Francisca Adamatti wrote:
> Hi,
> my application has a graphic interface, and in Windows it is works ok. However, today, I am trying to run it in linux and the execption "a primitive has failed"  is showed to ApplicationWindow.
> Anynbody knows which is the problem?
>
> Thanks,
> Diana
>
>






foto.jpeg (61K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: RES: Exception: a primitive has failed

Janko Mivšek
Diana, this is probably not related to your problem, but on linux you
need to set path to VW directory correctly, otherwise you'll have
exception reports without source code as you have.

For example, here is part of my .bashrc :

export VISUALWORKS=/home/mivsek/vw7.4
export PATH=$VISUALWORKS/bin/linux86:$PATH

Best regards
Janko

Diana Francisca Adamatti wrote:

> Hi Janko,
> I copied the screen error (in annex). Be may it helps to better understand...
>
> Thanks
> Diana
>
> -----Mensagem original-----
> De: Janko Mivsek [mailto:[hidden email]]
> Enviada: qua 17/5/2006 16:50
> Para: Diana Francisca Adamatti; 'VWNC'
> Cc:
> Assunto: Re: Exception: a primitive has failed
>
> Hi Diana,
>
> Can you send us a bit more information about that exception (with Copy
> stack)?
>
> Best regards
> Janko
>
> Diana Francisca Adamatti wrote:
>
>>Hi,
>>my application has a graphic interface, and in Windows it is works ok. However, today, I am trying to run it in linux and the execption "a primitive has failed"  is showed to ApplicationWindow.
>>Anynbody knows which is the problem?
>>
>>Thanks,
>>Diana
>>
>>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>

--
Janko Mivšek
Svetovalec za informatiko
EraNova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565

Reply | Threaded
Open this post in threaded view
|

Using input buffering with DataSet widget

Cesar Rabak
In reply to this post by Diana Francisca Adamatti
Is it possible to use a DataSet and synchronize the updates using a
trigger in its aspect like it's used with Aspect Paths in other widgets?

Can't find any info in GUIDevGuide :-(

Regards

--
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/

Reply | Threaded
Open this post in threaded view
|

RE: Using input buffering with DataSet widget

Boris Popov, DeepCove Labs (SNN)
I've done this a number of times (column aspect: selectedItem firstName |
trigger), but had to fix up datasets to work properly, see the fileout.
Beware I hadn't tested this with 7.4, perhaps some of the overrides aren't
as healthy there, but I can tell you it used to work just fine in 7.3 at
least.

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: Cesar Rabak [mailto:[hidden email]]
Sent: Wednesday, May 17, 2006 1:23 PM
To: [hidden email]
Subject: Using input buffering with DataSet widget

Is it possible to use a DataSet and synchronize the updates using a
trigger in its aspect like it's used with Aspect Paths in other widgets?

Can't find any info in GUIDevGuide :-(

Regards

--
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/


DataSetBufferedVHsFixes.st (6K) Download Attachment
smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using input buffering with DataSet widget

Cesar Rabak
Boris Popov escreveu:
> I've done this a number of times (column aspect: selectedItem
> firstName | trigger), but had to fix up datasets to work properly,
> see the fileout. Beware I hadn't tested this with 7.4, perhaps some
> of the overrides aren't as healthy there, but I can tell you it used
> to work just fine in 7.3 at least.
>
Thanks a lot Boris,

It didn't come to my mind immediately that this could be version
specific. For the this specific case, I'm using 7.3.1nc, which I believe
is near enough :-)

Regards,

--
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/

Reply | Threaded
Open this post in threaded view
|

RE: Using input buffering with DataSet widget

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Cesar Rabak
It not that hard to get it updated for newer versions of VisualWorks either.
Its only a handful of overrides that you need go through and "compare with
system" making sure there weren't any changes done in base compared to how
these methods looked way back when these overrides were created.

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: Cesar Rabak [mailto:[hidden email]]
Sent: Wednesday, May 17, 2006 2:09 PM
To: Boris Popov
Cc: [hidden email]; [hidden email]
Subject: Re: Using input buffering with DataSet widget

Boris Popov escreveu:
> I've done this a number of times (column aspect: selectedItem
> firstName | trigger), but had to fix up datasets to work properly,
> see the fileout. Beware I hadn't tested this with 7.4, perhaps some
> of the overrides aren't as healthy there, but I can tell you it used
> to work just fine in 7.3 at least.
>
Thanks a lot Boris,

It didn't come to my mind immediately that this could be version
specific. For the this specific case, I'm using 7.3.1nc, which I believe
is near enough :-)

Regards,

--
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using input buffering with DataSet widget

Cesar Rabak
Boris Popov escreveu:
> It not that hard to get it updated for newer versions of VisualWorks either.
> Its only a handful of overrides that you need go through and "compare with
> system" making sure there weren't any changes done in base compared to how
> these methods looked way back when these overrides were created.
>
> Cheers!
>
I've integrated the overrides in my working image.

Now I'm noticing the following behaviour:

On a dataset whose column has an aspect path with update trigger, the
widget stores the value entered only if in the whole dataset this is the
only value changed, otherwise, the cell's value reverts to the one in
the model (when we put focus in other cell).

In other words, it seems the selection is being capable of storing just
a single value holder for the whole dataset!

Is there something I'm doing wrong?

Again, searching for information on this be in the GUI developers guide
or earlier postings in this list does not come with anything concrete
(though I've seen similar questions, I could not find any repply)...

TIA



--
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/