enthought / enthought/distarray
`load_hdf5()` filename issues
- Langage dominant
- Python
- Étoiles
- 5
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
If `Context.load_hdf5()` is called with a relative path, it may fail with an:
``` python
IPython.parallel.error.CompositeError: one or more exceptions from call to method: func_wrapper
[0:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
[1:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
[2:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
[3:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
```
No error results if an absolute path is passed in instead.
I'd like to see `Context.load_hdf5` detect relative paths client-side and resolve into absolute paths before passing to engines, which should resolve this issue.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par Context.load_hdf5 et suivez la manière dont son nom de fichier est transmis aux engines ; reproduisez l’échec avec un chemin relatif et comparez-le à un chemin absolu. Le travail est terminé lorsque les noms de fichiers relatifs sont résolus côté client avant le dispatch et que le CompositeError signalé ne se produit plus.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- distributed-systems
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100