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
As of 4.0.1 release, the Migration SDK Options for Python are not importing correctly. For example, the following variable is added to the .env file: MigrationSDK__Files__RootPath = 'C:/Users/youngjay/Documents/Temp'
The script makes the following calls: from dotenv import load_dotenv # Used to load environment variables
# Load the environment variables load_dotenv()
However, upon execution of the migration plan, the FileOptions.RootPath remain unchanged/continue to use Defaults: Error: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\youngjay\AppData\Local\Temp\migration-
(Edit to fix formatting in code block)
The text was updated successfully, but these errors were encountered:
The SDK will load the environment variables on its init process. To be able to load the environment configuration, you must call the load_dotenv() command before referring to any tableau_migration code.
from dotenv import load_dotenv # Used to load environment variables
# Load the environment variables
load_dotenv()
# first tableau_migration reference
import tableau_migration
Also, you can set environment variables directly in your command prompt. Here is a link for the Power Shell documentation.
As of 4.0.1 release, the Migration SDK Options for Python are not importing correctly. For example, the following variable is added to the .env file:
MigrationSDK__Files__RootPath = 'C:/Users/youngjay/Documents/Temp'
The script makes the following calls:
from dotenv import load_dotenv # Used to load environment variables
# Load the environment variables
load_dotenv()
However, upon execution of the migration plan, the FileOptions.RootPath remain unchanged/continue to use Defaults:
Error: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\youngjay\AppData\Local\Temp\migration-
(Edit to fix formatting in code block)
The text was updated successfully, but these errors were encountered: