简体   繁体   English

我有一个涉及设置环境变量的 Tableau Prep 错误修复,但我不知道这意味着什么

[英]I have a Tableau Prep error fix involving setting an environment variable, and I don't know what that entails

I am using a python script in Tableau prep, and this error keeps popping up:我在 Tableau prep 中使用 python 脚本,并且不断弹出此错误:

System error: Failure loading FedOp: D:\tc\work\maestro-2021-2\g_pc\modules\platform\tabcore\main\parser\DataValueParser.cpp|`anonymous-namespace'::TupleParser::Parse|181 value - empty text系统错误:加载 FedOp 失败:D:\tc\work\maestro-2021-2\g_pc\modules\platform\tabcore\main\parser\DataValueParser.cpp|`anonymous-namespace'::TupleParser::Parse|181 值- 空文本

I found this article that I believe has the fixes for it.我发现这篇文章我相信有修复它。 ( https://kb.tableau.com/articles/Issue/tableau-prep-system-error-failure-loading-fedop ) I don't want to update Tableau Prep, but it does have one fix that does not involve that. https://kb.tableau.com/articles/Issue/tableau-prep-system-error-failure-loading-fedop )我不想更新 Tableau Prep,但它确实有一个不涉及的修复. It says to:它说:

Set environment variable useJaxbSerialization=true设置环境变量 useJaxbSerialization=true

How do I do this?我该怎么做呢? In the environment variable screen, do I just write, "useJaxbSerialization=true" for the Variable value and "Tableau Prep bug fix" for the Variable name?在环境变量屏幕中,我是否只为变量值写“useJaxbSerialization=true”,为变量名称写“Tableau Prep bug fix”? Also, I am using a virtual environment to run Tabpy, and if that is responsible for the error, I am not sure how to set an environment variable in a virtual environment.另外,我正在使用虚拟环境来运行 Tabpy,如果这是导致错误的原因,我不确定如何在虚拟环境中设置环境变量。 I am using Tableau Prep 2021.2.3.我正在使用 Tableau Prep 2021.2.3。

I assume they mean set the value in the System variables.我假设他们的意思是在系统变量中设置值。

try:尝试:

  1. On the Windows taskbar, right-click the Windows icon and select System.在 Windows 任务栏上,右键单击 Windows 图标和 select 系统。
  2. In the Settings window, under Related Settings, click Advanced system settings.在设置 window 的相关设置下,单击高级系统设置。
  3. On the Advanced tab, click Environment Variables.在高级选项卡上,单击环境变量。
  4. Click New below 'System variables' to create a new environment variable单击“系统变量”下方的新建以创建新的环境变量
  5. Input name useJaxbSerialization and value true输入名称useJaxbSerialization和值true

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM