Wiki source code of Troubleshooting

Version 46.1 by kindler on 2022/10/19 15:09

Hide last authors
kindler 37.1 1 (% class="wikigeneratedid" %)
2 This page collects some more commonly encountered problems when using the systems via the Collaboratory.
3
4 (% class="wikigeneratedid" %)
5 For more information on the Collaboratory, please seee the [[documentation of the EBRAINS Collaboratory environment>>https://wiki.ebrains.eu/bin/view/Collabs/the-collaboratory/]].
6
kindler 40.1 7 == Temporary problems ==
8
kindler 44.1 9 Currently none known.
kindler 40.1 10
kindler 27.1 11 == Jupyter notebook environment ("Lab") related ==
kindler 22.1 12
kindler 3.1 13 === Error message "Error in Authenticator.pre_spawn_start: ... 401: Unauthorized" ===
kindler 1.1 14
kindler 8.1 15 When a new user accesses the Lab in a new collab for the first time, it is possible, that the JuypterLab is not starting and instead shows a "...401 Unauthorized" message.
kindler 1.1 16
kindler 8.1 17 To fix this error, please access the **"Drive"** link in the collab once (the "Drive" is also in the left hand navigation menu of the Collab). After the "Drive" has been accesses once the JupyterLab should start.
18
kindler 3.1 19 === No example notebooks in the Jupyter notebook environment ("Lab") ===
kindler 2.1 20
kindler 38.1 21 When starting the Jupyter notebook environment for the first time it can take a bit (without visible "in progress" indication) until the example files appear in the file-chooser. Until then the list is just empty. So the fix here is "have a minute patience", then click the "Lab" link again.
kindler 2.1 22
kindler 7.1 23 [[image:NoFiles.png]]
24
kindler 3.1 25 === Timeout when starting the Jupyter notebook environment ("Lab") ===
kindler 2.1 26
kindler 38.1 27 It is possible, that accessing the "Lab" link results in a "timeout" message. This can happen, when the lab environment is started for the first time on one of the virtual machines providing the service, as the very first start per machine takes some time (in the order of 2 minutes). Accessing the "Lab" link again after a few minutes usually works.
kindler 2.1 28
kindler 14.1 29 === Lab error message "Cannot open - Could not find path..." ===
30
kindler 34.1 31 When first opening the Lab it is in rare cases possible, that it can not open the path /shared/name-of-the-collab, even though in the drive the path is already accessible (see the two screenshots below from the Lab and the Drive). This is due to some delay in synchronisation between the file systems. Fix: Wait a few minutes and try again.
kindler 14.1 32
33 [[image:1623846216460-541.png]]
34
kindler 18.1 35 In the "Drive" the path is visible:
kindler 14.1 36
kindler 17.1 37 [[image:1623846323177-898.png||height="287" width="350"]]
kindler 14.1 38
kindler 23.1 39
kindler 40.1 40 === Import error for hbp_service_client ===
kindler 23.1 41
kindler 39.1 42 The hbp_service_client was needed for the now not-existing-any-longer Collaboratory version 1. The import line can be deleted from scripts.
kindler 23.1 43
kindler 25.1 44
kindler 28.1 45 == BrainScaleS-2 specific ==
kindler 26.1 46
kindler 27.1 47 The [[BrainScaleS external user chat>>https://chat.bioai.eu/external-users/channels/town-square]] has service announcements (e.g. when a system is down due to maintenance) and is also a good place to ask general questions.
kindler 26.1 48
kindler 31.1 49 === BrainScaleS-2 inhibitory synapse weights (October 2021) ===
kindler 23.1 50
kindler 27.1 51 21 October 2021: the pyNN version for BrainScaleS has been updated. Since then, inhibitory synapse weights need to negative numbers, otherwise the error message:   
kindler 19.1 52
kindler 27.1 53 "pyNN.errors.ConnectionError: Weights must be negative for current-based, inhibitory synapses"
54
55 will be created (visibie in the .out file created by the job. In the notebook interface the error message can be, that the file needed for plotting is missing).
56
57
kindler 31.1 58 === BrainScaleS-2: "Job error" in the Collaboratory (June 2021) ===
kindler 19.1 59
60 On 21 June 2021 we changed the platform selection in the nmpi command client.submit_job(...,platform=nmpi.BRAINSCALES,...). From then on, please specify nmpi.BRAINSCALES**2** as the platform to run networks on the BrainScaleS-2 architecture (i.e. on "wafer">60).
61
62 In the JobManager, a job with the now wrong platform=nmpi.BRAINSCALES shown in the "log" part of the detailed job information:
63
64 {{{72 is not a valid wafer module for BrainScaleS-1. Since 21 June 2021, please use "nmpi.BRAINSCALES2" as platform specification ...}}}
65
kindler 20.1 66 Also since 21 June 2021 a separate quota setting is used for BrainScaleS-2 (visible on the Quota tab in the JobManager)
67
kindler 34.1 68 === BrainScaleS-2 interactive demo does not work with error message "ModuleNotFoundError: No module named 'pynn_brainscales'" ===
69
70 The BrainScaleS-2 interactive examples need the BrainScaleS client software. Currently (December 2021) this software is not available from the started-by-default "Python 3" kernel in the Jupyter lab, but requires the "EBRAINS_release_...." kernel. Please choose the kernel by clicking the kernel name in the lower left hand corner of the Lab window ("Python 3" in the screenshot)
71
kindler 36.1 72 [[image:1639576461861-804.png||height="42" width="456"]]
kindler 34.1 73
74 Then select the "EBRAINS_release_..." kernel from the dialog box and run the example again.
75
kindler 36.1 76 [[image:1639576524483-695.png||height="259" width="420"]]
kindler 34.1 77
kindler 36.1 78 It may be necessary to restart the newly chosen kernel via "Kernel > restart Kernel" from the menu.
79
80 [[image:1639576718553-361.png||height="125" width="518"]]
81
kindler 28.1 82 == BrainScaleS-1 specific ==
kindler 21.1 83
kindler 28.1 84 The [[BrainScaleS external user chat>>https://chat.bioai.eu/external-users/channels/town-square]] has service announcements (e.g. when a system is down due to maintenance) and is also a good place to ask general questions.
kindler 21.1 85
kindler 29.1 86 === //PyMarocco.None// needs to be changed to //PyMarocco.Without (Nov 2021)// ===
kindler 28.1 87
kindler 27.1 88 November 2021: //marocco.backend = PyMarocco.None// had to be changed to //marocco.backend = PyMarocco.Without// due to the move to Python3, which has None as a reserved keyword. See also [[this FAQ entry in the guidebook>>https://electronicvisions.github.io/hbp-sp9-guidebook/pm/using_pm_newflow.html#rename-pymarocco-none-to-pymarocco-without]].
kindler 21.1 89
kindler 27.1 90 Symptom of the problem: In the .out file of the job execution, this error appears:
91
92 {{{ File "run.py", line ...
93 marocco.backend = PyMarocco.None
94 ^
95 SyntaxError: invalid syntax}}}
96
kindler 30.1 97 There are also some additional Python3 related changes in the brainscales_system_chain_test.py example. Please find a [[working example script>>https://lab.ch.ebrains.eu/user-redirect/lab/tree/shared/NMC%20Collab%20copy%20template/BrainScaleS/BrainScaleS_01_Chain.ipynb]] in our [[copy-template Drive>>https://wiki.ebrains.eu/bin/view/Collabs/nmc-collab-copy-template/Drive]] (for copying into users collabs).
kindler 27.1 98
kindler 41.1 99 ==== ====