You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are steps to reproduce the issue on Tableau Server.
Login to Tableau Server and head to the Schedules settings page. (You'll need to be a server admin to edit these.)
Create a new schedule, type Extract Refresh, under Frequency select Monthly, then under On change it to any value other than the default Day, then save the schedule
Run the script below (substituting your own values for the PAT, site and server) which will loop over all schedules and call get_by_id() on each one. This should trigger the ValueError exception.
You should get the error with exceptions like the following:
Traceback (most recent call last):
File "/Users/brian/.pyenv/versions/tools-3.12/lib/python3.12/site-packages/tableauserverclient/models/interval_item.py", line 259, in interval
if not (1 <= int(interval_value) <= 31):
^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'Monday'
ValueError: Invalid interval value for a monthly frequency: Monday.
Activity
bcantoni commentedon May 4, 2024
Another example of this is reported in #1369 which I closed as a duplicate.
bcantoni commentedon Sep 10, 2024
We're investigating a fix here (internal issue 16715720).
Add support for all monthly schedule variations
bcantoni commentedon Sep 13, 2024
Here are steps to reproduce the issue on Tableau Server.
You should get the error with exceptions like the following:
Add support for all types of monthly repeating schedules (#1462)
Add support for all types of monthly repeating schedules (#1462)
bcantoni commentedon Sep 17, 2024
This is fixed in the
developmentbranch now and will be available in the next release (0.33). If anyone would like to test it before release, they can follow the steps here: https://tableau.github.io/server-client-python/docs/#install-from-the-development-branchAdd support for all types of monthly repeating schedules (tableau#1462)