Comments (6)
I'm sorry that we didn't respond to this issue. Can you see if this is a still a problem with the latest release?
from suma.
I had upgraded Suma to version 4 a while back and apparently hadn't tried loading any reports for a while (I have it setup to pull stats directly from the database for our monthly stats, so neither I nor my staff are frequently going into the reports view). However, last week I was talking to some staff at area libraries on a Zoom call and wanted to point out how great Suma was (among other things) and I got a 500 error when trying to load the reporting page. I quickly moved on to other things, but today I got back to looking at it, noticed your message, and updated from 4.0.0 to 4.0.1. Unfortunately, that does not seem to have resolved the problem for me.
I'll see if my old fix works still. In any case, let me know if you would like me to test anything on this problem.
from suma.
from suma.
Sure. I've looked in web server logs and haven't found anything. So far I haven't found anything likely super-useful in troubleshooting this, but I have identified this (some of which I'm guessing that you can guess): the error is coming back from a dataResults.php script. If I adjust the id parameter, I can get the error to change from saying that I have no initiatives to saying that there's no data for the initiatives. The initiative id for the initiative with the most data is 8 ("Winnetka Reference"). I'm not seeing an "8" getting passed by the form data to that script when Winnetka Reference is selected (e.g.: https://babbletron.winnetkalibrary.local/suma/analysis/reports/lib/php/dataResults.php?classifyCounts=count&days=mo,we,th,fr,sa,su,tu&edate=2022-06-28&etime=&excludeActGrps=&excludeActs=&excludeLocs=&id=1&requireActGrps=&requireActs=&sdate=2022-02-28&startHour=0000&stime=&wholeSession=no). I am seeing an "id=1" in there and if I change "id=1" to "id=8" the returned JSON is: {"message":"No data found for that combination of filters. Please try a broader search."}
I'll check my config files and look for errors elsewhere. The only errors I've been able to identify so far are in the web developer console (which is how I found the above URL).
from suma.
While troubleshooting this the issue suddenly resolved itself and I'm not sure why. I made a number of minor changes to config files, which I've largely tried reversing to identify the cause, but with no effect. For the record, the changes I can remember making are:
I changed SUMA_DEBUG in ./service/web/config/config.yaml from true to false
I created a session.yaml file and then deleted it (I decided I didn't need to be using that optional feature)
I turned showErrors on and change serverIO: baseUrl to use https in ./analysis/config/config.yaml
Those are all of things I can remember adjusting between the previous time when I saw the error to the point where I reloaded the page and it loaded the graphs.
from suma.
from suma.
Related Issues (20)
- Update client linting tooling and config HOT 1
- Show date/time all the time HOT 1
- Add tooltips to options in client settings.
- Change "X" to "<" on client settings menu HOT 1
- Fully justify settings options in client HOT 4
- Left justify initiatives list HOT 6
- Update developer documentation
- Add parent location to top of location tree HOT 1
- Make initiative title more visible in the client HOT 1
- No initiative should be selected by default HOT 2
- Changing initiatives should end active session HOT 1
- Remove "require all locations" option
- Create changelog in project root
- Suma Server Keeps Logging Admin User Out HOT 2
- count bug related to default initiative
- Duplicate submissions allowed HOT 1
- Logging into Admin HOT 1
- Containerization of Application HOT 1
- Updated Install Documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suma.