Projet

Général

Profil

Bug #39317

mise à jour wcsctl shell pour python3

Ajouté par Frédéric Péters il y a plus de 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
28 janvier 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

cf django commit 723c9a8c6db60108f584972498fa6bbd3b408444.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/wcs/ctl/shell.py", line 53, in execute
    self.run_shell()
  File "/usr/lib/python3/dist-packages/wcs/ctl/shell.py", line 112, in run_shell
    raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/wcsctl", line 11, in <module>
    ctl.run(sys.argv[1:])
  File "/usr/lib/python3/dist-packages/wcs/qommon/ctl.py", line 165, in run
    return cmd.run(args, options)
  File "/usr/lib/python3/dist-packages/wcs/qommon/ctl.py", line 74, in run
    return self.execute(base_options, sub_options, args)
  File "/usr/lib/python3/dist-packages/wcs/ctl/shell.py", line 81, in execute
    import user
ImportError: No module named 'user'

Fichiers

Révisions associées

Révision aa2e475f (diff)
Ajouté par Frédéric Péters il y a plus de 4 ans

ctl: port shell command for python 3 (#39317)

Command was initially copied/adapted from Django, this is an almost straight
cherrypick of later commit 723c9a8c6db60108f584972498fa6bbd3b408444.

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 4 ans

#2

Mis à jour par Emmanuel Cazenave il y a plus de 4 ans

  • Statut changé de Solution proposée à Solution validée
#3

Mis à jour par Frédéric Péters il y a plus de 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit aa2e475fd76f7df86080fccefe6f2a3162d9dc30
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Jan 28 09:48:01 2020 +0100

    ctl: port shell command for python 3 (#39317)

    Command was initially copied/adapted from Django, this is an almost straight
    cherrypick of later commit 723c9a8c6db60108f584972498fa6bbd3b408444.
#4

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF