[mcxtrace-users] Problems with Component Source_div in McXtrace 3.0 on Binder
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Mon May 9 22:29:50 CEST 2022
Dear Jesus,
Two independent issues are in fact visible in your screenshot:
1) Problem with mxrun in the terminal on the right:
“No module named ‘yaml’”
This is caused by a conflict between two independent Python installations in the system.
Solution:
Please use File -> Open terminal env. to open a fully functional terminal
2) Your instrument is using W_psd_monitor which (unfortunately) seems to have not been properly ported to McXtrace 3.0.
(It is using definition parameters plus has not been ported to using dynamic arrays.)
Please try the attached version of the component - which I will also push to the mccode-3 development branch
You may upload to binder using an URL identical to that of your “Desktop” but with ‘lab’ instead of ‘desktop’.
As you don’t have write permission to system areas in the binder you will need to put the component alongside your instrument file.
I believe the second of these two problems is identical to what you describe in your other email entitled "Problems with some Components in McXtrace 3.0 on Binder”, correct?
Best and hope this helps,
Peter
Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent
Næstformand for DTU Fysik LSU
DTU Physics
[cid:e170abe9-d84f-44f2-8395-559f709c00b0 at win.dtu.dk]
Technical University of Denmark
[cid:e40fb3da-051d-4493-887f-a7722a40aac2 at win.dtu.dk]
Department of Physics
Fysikvej
Building 307
DK-2800 Kongens Lyngby
Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>
On 9 May 2022, at 21.05, Jesus David Bermudez Sanchez <jdbermudezs at unal.edu.co<mailto:jdbermudezs at unal.edu.co>> wrote:
Hi to all.
I wanted to use the component source div, running McXtrace 3.0 on Binder but I got the error shown in the attached image.
Any help would be appreciated.
Kind Regards.
[https://lh3.googleusercontent.com/6Zo9eagrTvW_TQrUw18i9DJfg6X9ibuaPO7zumiqqwrTx6W6bX3dOzMDThwpyW8L5TBlN9-AN4QTaDX2GlWFnVHJHAmP2N91vYLNfnu-VwaScNrhHhc0rtxgJ4L6lmbim3qPt3ZIXxORxv4zvw]
Aviso legal: El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos sólo para el uso del destinatario al cual van enviados. La reproducción, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, infórmenos y elimínelo de su correo. Los Datos Personales serán tratados conforme a la Ley 1581 de 2012 y a nuestra Política de Datos Personales que podrá consultar en la página web www.unal.edu.co<http://www.unal.edu.co/>. Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electrónico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entenderá como personales y de ninguna manera son avaladas por la Universidad.
_______________________________________________
mcxtrace-users mailing list
mcxtrace-users at mcxtrace.org<mailto:mcxtrace-users at mcxtrace.org>
https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20220509/8d4e1ff5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20220509/8d4e1ff5/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20220509/8d4e1ff5/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: W_psd_monitor.comp
Type: application/octet-stream
Size: 3490 bytes
Desc: W_psd_monitor.comp
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20220509/8d4e1ff5/attachment-0001.obj>
More information about the mcxtrace-users
mailing list