I have a common function which needs to be evaluated before executing all the KPIs. So I wrote a prepare function but prepare function is calling for all the KPIs separately. Instead I want a prepare function to be executed once for the each…
Am getting this Operational Error, periodically probably when the application is not active or idle for long hours. On refreshing the page it will vanish. Am using mssql pyodbc connection string ( "mssql+pyodbc:///?odbc_connect= ...") in…
I am not able to access the UI components in gramex. I tried all the things I knew. I am using the Red Hat Linux server.
I am getting the following warnings in the logs:
Disallow…
I am unable to set memory through config for redis azure instance in gramex
It gives this error:
redis.exceptions.ResponseError: unknown command CONFIG, with args beginning with: SET, maxmemory, 1000000000
image reference
We are seeing the following error when we deploy a Gramex portal in production as time passes by.
Inotify._raise_error()
File "/opt/conda/lib/python3.7/site-packages/watchdog/observers/inotify_c.py", line 421, in _raise_error
raise…
after installing docker-gramex connecting app to database server running on host machine fails for connection URL: 'postgresql://db_user:db_passwd@localhost:5432/db_name'
throws psycopg2.OperationalError could not connect to server: Connection…
I'm having trouble running gramex in Ubuntu 16.04.
Running it inside docker works fine, which leads me to suspect that I'm missing some dependency, but can't seem to figure out which one.
This is the error that I get, any ideas?
INFO 22-Mar…
Suppose I want to have custom storelocations location. I can surely pass that path in the yaml. However, If the path does not exist, gramex throws me an error
Code I want to use is in gramex.yaml as:
storelocations:
projects: &PROJECTS
url:…
I'm trying to capture the images of charts and attach them to the email template using the img tag. I'm able to send the email local but getting this TypeError: Could not guess image MIME subtype in the server.
I'm using Gramex capture API to…
Keeping default config from help document we have
url:
drivehandler:
pattern: /$YAMLURL/drive
handler: DriveHandler
kwargs:
path: $YAMLURL/drive
modify: mymodule.modify(handler)
mymodule.py is created as:
def modify():
…
So A container is running in Gramex IDE with following details
$ cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.17.1
PRETTY_NAME="Alpine Linux…
In Gramex, for signup we have a validate method which will validate for a certain condition. Like in this example like we are validating the signup using validate() function.:
signup:
key: signup # ?signup= is used as the…
I am trying to implement a way by which I can check the value of an is_active column from user database before letting the user log in. So along with the password check, I also want to check if is_active column is True, only then the user must be…