Wiki source code of Troubleshooting
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
27.1 | 1 | == Jupyter notebook environment ("Lab") related == |
![]() |
22.1 | 2 | |
![]() |
3.1 | 3 | === Error message "Error in Authenticator.pre_spawn_start: ... 401: Unauthorized" === |
![]() |
1.1 | 4 | |
![]() |
8.1 | 5 | 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. |
![]() |
1.1 | 6 | |
![]() |
8.1 | 7 | 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. |
8 | |||
![]() |
3.1 | 9 | === No example notebooks in the Jupyter notebook environment ("Lab") === |
![]() |
2.1 | 10 | |
![]() |
34.1 | 11 | When starting the Jupyter notebook environment for the first time it takes about a minute (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. |
![]() |
2.1 | 12 | |
![]() |
7.1 | 13 | [[image:NoFiles.png]] |
14 | |||
![]() |
3.1 | 15 | === Timeout when starting the Jupyter notebook environment ("Lab") === |
![]() |
2.1 | 16 | |
17 | 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 quite some time (in the order of 2 minutes). Accessing the "Lab" link again after a few minutes usually works. | ||
18 | |||
![]() |
14.1 | 19 | === Lab error message "Cannot open - Could not find path..." === |
20 | |||
![]() |
34.1 | 21 | 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. |
![]() |
14.1 | 22 | |
23 | [[image:1623846216460-541.png]] | ||
24 | |||
![]() |
18.1 | 25 | In the "Drive" the path is visible: |
![]() |
14.1 | 26 | |
![]() |
17.1 | 27 | [[image:1623846323177-898.png||height="287" width="350"]] |
![]() |
14.1 | 28 | |
![]() |
23.1 | 29 | |
30 | === Test jobs make problems at Jülich === | ||
31 | |||
![]() |
34.1 | 32 | Since August 2021 accessing the "Lab" link in the left hand navigation menu brings up a site selection menu: |
![]() |
23.1 | 33 | |
![]() |
25.1 | 34 | [[image:Screenshot 2021-08-30 at 19.00.59.png||height="252" width="300"]] |
35 | |||
![]() |
34.1 | 36 | Via choosing a different lab execution site it is be possible to choose a specific site, if there are specific needs for the created Jupyter virtual machine for a given task (e.g. a large memory requirement). Currently all the examples do not need any site specific features, so you can select in principle any site. The "safe choice" is to use CSCS as the primary execution site. |
![]() |
25.1 | 37 | |
38 | |||
![]() |
34.1 | 39 | === === |
![]() |
25.1 | 40 | |
41 | |||
![]() |
26.1 | 42 | |
43 | |||
![]() |
28.1 | 44 | == BrainScaleS-2 specific == |
![]() |
26.1 | 45 | |
![]() |
27.1 | 46 | 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. |
![]() |
26.1 | 47 | |
![]() |
31.1 | 48 | === BrainScaleS-2 inhibitory synapse weights (October 2021) === |
![]() |
23.1 | 49 | |
![]() |
27.1 | 50 | 21 October 2021: the pyNN version for BrainScaleS has been updated. Since then, inhibitory synapse weights need to negative numbers, otherwise the error message: |
![]() |
19.1 | 51 | |
![]() |
27.1 | 52 | "pyNN.errors.ConnectionError: Weights must be negative for current-based, inhibitory synapses" |
53 | |||
54 | 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). | ||
55 | |||
56 | |||
![]() |
31.1 | 57 | === BrainScaleS-2: "Job error" in the Collaboratory (June 2021) === |
![]() |
19.1 | 58 | |
59 | 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). | ||
60 | |||
61 | In the JobManager, a job with the now wrong platform=nmpi.BRAINSCALES shown in the "log" part of the detailed job information: | ||
62 | |||
63 | {{{72 is not a valid wafer module for BrainScaleS-1. Since 21 June 2021, please use "nmpi.BRAINSCALES2" as platform specification ...}}} | ||
64 | |||
![]() |
20.1 | 65 | Also since 21 June 2021 a separate quota setting is used for BrainScaleS-2 (visible on the Quota tab in the JobManager) |
66 | |||
![]() |
34.1 | 67 | === BrainScaleS-2 interactive demo does not work with error message "ModuleNotFoundError: No module named 'pynn_brainscales'" === |
68 | |||
69 | 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) | ||
70 | |||
71 | [[image:1639576461861-804.png]] | ||
72 | |||
73 | Then select the "EBRAINS_release_..." kernel from the dialog box and run the example again. | ||
74 | |||
75 | [[image:1639576524483-695.png]] | ||
76 | |||
![]() |
28.1 | 77 | == BrainScaleS-1 specific == |
![]() |
21.1 | 78 | |
![]() |
28.1 | 79 | 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. |
![]() |
21.1 | 80 | |
![]() |
29.1 | 81 | === //PyMarocco.None// needs to be changed to //PyMarocco.Without (Nov 2021)// === |
![]() |
28.1 | 82 | |
![]() |
27.1 | 83 | 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]]. |
![]() |
21.1 | 84 | |
![]() |
27.1 | 85 | Symptom of the problem: In the .out file of the job execution, this error appears: |
86 | |||
87 | {{{ File "run.py", line ... | ||
88 | marocco.backend = PyMarocco.None | ||
89 | ^ | ||
90 | SyntaxError: invalid syntax}}} | ||
91 | |||
![]() |
30.1 | 92 | 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). |
![]() |
27.1 | 93 | |
![]() |
34.1 | 94 | ==== ==== |
- Temporary problems
- Jupyter notebook environment ("Lab") related
- Error message "RuntimeError: EBRAINS kernel mismatch. Expected: EBRAINS-24.04 Actual: EBRAINS-25.02. Please select the appropriate kernel."
- Error message "Error in Authenticator.pre_spawn_start: ... 401: Unauthorized"
- No example notebooks in the Jupyter notebook environment ("Lab")
- Timeout when starting the Jupyter notebook environment ("Lab")
- Lab error message "Cannot open - Could not find path..."
- Error message: "Could not identify EBRAINS kernel "
- Import error for hbp_service_client
- BrainScaleS-2 specific
- BrainScaleS-1 specific
- Spikey