← Back to team overview

phcteam team mailing list archive

[Bug 1168668] Re: Cant save

 

Thanks for your data, Cody, I was actually able to replicate your
problem. It seems that your database is missing the visits table, most
likely due to an error in a previous database upgrade. I assume you are
using our Clinica daily ppa, that always contains the latest changes and
may be unstable from time to time. Anyway, I've introduced some stricter
checks at startup that should repair your installation (and will
hopefully cope with similar problems in the future).

If you are still using the PPA you should get the update tomorrow
through the update manager. If that's the case it would be the best way
to fix the problem. In any other case the following command should fix
the problem for you:

echo "CREATE TABLE IF NOT EXISTS visits (subsequent_checks TEXT,
systemic_therapy TEXT, ID INTEGER PRIMARY KEY, laboratory_exam TEXT,
diagnosis TEXT, histopathology TEXT, anamnesis TEXT, date TEXT, patient
INTEGER, physical_examination TEXT, topical_therapy TEXT);" | sqlite3
~/.local/share/clinica/clinica.db

So, I suggest you the following procedure:
1) Wait until tomorrow and check in your update manager for updates to Clinica. If you get them, try to start clinica again (this may require to log off and log in again, to be sure you can just reboot your PC). 
2) If the step above doesn't solve your issue (or you don't get the updates, for whatever reason), use the command that I've posted above. 

If even step 2) doesn't work, come back to me and we'll see what we have
got wrong.

Thanks for your testing,
Leonardo Robol.

** Changed in: clinica-project
       Status: New => In Progress

-- 
You received this bug notification because you are a member of PHC Team,
which is subscribed to clinica-project.
https://bugs.launchpad.net/bugs/1168668

Title:
  Cant save

Status in Clinica:
  In Progress

Bug description:
  After filling out the visit form for a patient, I click the check mark
  that says save. Then if I click export as PDF or print the program
  tells me I need to save the file first. then it allows me to export or
  print it, but it still doesn't show up in the calandar. If i exit the
  program and restart it, any visits I had previsouly typed in are gone.

To manage notifications about this bug go to:
https://bugs.launchpad.net/clinica-project/+bug/1168668/+subscriptions


References