Lisp HUG Maillist Archive

CLIM and line-style-thickness

Hi,

 

We are using CLIM for implementing the graphical user interface of our software product. Every once in a while we come across an error:

 

“No applicable methods for #<STANDARD-GENERIC-FUNCTION LINE-STYLE-THICKNESS 217688AA> with args (NIL)”.

 

I guess that that basically means that the defgeneric LINE-STYLE-THICKNESS received NIL (when it was expecting a line-style object).

 

The error seems to cause the application frame in question to become corrupt meaning that the window contents are no longer updated making the GUI quite unusable. Yet, the software still works; it’s just the application frame that is not functioning correctly.

 

It would be interesting to know if somebody else has encountered this kind of a problem, and have you found out any such solutions that would help in preventing this error from taking place? One of the problems is that the error happens only every once in a while when updating the window contents, not always. It also seems to take place more frequently on some machines than on others. We are using LispWorks 6.0 Professional (32-bit) for Windows.

 

With Best Regards,

Teemu Liikala

Re: CLIM and line-style-thickness

Surely a simple :before or :around wrapper could solve this?


Sent from my iPad

On Sep 1, 2010, at 1:52 PM, "Teemu Liikala" <tliikala@gmail.com> wrote:

Hi,

 

We are using CLIM for implementing the graphical user interface of our software product. Every once in a while we come across an error:

 

“No applicable methods for #<STANDARD-GENERIC-FUNCTION LINE-STYLE-THICKNESS 217688AA> with args (NIL)”.

 

I guess that that basically means that the defgeneric LINE-STYLE-THICKNESS received NIL (when it was expecting a line-style object).

 

The error seems to cause the application frame in question to become corrupt meaning that the window contents are no longer updated making the GUI quite unusable. Yet, the software still works; it’s just the application frame that is not functioning correctly.

 

It would be interesting to know if somebody else has encountered this kind of a problem, and have you found out any such solutions that would help in preventing this error from taking place? One of the problems is that the error happens only every once in a while when updating the window contents, not always. It also seems to take place more frequently on some machines than on others. We are using LispWorks 6.0 Professional (32-bit) for Windows.

 

With Best Regards,

Teemu Liikala

Re: CLIM and line-style-thickness

Thanks for the tip! Well, actually it seems that even the following tidbit of code is adequate at least to prevent the error. 
 
(defmethod line-style-thickness (object) 1)
 

With Best Regards,

Teemu Liikala 
 

2010/9/2 Clinton Hyde <chyde@cox.net>
Surely a simple :before or :around wrapper could solve this?


Sent from my iPad

On Sep 1, 2010, at 1:52 PM, "Teemu Liikala" <tliikala@gmail.com> wrote:

Hi,

 

We are using CLIM for implementing the graphical user interface of our software product. Every once in a while we come across an error:

 

“No applicable methods for #<STANDARD-GENERIC-FUNCTION LINE-STYLE-THICKNESS 217688AA> with args (NIL)”.

 

I guess that that basically means that the defgeneric LINE-STYLE-THICKNESS received NIL (when it was expecting a line-style object).

 

The error seems to cause the application frame in question to become corrupt meaning that the window contents are no longer updated making the GUI quite unusable. Yet, the software still works; it’s just the application frame that is not functioning correctly.

 

It would be interesting to know if somebody else has encountered this kind of a problem, and have you found out any such solutions that would help in preventing this error from taking place? One of the problems is that the error happens only every once in a while when updating the window contents, not always. It also seems to take place more frequently on some machines than on others. We are using LispWorks 6.0 Professional (32-bit) for Windows.

 

With Best Regards,

Teemu Liikala




--
Teemu Liikala (tliikala@gmail.com)

Re: CLIM and line-style-thickness

Hi,

Thanks for asking. The software is not web-based, it is local. Well, there are many communications capabilities but at the moment e.g. you cannot use the software with a web browser but you need the "local application". The software product is a simulator where the simulation models are modified and accessed via a CAD-like graphical user interface. The software's GUI is implemented with CLIM and LispWorks. The link below gives some more information.

http://www.nestejacobs.com/default.asp?path=111,360,13763,13780,13837,13838

With Best Regards,
Teemu
 
2010/9/2 Sheldon Ball <sheldon.ball@gmail.com>
Hi Teemu,
 
Nice to see that someone else uses CLIM.
Is your application local or web-based?
 
Thanks,
Sheldon

On Thu, Sep 2, 2010 at 4:56 AM, Teemu Liikala <tliikala@gmail.com> wrote:
Thanks for the tip! Well, actually it seems that even the following tidbit of code is adequate at least to prevent the error. 
 
(defmethod line-style-thickness (object) 1)
 

With Best Regards,

Teemu Liikala 
 

2010/9/2 Clinton Hyde <chyde@cox.net>

Surely a simple :before or :around wrapper could solve this?


Sent from my iPad

On Sep 1, 2010, at 1:52 PM, "Teemu Liikala" <tliikala@gmail.com> wrote:

Hi,

 

We are using CLIM for implementing the graphical user interface of our software product. Every once in a while we come across an error:

 

“No applicable methods for #<STANDARD-GENERIC-FUNCTION LINE-STYLE-THICKNESS 217688AA> with args (NIL)”.

 

I guess that that basically means that the defgeneric LINE-STYLE-THICKNESS received NIL (when it was expecting a line-style object).

 

The error seems to cause the application frame in question to become corrupt meaning that the window contents are no longer updated making the GUI quite unusable. Yet, the software still works; it’s just the application frame that is not functioning correctly.

 

It would be interesting to know if somebody else has encountered this kind of a problem, and have you found out any such solutions that would help in preventing this error from taking place? One of the problems is that the error happens only every once in a while when updating the window contents, not always. It also seems to take place more frequently on some machines than on others. We are using LispWorks 6.0 Professional (32-bit) for Windows.

 

With Best Regards,

Teemu Liikala




--
Teemu Liikala (tliikala@gmail.com)




--
Teemu Liikala (tliikala@gmail.com)
Updated at: 2020-12-10 08:38 UTC