Giter Site home page Giter Site logo

Unable to purge reports about acralyzer HOT 2 OPEN

acra avatar acra commented on August 19, 2024
Unable to purge reports

from acralyzer.

Comments (2)

KevinGaudin avatar KevinGaudin commented on August 19, 2024

Acralyzer does not find the view it uses in acra-storage to get the list of
reports to purge.

Get the latest version of the master branch of acra-storage and push it
again in your acra-patients database.
Le 7 juin 2013 06:14, "personne3000" [email protected] a Γ©crit :

Hi,

First of all, just like many others around here, I would like to thank the
developers for this work that looks very promising.
When I go to the "Admin" tab in acralyzer, and click the "Purge" button to
purge reports older than 90 days, I just get a notification "purge failed".
It might be a misconfiguration error, but even in this case I think the
error message should give more information.

Here is what I get in the console (in chrome) when clicking the "purge"
button :

Purge reports older than 90 AdminControllers.js:50
key will be: [2013,3,6] AdminControllers.js:51
GET http://****.cloudant.com/acra-patients/_design/acra-storage/_view/reports-revision-per-day?descending=true&startkey=%5B2013,2,9%5D 404 (Object Not Found)
angular.min.js:105
(anonymous function) angular.min.js:105
q angular.min.js:101
f angular.min.js:99
i angular.min.js:79
i angular.min.js:79
(anonymous function) angular.min.js:79
e.$eval angular.min.js:91
e.$digest angular.min.js:89
e.$apply angular.min.js:91
(anonymous function) angular.min.js:152
v.event.dispatch jquery-1.8.3.min.js:2
o.handle.u

Thanks !

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/43
.

from acralyzer.

 avatar commented on August 19, 2024

Here is what I just did:

git clone http://github.com/ACRA/acra-storage.git
cd acra-storage
couchapp push http://****:*******@***.cloudant.com/acra-patients

(Obviously, I did not write asterisks but my username and password).
When I return to the Admin tab of Acralyzer after this, I still get the "Purge failed" error, and the same messages in the console.

from acralyzer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.