Questions tagged [gramex]

Gramex is a declarative data analytics and visualization platform

For usage instructions, see the Gramex Guide.

43 questions
0
votes
1 answer

'pip install nlg' keeps erroring out with the same error on multiple environments/platforms

can anyone successfully "pip install nlg"? i get the below picture when i do. also below are some excerpts from the error message. note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building…
Chris B
  • 24
  • 3
0
votes
0 answers

Gramex CaptureHandler not capturing opacity of elements

I am using a capture handler to download a PNG image for a selector. URL is working fine when loaded individually, but the image downloaded is not showing the opacity of some of the elements in it, even when the dpi is given as 192. Am using…
0
votes
1 answer

Gramex "$YAMLPATH" failing crashing

WORKING SCENARIO When the gramex is ran with the following gramex.yaml: schedule: create-job-startup: thread: true function: > logging.critical("hello world") startup: "*" The output we get, as expected, is: DEBUG …
0
votes
1 answer

In yaml file, variable's original value is getting loose while reusing the configuration

Steps to reproduce: variables: my_pwd: 'Kt^$$&^dg#%o4Zwcat9knS)S#W' short_wait: 8 common_blocks: - &prod_my_pwd name: MY_password type xpath //*[@id="login-pwd"]: $my_pwd click: xpath //*[@id="login-sub"] wait:…
0
votes
1 answer

How do we pass SSL arguments to MySQL in Gramex's FormHandler?

I'm connecting to a MySQL database for OTP using this gramex.yaml configuration: otp: url: 'mysql+pymysql://$USER:$PASS@$MYSQL_SERVER/$DB' table: $TABLE Whe Gramex starts, it reports an Exception: InternalError: (pymysql.err.InternalError)…
S Anand
  • 11,364
  • 2
  • 28
  • 23
0
votes
0 answers

Browser opens default sample project not the one I'm working on

I tried following the guided tutorial, but each time the browser opens to the default sample project provided and not the index.html file I created. Any solutions for this?
Ishika Pal
  • 11
  • 1
0
votes
1 answer

Facing "Uncaught SyntaxError: Unexpected token '{'"

Using Gramex on local, trying to access the main page. Getting this error. Screenshot below. desktop-login: ignoring missing handler DBAuth with this error
0
votes
2 answers

Gramex does not run after installing via conda

The Gramex installation instructions says: conda create -y --name gramex python=3.7 # Create a new environment conda activate gramex # Activate it conda install -y -c conda-forge -c gramener gramex # Install…
S Anand
  • 11,364
  • 2
  • 28
  • 23
0
votes
1 answer

Gramex is not opening

When I install Gramex and try to run it, I get this error message. gramex: The term 'gramex' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify…
S Anand
  • 11,364
  • 2
  • 28
  • 23
0
votes
1 answer

is it possible to assign dynamic value from request-path to `table` attribute for FormHandler gramex-config entry?

ref to FormHandler-param-doc below is the sample gramex-config snippet: dburl: postgresql://$db_name:$db_name@localhost:5432/$db_name data_filter: pattern: /$YAMLURL/data_filter/(\w+) handler: FormHandler kwargs: url: $dburl …
Joshua Baboo
  • 525
  • 1
  • 4
  • 17
0
votes
1 answer

gramex docker | running multiple instances within docker

as per gramex-install-doc gramex could be started by running # Run Gramex on port 9988 docker run --name gramex-instance -p 9988:9988 gramener/gramex is it possible to start multiple gramex instances by changing --name parameter & different port…
Joshua Baboo
  • 525
  • 1
  • 4
  • 17
0
votes
1 answer

Gramex-FormHandler-Filter-unique values of a column using url-param

Gramex Form Handler: Filter doc sepcifies: Note: You can use FormHandler to render specific columns in navbar filters using ?_c=. Also in the following section You can specify custom aggregations using ?_c=col|, but…
Joshua Baboo
  • 525
  • 1
  • 4
  • 17
0
votes
1 answer

gramex: Add additional user details post LDAP Auth and a conditional redirection

Consider a SQLite DB with user table having user_id, first_name, last_name, access_level columns. After LDAP authentication, I'd like to update current_user object with additional metadata (from sql table) of the user_id. Now, using this additional…
Vikram
  • 1
1 2
3