Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1

SUJET :

ImportError: cannot import name 'SupportingPrint' il y a 4 ans 8 mois #4172

  • celicolas
  • Portrait de celicolas Auteur du sujet
  • Hors Ligne
  • COM_KUNENA_SAMPLEDATA_RANK1
  • COM_KUNENA_SAMPLEDATA_RANK1
  • Messages : 13
  • Remerciements reçus 0
Bonjour,

Sur linux Ubuntu 16.04, je viens d'installer Diacamma Syndic 2.4.8 (j'étais avant en 2.4.2) et je peux lancer Lucterios GUI sans problème mais lors de l'ouverture de la base de ma compta de copro j'ai une erreur dont je pense que l'élément clé est : ImportError: cannot import name 'SupportingPrint'
Je mets tout de même ci-dessous tous les message depuis le lancement de Lucterios pour vérification.

Merci de me dire is quelqu'un a une piste pour résoudre ce problème.

Bon confinement à tous !

Nicolas

############################
Modules installés

cœur Lucterios cœur 2.4.2.19092313

Application
lucterios.standard 2.4.0.20022415
diacamma.syndic 2.4.8.20032409
diacamma.asso 2.4.8.20032713
Modules
lucterios.documents 2.4.0.19091916
diacamma.condominium 2.4.5.20032409
lucterios.contacts 2.4.2.19091916
lucterios.mailing 2.4.2.19091916
diacamma.accounting 2.4.2.19092611
diacamma.invoice 2.4.2.19092611
diacamma.payoff 2.4.2.19092611
diacamma.event 2.4.1.20032713
diacamma.member 2.4.7.20032713

############ Log après lancement de Lucterios

refreshall
Traceback (most recent call last):
File "/var/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 413, in LucteriosRefreshAll
luct_glo.refreshall()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/lucterios/install/lucterios_admin.py", line 334, in refreshall
luct.refresh()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/lucterios/install/lucterios_admin.py", line 753, in refresh
call_command('migrate', stdout=sys.stdout)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/__init__.py", line 148, in call_command
return command.execute(*args, **defaults)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 87, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/db/migrations/executor.py", line 18, in __init__
self.loader = MigrationLoader(self.connection)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/db/migrations/loader.py", line 49, in __init__
self.build_graph()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/db/migrations/loader.py", line 274, in build_graph
raise exc
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/db/migrations/loader.py", line 248, in build_graph
self.graph.validate_consistency()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/db/migrations/graph.py", line 195, in validate_consistency
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/db/migrations/graph.py", line 195, in <listcomp>
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/db/migrations/graph.py", line 58, in raise_error
raise NodeNotFoundError(self.error_message, self.key, origin=self.origin)
django.db.migrations.exceptions.NodeNotFoundError: Migration syndic.0002_check_journal dependencies reference nonexistent parent node ('accounting', '0014_journal_is_default')
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/var/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 657, in check
_, must_upgrade = lct_glob.check()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/lucterios/install/lucterios_admin.py", line 261, in check
list_command = ListCommand()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/pip/_internal/commands/list.py", line 39, in __init__
super(ListCommand, self).__init__(*args, **kw)
TypeError: __init__() missing 2 required positional arguments: 'name' and 'summary'

Performing system checks...

Traceback (most recent call last):
File "manage_Compta_syndic.py", line 8, in <module>
execute_from_command_line(sys.argv)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 60, in execute
super().execute(*args, **options)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 95, in handle
self.run(**options)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 104, in run
self.inner_run(None, **options)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run
self.check(display_num_errors=True)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/base.py", line 390, in check
include_deployment_checks=include_deployment_checks,
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/management/base.py", line 377, in _run_checks
return checks.run_checks(**kwargs)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/checks/registry.py", line 72, in run_checks
new_errors = check(app_configs=app_configs)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/urls/resolvers.py", line 399, in check
for pattern in self.url_patterns:
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/utils/functional.py", line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/urls/resolvers.py", line 584, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/utils/functional.py", line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/django/urls/resolvers.py", line 577, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/lucterios/framework/urls.py", line 121, in <module>
urlpatterns = get_url_patterns()
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/lucterios/framework/urls.py", line 80, in get_url_patterns
view = import_module(appname + '.' + modname)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/var/lucterios2/virtual_for_lucterios/lib/python3.5/site-packages/diacamma/condominium/views_callfunds.py", line 19, in <module>
from diacamma.payoff.views import can_send_email, SupportingPrint
ImportError: cannot import name 'SupportingPrint'
Traceback (most recent call last):
File "/var/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 69, in wrapper
return func(*args)
File "/var/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 82, in sub_fct
return func(*args)
File "/var/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 812, in open_inst
self.running_instance[instance_name].start()
File "/var/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 106, in start
raise RunException(ugettext_lazy("Error to start!"))
RunException: Erreur pour démarrer!

S'il vous plaît Connexion ou Créer un compte à se joindre à la conversation.

Dernière édition: par lag.

ImportError: cannot import name 'SupportingPrint' il y a 4 ans 8 mois #4181

  • lag
  • Portrait de lag
  • Hors Ligne
  • COM_KUNENA_SAMPLEDATA_RANK_ADMIN
  • COM_KUNENA_SAMPLEDATA_RANK_ADMIN
  • Messages : 2044
  • Karma: 8
  • Remerciements reçus 528
Bonjour,

Comme ça, je ne vois pas trop ce qui se passe.
Je dirais une erreur d'installation, comme si des paquets Python était manquant.

Par contre, je vois que vous utiliser "linux Ubuntu 16.04".
Cette distribution LTS d'Ubuntu est vieille: la version LTS officiel est la 18.04 et on attend la 20.04 dans les prochain jours.
Peut-être qu'en essayant sur une distribution plus récente, cela résoudrait le problème.

S'il vous plaît Connexion ou Créer un compte à se joindre à la conversation.

Laurent
Principale contributeur (Développeur) à Diacamma
Administrateur de Sleto partenaire officiel de Diacamma : support et hébergement en ligne.

ImportError: cannot import name 'SupportingPrint' il y a 4 ans 7 mois #4224

  • celicolas
  • Portrait de celicolas Auteur du sujet
  • Hors Ligne
  • COM_KUNENA_SAMPLEDATA_RANK1
  • COM_KUNENA_SAMPLEDATA_RANK1
  • Messages : 13
  • Remerciements reçus 0
Juste pour donner la suite:

J'ai finalement téléchargé et exécuté le programme d'installation de Diacamma pour Linux. Il a réinstallé plein de trucs et maintenant démarre bien avec la jolie interface Qt (que je n'avais pas ou utilisais pas avant...).
Il a mis à jour, et au final perdu, la compta en cours, mais la dernière sauvegarde a été récupérée sans problème.
Donc au final tout se passe très bien.
Merci pour tout ce travail !

Nicolas

S'il vous plaît Connexion ou Créer un compte à se joindre à la conversation.

  • Page :
  • 1
Temps de génération de la page : 0.071 secondes
Propulsé par Kunena

Qui sommes nous?

Le sanglier du Libre

Association éditant le logiciel Diacamma
12 rue Marius Charles
38420 Domène
France

Partenaire

SLETO

Si vous recherchez du support ou une solution d'hébergement pour Diacamma, faite confiance à SLETO, notre partenaire officiel