Re: [Meep-discuss] ERROR (expecting pair)

2018-01-22 Thread Thomas AUZINGER

Hi,

This is an extremely unspecific error and indicates that you specify 
some function argument wrong.
Commenting one line after the other should make it possible to identify 
the source of the error.

Please provide this information.

All the best,
Thomas


On 22-Jan-18 16:37, Midhat Ahmed wrote:


Hi,

I am trying to see the output of a source incident upon a gold 
nanoparticle of radius 40nm. I am getting the following error:


ERROR: In procedure cdr:

ERROR: In procedure cdr : Wrong type (expecting pair) : #f

And back trace showed the following :

Backtrace:
In ice-9/boot-9.scm:
 157: 10 [catch #t # ...]
In unknown file:
   ?: 9 [apply-smob/1 #]
In ice-9/eval.scm:
 432: 8 [eval # #]
 432: 7 [eval # #]
In unknown file:
   ?: 6 [primitive-load "gold.ctl"]
In ice-9/eval.scm:
 432: 5 [eval # #]
 432: 4 [eval # #]
In ice-9/boot-9.scm:
 702: 3 [map # ((()))]
In ice-9/eval.scm:
 387: 2 [eval # #]
 387: 1 [eval # #]
In unknown file:
   ?: 0 [cdr #f]

Could anyone please tell  me what in my code is creating this error 
and how it can be solved.


thanks

___

**

*M.Sc. Midhat  Ahmed*

*Clinical Photonics Lab*



Tel. :     +49 9131 85 23242

Fax :     +49 9131 85 23234

E-Mail: _midhat.ah...@lpt.uni-erlangen.de 
_




**

*Friedrich-Alexander-University Erlangen-Nürnberg*

*Institute of Photonic Technologies*

Konrad-Zuse-Str. 3/5

91052 Erlangen, Germany

www.lpt.uni-erlangen.de 





___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss


___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] ERROR (expecting pair)

2018-01-22 Thread Midhat Ahmed
Hi,

I am trying to see the output of a source incident upon a gold nanoparticle of 
radius 40nm. I am getting the following error:

ERROR: In procedure cdr:
ERROR: In procedure cdr : Wrong type (expecting pair) : #f

And back trace showed the following :
Backtrace:
In ice-9/boot-9.scm:
 157: 10 [catch #t # ...]
In unknown file:
   ?: 9 [apply-smob/1 #]
In ice-9/eval.scm:
 432: 8 [eval # #]
 432: 7 [eval # #]
In unknown file:
   ?: 6 [primitive-load "gold.ctl"]
In ice-9/eval.scm:
 432: 5 [eval # #]
 432: 4 [eval # #]
In ice-9/boot-9.scm:
 702: 3 [map # ((()))]
In ice-9/eval.scm:
 387: 2 [eval # #]
 387: 1 [eval # #]
In unknown file:
   ?: 0 [cdr #f]

Could anyone please tell  me what in my code is creating this error and how it 
can be solved.

thanks


___

M.Sc. Midhat  Ahmed
Clinical Photonics Lab


Tel. : +49 9131 85 23242
Fax : +49 9131 85 23234
E-Mail: 
midhat.ah...@lpt.uni-erlangen.de


Friedrich-Alexander-University Erlangen-Nürnberg
Institute of Photonic Technologies
Konrad-Zuse-Str. 3/5
91052 Erlangen, Germany

www.lpt.uni-erlangen.de




___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss