帮帮我,我无法在 ubuntu 24.04 上启动 anaconda navigator,错误消息如下警告:在 Gnome 上忽略 XDG_SESSION_TYPE=wayland。使用 QT_QPA_PLATFORM=wayland 在 Wayland 上运行
帮帮我,我无法在 ubuntu 24.04 上启动 anaconda navigator,错误信息如下
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Aborted (core dumped)
我到处搜索,但没有找到答案
我有一组虚拟机,希望它们在早上自动开启。我配置了一个可以自动开启虚拟机的逻辑应用,以下是我的代码:# Logic App
我有一组虚拟机,希望它们在早上自动开启。我配置了一个可以自动开启虚拟机的逻辑应用程序,以下是我的代码:
# Logic App Workflow
resource "azurerm_logic_app_workflow" "logic_app" {
name = "vm-startup-logicapp"
location = "xxx"
resource_group_name = "xxx"
}
# Recurrence Trigger
resource "azurerm_logic_app_trigger_recurrence" "recurrence" {
logic_app_id = azurerm_logic_app_workflow.logic_app.id
name = "daily-trigger"
frequency = "Day"
interval = 1
time_zone = "Pacific Standard Time"
schedule {
at_these_hours = [7]
at_these_minutes = [0]
}
}
# Common Headers
locals {
headers = {
"Content-Type" = "application/json"
"Authorization" = "Bearer ${data.azurerm_key_vault_secret.access_token.value}"
}
}
# HTTP Action to start VM devinfrajbox01
resource "azurerm_logic_app_action_http" "start_vm_action_jbox01" {
logic_app_id = azurerm_logic_app_workflow.logic_app.id
name = "start-vm-devinfrajbox01"
method = "POST"
uri = "https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachines/devinfrajbox01/start?api-version=2024-07-01"
headers = local.headers
}
# HTTP Action to start VM devinfrajbox02
resource "azurerm_logic_app_action_http" "start_vm_action_jbox02" {
logic_app_id = azurerm_logic_app_workflow.logic_app.id
name = "start-vm-devinfrajbox02"
method = "POST"
uri = "https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachines/devinfrajbox02/start?api-version=2024-07-01"
headers = local.headers
}
# HTTP Action to start VM devinfrarunner02
resource "azurerm_logic_app_action_http" "start_vm_action_runner02" {
logic_app_id = azurerm_logic_app_workflow.logic_app.id
name = "start-vm-devinfrarunner02"
method = "POST"
uri = "https://management.azure.com/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachines/devinfrarunner02/start?api-version=2024-07-01"
headers = local.headers
}
该逻辑应用程序不断给我“BadRequest”,立即失败并说:{\'error\':{\'code\': \'MissingApiVersionParameter\',\'message\': \'所有请求都需要api-version查询参数(?api-version =)。\'}}
我逐字逐句地遵循了文档,但仍然收到此错误消息。原因是它告诉我当 API 参数存在时它需要一个 API 参数。我也广泛使用了 LLM,但仍然没有解决方案。任何帮助都非常感谢。