Bonsoir,
Je vois que beaucoup de personnes ont ce genre de soucis. On eur donne des solutions qui ont l'air de fonctionner mais pas pour tout le monde.
Pour toutes celles testées Rien ne fonctionne pour moi.
Je me servait de diacamma syndic régulièrement depuis 2 ans sans trop de soucis.
Là j’ai voulu relancer diacamma et ca m’a mis diacamma error et me proposant d’aller sur la console.
Je n’ai rien fait de spécial entre les deux utilisations. j’ai mis diacamma à jour.
J'ai redémarré mon mac Rien !
Sur le forum, j’ai vu que depuis 4 à 5 mois, ils avait de nombreuses demandes comme la mienne avec les mêmes symptômes…
Sur un sujet il était donné une réponse qui chez moi que certain autres ne fonctionnait pas. ( le sujet a été clôturer pourtant.) je l’ai relancé. J’ai aussi un autre sujet ou on me demandait plus de renseignements…
Je suis un peu perdu et bien sur ca devient toujours urgent …
Je suis sur Imac avec un macOS High Sierra 10-13-3.
J’avais une vielle version sur un autre mac qui se lançait. après avoir restauré ma dernière sauvegarde, tout fonctionnait bien. Mais comme j’ai le réflexe de faire toujours des mises à jour dès qu’on me le propose j’ai également fait la mise à jour sur celui là (mise à jour de Diacamma). Dès le lendemain, en voulant lancer cette version, j’ai eu le même problème. J’ai donc maintenant deux installations diacamma sur deux mac différents qui me disent la même chose après avoir bien fonctionné. Diacamma error.
Merci d’avance pour votre réponse.
Et pour votre travail !!
J'avais ceci comme message puisque il m'est demandé plus de détail.
imac-de-bouillot:~ Ericetsoizic$ /Users/Ericetsoizic/lucterios2/Diacamma.command ; exit;
Operations to perform:
Apply all migrations: CORE, accounting, admin, auth, condominium, contacts, contenttypes, documents, framework, mailing, payoff, sessions, syndic
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
check parameters
Traceback (most recent call last):
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.IntegrityError: UNIQUE constraint failed: accounting_costaccounting.name
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 817, in <module>
main()
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/bin/lucterios_gui.py", line 811, in main
luct_glo.refreshall()
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/lucterios/install/lucterios_admin.py", line 311, in refreshall
luct.refresh()
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/lucterios/install/lucterios_admin.py", line 701, in refresh
call_command('migrate', stdout=sys.stdout)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/core/management/__init__.py", line 131, in call_command
return command.execute(*args, **defaults)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 227, in handle
self.verbosity, self.interactive, connection.alias, apps=post_migrate_apps, plan=plan,
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/core/management/sql.py", line 53, in emit_post_migrate_signal
**kwargs
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/dispatch/dispatcher.py", line 193, in send
for receiver in self._live_receivers(sender)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/dispatch/dispatcher.py", line 193, in <listcomp>
for receiver in self._live_receivers(sender)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/lucterios/CORE/models.py", line 474, in post_after_migrate
Signal.call_signal("checkparam")
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/lucterios/framework/signal_and_lock.py", line 69, in call_signal
if sign_fct(*args):
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/diacamma/condominium/models.py", line 1551, in condominium_checkparam
setitem.rename_all_cost_accounting()
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/diacamma/condominium/models.py", line 159, in rename_all_cost_accounting
setcost.cost_accounting.save()
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/diacamma/accounting/models.py", line 543, in save
res = LucteriosModel.save(self, force_insert=force_insert, force_update=force_update, using=using, update_fields=update_fields)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/base.py", line 808, in save
force_update=force_update, update_fields=update_fields)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/base.py", line 838, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/base.py", line 905, in _save_table
forced_update)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/base.py", line 955, in _do_update
return filtered._update(values) > 0
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/query.py", line 664, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1204, in execute_sql
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
raise original_exception
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
cursor.execute(sql, params)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/backends/utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/Users/Ericetsoizic/lucterios2/virtual_for_lucterios/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.IntegrityError: UNIQUE constraint failed: accounting_costaccounting.name
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Opération terminée]
Merci
Eric