Not able to get any results for queries from rtf files because of retrieved contents being encoded.

Steps to reproduce the problem:

make run from https://github.com/gptscript-ai/knowledge to launch knowledge in server mode.
Copy bin/knowledge to path (/usr/local/bin)
Run the following script to ingest and search a rtf file

# Set KNOW_SERVER_URL=standalone to use the client in standalone mode (i.e. without a server running)

tools: Create Dataset, sys.find, Ingest, Retrieve

Create a new Knowledge Base Dataset with ID ${id}
Then, ingest ${filepath} into the dataset.
Then, figure out ${query} from the previously ingested files.

---
name: create dataset
description: Create a new Dataset in the Knowledge Base
args: id: ID of the Dataset

#!knowledge client create-dataset ${id}

---
name: ingest
description: Ingest a file or all files from a directory into a Knowledge Base Dataset
args: id: ID of the Dataset
args: filepath: Path to the file or directory to be ingested

#!knowledge client ingest ${id} ${filepath}

---
name: retrieve
description: Retrieve information from a Knowledge Base Dataset
args: id: ID of the Dataset
args: query: Query to be executed against the Knowledge Base Dataset

#!knowledge client retrieve ${id} ${query}

Ingestion is successful. But i am not able to get any responses for the query even though I see retrieve tool return some information. This is the response i get -

The retrieved content appears to be encoded or in a format that is not directly interpretable as text. Therefore, I cannot provide a list of questions relating to the Great Awakening from the ingested file

gptscript % gptscript --disable-cache --debug testknowledge.gpt --id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query "List the questions relating to Great Awekening"
{
  "level": "debug",
  "logger": "/pkg/loader",
  "msg": "opened testknowledge.gpt",
  "time": "2024-04-30T11:40:43-07:00"
}
{
  "input": "--id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query List the questions relating to Great Awekening",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "Run started",
  "program": {
    "name": "testknowledge.gpt",
    "entryToolId": "testknowledge.gpt:1",
    "toolSet": {
      "sys.find": {
        "name": "sys.find",
        "description": "Traverse a directory looking for files that match a pattern in the style of the unix find command",
        "modelName": "gpt-4-turbo-preview",
        "internalPrompt": null,
        "arguments": {
          "properties": {
            "directory": {
              "description": "The directory to search in. The current directory \".\" will be used as the default if no argument is passed",
              "type": "string"
            },
            "pattern": {
              "description": "The file pattern to look for. The pattern is a traditional unix glob format with * matching any character and ? matching a single character",
              "type": "string"
            }
          },
          "type": "object"
        },
        "instructions": "#!sys.find",
        "id": "sys.find",
        "source": {}
      },
      "testknowledge.gpt:1": {
        "modelName": "gpt-4-turbo-preview",
        "internalPrompt": null,
        "tools": [
          "create dataset",
          "sys.find",
          "ingest",
          "retrieve"
        ],
        "instructions": "Create a new Knowledge Base Dataset with ID ${id}\nThen, ingest ${filepath} into the dataset.\nThen, figure out ${query} from the previously ingested files.",
        "id": "testknowledge.gpt:1",
        "toolMapping": {
          "create dataset": "testknowledge.gpt:10",
          "ingest": "testknowledge.gpt:17",
          "retrieve": "testknowledge.gpt:25",
          "sys.find": "sys.find"
        },
        "localTools": {
          "": "testknowledge.gpt:1",
          "create dataset": "testknowledge.gpt:10",
          "ingest": "testknowledge.gpt:17",
          "retrieve": "testknowledge.gpt:25"
        },
        "source": {
          "location": "testknowledge.gpt",
          "lineNo": 1
        },
        "workingDir": "."
      },
      "testknowledge.gpt:10": {
        "name": "create dataset",
        "description": "Create a new Dataset in the Knowledge Base",
        "modelName": "gpt-4-turbo-preview",
        "internalPrompt": null,
        "arguments": {
          "properties": {
            "id": {
              "description": "ID of the Dataset",
              "type": "string"
            }
          },
          "type": "object"
        },
        "instructions": "#!knowledge client create-dataset ${id}",
        "id": "testknowledge.gpt:10",
        "localTools": {
          "": "testknowledge.gpt:1",
          "create dataset": "testknowledge.gpt:10",
          "ingest": "testknowledge.gpt:17",
          "retrieve": "testknowledge.gpt:25"
        },
        "source": {
          "location": "testknowledge.gpt",
          "lineNo": 10
        },
        "workingDir": "."
      },
      "testknowledge.gpt:17": {
        "name": "ingest",
        "description": "Ingest a file or all files from a directory into a Knowledge Base Dataset",
        "modelName": "gpt-4-turbo-preview",
        "internalPrompt": null,
        "arguments": {
          "properties": {
            "filepath": {
              "description": "Path to the file or directory to be ingested",
              "type": "string"
            },
            "id": {
              "description": "ID of the Dataset",
              "type": "string"
            }
          },
          "type": "object"
        },
        "instructions": "#!knowledge client ingest ${id} ${filepath}",
        "id": "testknowledge.gpt:17",
        "localTools": {
          "": "testknowledge.gpt:1",
          "create dataset": "testknowledge.gpt:10",
          "ingest": "testknowledge.gpt:17",
          "retrieve": "testknowledge.gpt:25"
        },
        "source": {
          "location": "testknowledge.gpt",
          "lineNo": 17
        },
        "workingDir": "."
      },
      "testknowledge.gpt:25": {
        "name": "retrieve",
        "description": "Retrieve information from a Knowledge Base Dataset",
        "modelName": "gpt-4-turbo-preview",
        "internalPrompt": null,
        "arguments": {
          "properties": {
            "id": {
              "description": "ID of the Dataset",
              "type": "string"
            },
            "query": {
              "description": "Query to be executed against the Knowledge Base Dataset",
              "type": "string"
            }
          },
          "type": "object"
        },
        "instructions": "#!knowledge client retrieve ${id} ${query}",
        "id": "testknowledge.gpt:25",
        "localTools": {
          "": "testknowledge.gpt:1",
          "create dataset": "testknowledge.gpt:10",
          "ingest": "testknowledge.gpt:17",
          "retrieve": "testknowledge.gpt:25"
        },
        "source": {
          "location": "testknowledge.gpt",
          "lineNo": 25
        },
        "workingDir": "."
      }
    }
  },
  "runID": "1",
  "time": "2024-04-30T11:40:43-07:00"
}
{
  "id": "1",
  "input": "--id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query List the questions relating to Great Awekening",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "started  [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:43-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "sent     [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:44-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "completionID": "1",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "request": {
    "model": "gpt-4-turbo-preview",
    "messages": [
      {
        "role": "system",
        "content": "\nYou are task oriented system.\nYou receive input from a user, process the input from the given instructions, and then output the result.\nYour objective is to provide consistent and correct results.\nYou do not need to explain the steps taken, only provide the result to the given instructions.\nYou are referred to as a tool.\nYou don't move to the next step until you have a result.\n\nCreate a new Knowledge Base Dataset with ID ${id}\nThen, ingest ${filepath} into the dataset.\nThen, figure out ${query} from the previously ingested files."
      },
      {
        "role": "user",
        "content": "--id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query List the questions relating to Great Awekening"
      }
    ],
    "temperature": 0,
    "tools": [
      {
        "type": "function",
        "function": {
          "name": "createDataset",
          "description": "Create a new Dataset in the Knowledge Base",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "find",
          "description": "Traverse a directory looking for files that match a pattern in the style of the unix find command",
          "parameters": {
            "properties": {
              "directory": {
                "description": "The directory to search in. The current directory \".\" will be used as the default if no argument is passed",
                "type": "string"
              },
              "pattern": {
                "description": "The file pattern to look for. The pattern is a traditional unix glob format with * matching any character and ? matching a single character",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "ingest",
          "description": "Ingest a file or all files from a directory into a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "filepath": {
                "description": "Path to the file or directory to be ingested",
                "type": "string"
              },
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "retrieve",
          "description": "Retrieve information from a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              },
              "query": {
                "description": "Query to be executed against the Knowledge Base Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      }
    ]
  },
  "time": "2024-04-30T11:40:44-07:00",
  "toolID": "testknowledge.gpt:1"
}
         content  [1] content | Waiting for model response...
         content  [1] content | tool call createDataset -> {"id":"66662"}
{
  "cached": false,
  "completionID": "1",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "response": {
    "role": "assistant",
    "content": [
      {
        "toolCall": {
          "index": 0,
          "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
          "function": {
            "name": "createDataset",
            "arguments": "{\"id\":\"66662\"}"
          }
        }
      }
    ]
  },
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
  "input": "{\"id\":\"66662\"}",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "started  [create dataset(2)]",
  "parentID": "1",
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:10"
}
{
  "level": "debug",
  "logger": "/pkg/env",
  "msg": "Looking for knowledge in /Users/sangeethahariharan/.rd/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/go/bin:/Users/sangeethahariharan/.cargo/bin",
  "time": "2024-04-30T11:40:45-07:00"
}
{
  "level": "debug",
  "logger": "/pkg/env",
  "msg": "Found /usr/local/bin/knowledge for knowledge in /Users/sangeethahariharan/.rd/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/go/bin:/Users/sangeethahariharan/.cargo/bin",
  "time": "2024-04-30T11:40:45-07:00"
}
{
  "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "sent     [create dataset(2)]",
  "parentID": "1",
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:10"
}
{
  "completionID": "1",
  "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "1",
  "request": {
    "command": [
      "/usr/local/bin/knowledge",
      "client",
      "create-dataset",
      "66662"
    ],
    "input": "{\"id\":\"66662\"}"
  },
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:10"
}
{
  "cached": false,
  "completionID": "1",
  "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "1",
  "response": {
    "err": null,
    "output": "Created dataset \"66662\"\n"
  },
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:10"
}
{
  "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "ended    [create dataset(2)]",
  "output": "Created dataset \"66662\"\n",
  "parentID": "1",
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:10"
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "continue [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:1",
  "toolResults": 1
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "sent     [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "completionID": "2",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "request": {
    "model": "gpt-4-turbo-preview",
    "messages": [
      {
        "role": "system",
        "content": "\nYou are task oriented system.\nYou receive input from a user, process the input from the given instructions, and then output the result.\nYour objective is to provide consistent and correct results.\nYou do not need to explain the steps taken, only provide the result to the given instructions.\nYou are referred to as a tool.\nYou don't move to the next step until you have a result.\n\nCreate a new Knowledge Base Dataset with ID ${id}\nThen, ingest ${filepath} into the dataset.\nThen, figure out ${query} from the previously ingested files."
      },
      {
        "role": "user",
        "content": "--id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query List the questions relating to Great Awekening"
      },
      {
        "role": "assistant",
        "content": "",
        "tool_calls": [
          {
            "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
            "type": "function",
            "function": {
              "name": "createDataset",
              "arguments": "{\"id\":\"66662\"}"
            }
          }
        ]
      },
      {
        "role": "tool",
        "content": "Created dataset \"66662\"\n",
        "name": "createDataset",
        "tool_call_id": "call_lcuL69BvTIFSFOpFc6iWnCEf"
      }
    ],
    "temperature": 0,
    "tools": [
      {
        "type": "function",
        "function": {
          "name": "createDataset",
          "description": "Create a new Dataset in the Knowledge Base",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "find",
          "description": "Traverse a directory looking for files that match a pattern in the style of the unix find command",
          "parameters": {
            "properties": {
              "directory": {
                "description": "The directory to search in. The current directory \".\" will be used as the default if no argument is passed",
                "type": "string"
              },
              "pattern": {
                "description": "The file pattern to look for. The pattern is a traditional unix glob format with * matching any character and ? matching a single character",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "ingest",
          "description": "Ingest a file or all files from a directory into a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "filepath": {
                "description": "Path to the file or directory to be ingested",
                "type": "string"
              },
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "retrieve",
          "description": "Retrieve information from a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              },
              "query": {
                "description": "Query to be executed against the Knowledge Base Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      }
    ]
  },
  "time": "2024-04-30T11:40:45-07:00",
  "toolID": "testknowledge.gpt:1"
}
         content  [1] content | Waiting for model response...
         content  [1] content | tool call ingest -> {"filepath":"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf","id":"66662"}
{
  "cached": false,
  "completionID": "2",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "response": {
    "role": "assistant",
    "content": [
      {
        "toolCall": {
          "index": 0,
          "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
          "function": {
            "name": "ingest",
            "arguments": "{\"filepath\":\"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\",\"id\":\"66662\"}"
          }
        }
      }
    ]
  },
  "time": "2024-04-30T11:40:47-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
  "input": "{\"filepath\":\"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\",\"id\":\"66662\"}",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "started  [ingest(3)]",
  "parentID": "1",
  "time": "2024-04-30T11:40:47-07:00",
  "toolID": "testknowledge.gpt:17"
}
{
  "level": "debug",
  "logger": "/pkg/env",
  "msg": "Looking for knowledge in /Users/sangeethahariharan/.rd/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/go/bin:/Users/sangeethahariharan/.cargo/bin",
  "time": "2024-04-30T11:40:47-07:00"
}
{
  "level": "debug",
  "logger": "/pkg/env",
  "msg": "Found /usr/local/bin/knowledge for knowledge in /Users/sangeethahariharan/.rd/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/go/bin:/Users/sangeethahariharan/.cargo/bin",
  "time": "2024-04-30T11:40:47-07:00"
}
{
  "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "sent     [ingest(3)]",
  "parentID": "1",
  "time": "2024-04-30T11:40:47-07:00",
  "toolID": "testknowledge.gpt:17"
}
{
  "completionID": "2",
  "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "1",
  "request": {
    "command": [
      "/usr/local/bin/knowledge",
      "client",
      "ingest",
      "66662",
      "/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf"
    ],
    "input": "{\"filepath\":\"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\",\"id\":\"66662\"}"
  },
  "time": "2024-04-30T11:40:47-07:00",
  "toolID": "testknowledge.gpt:17"
}
{
  "cached": false,
  "completionID": "2",
  "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "1",
  "response": {
    "err": null,
    "output": "Ingested \"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\" into dataset \"66662\"\n"
  },
  "time": "2024-04-30T11:40:53-07:00",
  "toolID": "testknowledge.gpt:17"
}
{
  "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "ended    [ingest(3)]",
  "output": "Ingested \"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\" into dataset \"66662\"\n",
  "parentID": "1",
  "time": "2024-04-30T11:40:53-07:00",
  "toolID": "testknowledge.gpt:17"
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "continue [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:53-07:00",
  "toolID": "testknowledge.gpt:1",
  "toolResults": 1
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "sent     [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:54-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "completionID": "3",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "request": {
    "model": "gpt-4-turbo-preview",
    "messages": [
      {
        "role": "system",
        "content": "\nYou are task oriented system.\nYou receive input from a user, process the input from the given instructions, and then output the result.\nYour objective is to provide consistent and correct results.\nYou do not need to explain the steps taken, only provide the result to the given instructions.\nYou are referred to as a tool.\nYou don't move to the next step until you have a result.\n\nCreate a new Knowledge Base Dataset with ID ${id}\nThen, ingest ${filepath} into the dataset.\nThen, figure out ${query} from the previously ingested files."
      },
      {
        "role": "user",
        "content": "--id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query List the questions relating to Great Awekening"
      },
      {
        "role": "assistant",
        "content": "",
        "tool_calls": [
          {
            "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
            "type": "function",
            "function": {
              "name": "createDataset",
              "arguments": "{\"id\":\"66662\"}"
            }
          }
        ]
      },
      {
        "role": "tool",
        "content": "Created dataset \"66662\"\n",
        "name": "createDataset",
        "tool_call_id": "call_lcuL69BvTIFSFOpFc6iWnCEf"
      },
      {
        "role": "assistant",
        "content": "",
        "tool_calls": [
          {
            "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
            "type": "function",
            "function": {
              "name": "ingest",
              "arguments": "{\"filepath\":\"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\",\"id\":\"66662\"}"
            }
          }
        ]
      },
      {
        "role": "tool",
        "content": "Ingested \"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\" into dataset \"66662\"\n",
        "name": "ingest",
        "tool_call_id": "call_USBlf1rNTDxvWFJRepxy1y4Q"
      }
    ],
    "temperature": 0,
    "tools": [
      {
        "type": "function",
        "function": {
          "name": "createDataset",
          "description": "Create a new Dataset in the Knowledge Base",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "find",
          "description": "Traverse a directory looking for files that match a pattern in the style of the unix find command",
          "parameters": {
            "properties": {
              "directory": {
                "description": "The directory to search in. The current directory \".\" will be used as the default if no argument is passed",
                "type": "string"
              },
              "pattern": {
                "description": "The file pattern to look for. The pattern is a traditional unix glob format with * matching any character and ? matching a single character",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "ingest",
          "description": "Ingest a file or all files from a directory into a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "filepath": {
                "description": "Path to the file or directory to be ingested",
                "type": "string"
              },
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "retrieve",
          "description": "Retrieve information from a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              },
              "query": {
                "description": "Query to be executed against the Knowledge Base Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      }
    ]
  },
  "time": "2024-04-30T11:40:54-07:00",
  "toolID": "testknowledge.gpt:1"
}
         content  [1] content | Waiting for model response...
         content  [1] content | tool call retrieve -> {"id":"66662","query":"List the questions relating to Great Awakening"}
{
  "cached": false,
  "completionID": "3",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "response": {
    "role": "assistant",
    "content": [
      {
        "toolCall": {
          "index": 0,
          "id": "call_p4VyNqCfBK3pGQM32kji6waj",
          "function": {
            "name": "retrieve",
            "arguments": "{\"id\":\"66662\",\"query\":\"List the questions relating to Great Awakening\"}"
          }
        }
      }
    ]
  },
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "id": "call_p4VyNqCfBK3pGQM32kji6waj",
  "input": "{\"id\":\"66662\",\"query\":\"List the questions relating to Great Awakening\"}",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "started  [retrieve(4)]",
  "parentID": "1",
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:25"
}
{
  "level": "debug",
  "logger": "/pkg/env",
  "msg": "Looking for knowledge in /Users/sangeethahariharan/.rd/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/go/bin:/Users/sangeethahariharan/.cargo/bin",
  "time": "2024-04-30T11:40:55-07:00"
}
{
  "level": "debug",
  "logger": "/pkg/env",
  "msg": "Found /usr/local/bin/knowledge for knowledge in /Users/sangeethahariharan/.rd/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/go/bin:/Users/sangeethahariharan/.cargo/bin",
  "time": "2024-04-30T11:40:55-07:00"
}
{
  "id": "call_p4VyNqCfBK3pGQM32kji6waj",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "sent     [retrieve(4)]",
  "parentID": "1",
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:25"
}
{
  "completionID": "3",
  "id": "call_p4VyNqCfBK3pGQM32kji6waj",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "1",
  "request": {
    "command": [
      "/usr/local/bin/knowledge",
      "client",
      "retrieve",
      "66662",
      "List the questions relating to Great Awakening"
    ],
    "input": "{\"id\":\"66662\",\"query\":\"List the questions relating to Great Awakening\"}"
  },
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:25"
}
{
  "cached": false,
  "completionID": "3",
  "id": "call_p4VyNqCfBK3pGQM32kji6waj",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "1",
  "response": {
    "err": null,
    "output": "Retrieved the following 5 sources for the query \"List the questions relating to Great Awakening\" from dataset \"66662\": [{\"content\":\"AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmYwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDANCjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMDUwMDAwMDAwMDAwMDB9fQ==\",\"metadata\":{\"filename\":\"RTF_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ZnMyMCBcbHRyY2hcZmNzMCBcZjFcZnMyMFxpbnNyc2lkNTk3NDM2NCBcaGljaFxhZjFcZGJjaFxhZjMxNTA1XGxvY2hcZjEgKmMufXtccnRsY2hcZmNzMSBcYWYxXGFmczIwIFxsdHJjaFxmY3MwIFxmMVxmc\",\"metadata\":{\"filename\":\"RTF_Sample.rtf\"},\"similarity_score\":0.7404962},{\"content\":\"MTgwXGxpMjE2MFxsaW4yMTYwIH17XGxpc3RsZXZlbFxsZXZlbG5mYzBcbGV2ZWxuZmNuMFxsZXZlbGpjMFxsZXZlbGpjbjBcbGV2ZWxmb2xsb3cwXGxldmVsc3RhcnRhdDFcbHZsdGVudGF0aXZlXGxldmVsc3BhY2UwXGxldmVsaW5kZW50MA0Ke1xsZXZlbHRleHRcbGV2ZWx0ZW1wbGF0ZWlkNjc2OTg3MDNcJzAyXCcwMy47fXtcbGV2ZWxudW1iZXJzXCcwMTt9XHJ0bGNoXGZjczEgXGFmMCBcbHRyY2hcZmNzMCBcZmktMzYwXGxpMjg4MFxsaW4yODgwIH17XGxpc3RsZXZlbFxsZXZlbG5mYzRcbGV2ZWxuZmNuNFxsZXZlbGpjMFxsZXZlbGpjbjBcbGV2ZWxmb2xsb3cwXGxldmVsc3RhcnRhdDFcbHZsdGVudGF0aXZlXGxldmVsc3BhY2UwXGxldmVsaW5kZW50MHtcbGV2ZWx0ZXh0DQpcbGV2ZWx0ZW1wbGF0ZWlkNjc2OTg3MTNcJzAyXCcwNC47fXtcbGV2ZWxudW1iZXJzXCcwMTt9XHJ0bGNoXGZjczEgXGFmMCBcbHRyY2hcZmNzMCBcZmktMzYwXGxpMzYwMFxsaW4zNjAwIH17XGxpc3RsZXZlbFxsZXZlbG5mYzJcbGV2ZWxuZmNuMlxsZXZlbGpjMlxsZXZlbGpj\",\"metadata\":{\"filename\":\"RTF_Sample.rtf\"},\"similarity_score\":0.73963165}]\n"
  },
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:25"
}
{
  "id": "call_p4VyNqCfBK3pGQM32kji6waj",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "ended    [retrieve(4)]",
  "output": "Retrieved the following 5 sources for the query \"List the questions relating to Great Awakening\" from dataset \"66662\": [{\"content\":\"AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmYwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDANCjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMDUwMDAwMDAwMDAwMDB9fQ==\",\"metadata\":{\"filename\":\"RTF_Sample.rtf\"},\"similarity_score\":0.7463454},{\"content\":\"Q0OTE3MjQ4IFxoaWNoXGFmMVxkYmNoXGFmMzE1MDVcbG9jaFxmMSApIH17XHJ0bGNoXGZjczEgXGFmMVxhZnMyMCBcbHRyY2hcZmNzMCBcZjFcZnMyMFxpbnNyc2lkMTUxNTA0NjggXGhpY2hcYWYxXGRiY2hcYWYzMTUwNVxsb2NoXGYxIEZyYW5rbGlufXtccnRsY2hcZmNzMSBcYWYxXGFmczIwIFxsdHJjaFxmY3MwIFxmMVxmczIwXGluc3JzaWQ0OTE3MjQ4XGNoYXJyc2lkNDkxNzI0OCANClxoaWNoXGFmMVxkYmNoXGFmMzE1MDVcbG9jaFxmMSAgUm9vc2V2ZWx0IHdhcyB0aGUgfXtccnRsY2hcZmNzMSBcYWYxXGFmczIwIFxsdHJjaFxmY3MwIFxmMVxmczIwXGluc3JzaWQ0OTE3MjQ4IFxoaWNoXGFmMVxkYm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oXGZjczEgXGFmMCBcbHRyY2hcZmNzMCBcZmktMzYwXGxpMjg4MFxsaW4yODgwIH17XGxpc3RsZXZlbFxsZXZlbG5mYzRcbGV2ZWxuZmNuNFxsZXZlbGpjMFxsZXZlbGpjbjBcbGV2ZWxmb2xsb3cwXGxldmVsc3RhcnRhdDFcbHZsdGVudGF0aXZlXGxldmVsc3BhY2UwXGxldmVsaW5kZW50MHtcbGV2ZWx0ZXh0DQpcbGV2ZWx0ZW1wbGF0ZWlkNjc2OTg3MTNcJzAyXCcwNC47fXtcbGV2ZWxudW1iZXJzXCcwMTt9XHJ0bGNoXGZjczEgXGFmMCBcbHRyY2hcZmNzMCBcZmktMzYwXGxpMzYwMFxsaW4zNjAwIH17XGxpc3RsZXZlbFxsZXZlbG5mYzJcbGV2ZWxuZmNuMlxsZXZlbGpjMlxsZXZlbGpj\",\"metadata\":{\"filename\":\"RTF_Sample.rtf\"},\"similarity_score\":0.73963165}]\n",
  "parentID": "1",
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:25"
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "continue [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:1",
  "toolResults": 1
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "sent     [main]",
  "parentID": "",
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "completionID": "4",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "request": {
    "model": "gpt-4-turbo-preview",
    "messages": [
      {
        "role": "system",
        "content": "\nYou are task oriented system.\nYou receive input from a user, process the input from the given instructions, and then output the result.\nYour objective is to provide consistent and correct results.\nYou do not need to explain the steps taken, only provide the result to the given instructions.\nYou are referred to as a tool.\nYou don't move to the next step until you have a result.\n\nCreate a new Knowledge Base Dataset with ID ${id}\nThen, ingest ${filepath} into the dataset.\nThen, figure out ${query} from the previously ingested files."
      },
      {
        "role": "user",
        "content": "--id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query List the questions relating to Great Awekening"
      },
      {
        "role": "assistant",
        "content": "",
        "tool_calls": [
          {
            "id": "call_lcuL69BvTIFSFOpFc6iWnCEf",
            "type": "function",
            "function": {
              "name": "createDataset",
              "arguments": "{\"id\":\"66662\"}"
            }
          }
        ]
      },
      {
        "role": "tool",
        "content": "Created dataset \"66662\"\n",
        "name": "createDataset",
        "tool_call_id": "call_lcuL69BvTIFSFOpFc6iWnCEf"
      },
      {
        "role": "assistant",
        "content": "",
        "tool_calls": [
          {
            "id": "call_USBlf1rNTDxvWFJRepxy1y4Q",
            "type": "function",
            "function": {
              "name": "ingest",
              "arguments": "{\"filepath\":\"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\",\"id\":\"66662\"}"
            }
          }
        ]
      },
      {
        "role": "tool",
        "content": "Ingested \"/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf\" into dataset \"66662\"\n",
        "name": "ingest",
        "tool_call_id": "call_USBlf1rNTDxvWFJRepxy1y4Q"
      },
      {
        "role": "assistant",
        "content": "",
        "tool_calls": [
          {
            "id": "call_p4VyNqCfBK3pGQM32kji6waj",
            "type": "function",
            "function": {
              "name": "retrieve",
              "arguments": "{\"id\":\"66662\",\"query\":\"List the questions relating to Great Awakening\"}"
            }
          }
        ]
      },
      {
        "role": "tool",
        "content": "Retrieved the following 5 sources for the query \"List the questions relating to Great Awakening\" from dataset \"66662\": [{\"content\":\"AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM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XGFmMCBcbHRyY2hcZmNzMCBcZmktMzYwXGxpMzYwMFxsaW4zNjAwIH17XGxpc3RsZXZlbFxsZXZlbG5mYzJcbGV2ZWxuZmNuMlxsZXZlbGpjMlxsZXZlbGpj\",\"metadata\":{\"filename\":\"RTF_Sample.rtf\"},\"similarity_score\":0.73963165}]\n",
        "name": "retrieve",
        "tool_call_id": "call_p4VyNqCfBK3pGQM32kji6waj"
      }
    ],
    "temperature": 0,
    "tools": [
      {
        "type": "function",
        "function": {
          "name": "createDataset",
          "description": "Create a new Dataset in the Knowledge Base",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "find",
          "description": "Traverse a directory looking for files that match a pattern in the style of the unix find command",
          "parameters": {
            "properties": {
              "directory": {
                "description": "The directory to search in. The current directory \".\" will be used as the default if no argument is passed",
                "type": "string"
              },
              "pattern": {
                "description": "The file pattern to look for. The pattern is a traditional unix glob format with * matching any character and ? matching a single character",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "ingest",
          "description": "Ingest a file or all files from a directory into a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "filepath": {
                "description": "Path to the file or directory to be ingested",
                "type": "string"
              },
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      {
        "type": "function",
        "function": {
          "name": "retrieve",
          "description": "Retrieve information from a Knowledge Base Dataset",
          "parameters": {
            "properties": {
              "id": {
                "description": "ID of the Dataset",
                "type": "string"
              },
              "query": {
                "description": "Query to be executed against the Knowledge Base Dataset",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      }
    ]
  },
  "time": "2024-04-30T11:40:55-07:00",
  "toolID": "testknowledge.gpt:1"
}
         content  [1] content | Waiting for model response...         content  [1] content | The retrieved content appears to be encoded or in a format that is not directly interpretable as text. Therefore, I cannot provide a list of questions relating to the Great Awakening from the ingested file.
{
  "cached": false,
  "completionID": "4",
  "id": "1",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "debug",
  "parentID": "",
  "response": {
    "role": "assistant",
    "content": [
      {
        "text": "The retrieved content appears to be encoded or in a format that is not directly interpretable as text. Therefore, I cannot provide a list of questions relating to the Great Awakening from the ingested file."
      }
    ]
  },
  "time": "2024-04-30T11:40:59-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "id": "1",
  "level": "info",
  "logger": "/pkg/monitor",
  "msg": "ended    [main]",
  "output": "The retrieved content appears to be encoded or in a format that is not directly interpretable as text. Therefore, I cannot provide a list of questions relating to the Great Awakening from the ingested file.",
  "parentID": "",
  "time": "2024-04-30T11:40:59-07:00",
  "toolID": "testknowledge.gpt:1"
}
{
  "err": null,
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "Run stopped",
  "output": "The retrieved content appears to be encoded or in a format that is not directly interpretable as text. Therefore, I cannot provide a list of questions relating to the Great Awakening from the ingested file.",
  "runID": "1",
  "time": "2024-04-30T11:40:59-07:00"
}

INPUT:

--id 66662 --filepath /Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf --query List the questions relating to Great Awekening

OUTPUT:

The retrieved content appears to be encoded or in a format that is not directly interpretable as text. Therefore, I cannot provide a list of questions relating to the Great Awakening from the ingested file.

Knowledge logs dont indicate any errors:
2024/04/30 11:41:56 INFO Creating dataset id=66663
[GIN] 2024/04/30 - 11:41:56 | 200 |    1.072917ms |             ::1 | POST     "/v1/datasets/create"
2024/04/30 11:42:03 INFO Ingesting content into dataset dataset=66663
2024/04/30 11:42:03 DEBUG Received ingest request content_size=148600 metadata="&{Name:RTF_Sample.rtf AbsolutePath:/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf Size:83584 ModifiedAt:2024-03-07 17:04:30 -0800 PST}"
2024/04/30 11:42:03 INFO IngestOpts opts="{Filename:0x140003763b0 FileMetadata:0x14001f15980 IsDuplicateFuncName: IsDuplicateFunc:<nil>}"
2024/04/30 11:42:03 DEBUG Loading data type=.rtf filename=RTF_Sample.rtf
2024/04/30 11:42:03 DEBUG Ingesting documents count=199
2024/04/30 11:42:09 INFO Ingested document filename=RTF_Sample.rtf count=199 absolute_path=/Users/sangeethahariharan/Downloads/mytestdocuments/RTF_Sample.rtf
[GIN] 2024/04/30 - 11:42:09 | 200 |  6.347162458s |             ::1 | POST     "/v1/datasets/66663/ingest"
2024/04/30 11:42:11 INFO Retrieving content from dataset dataset=66663
2024/04/30 11:42:11 DEBUG Retrieving content from dataset dataset=66663 query="{Prompt:List the questions relating to India TopK:0x14009afd658}"
2024/04/30 11:42:11 DEBUG Retrieved documents num_documents=5
[GIN] 2024/04/30 - 11:42:11 | 200 |  175.818292ms |             ::1 | POST     "/v1/datasets/66663/retrieve"

Renamed rft file to .txt to upload -
RTF_Sample.txt

There was a bug where in client-server mode, content was double encoded - that's fixed now :+1:

Able to retrieve information from rtf files successfully when testing with latest version of knowledge.


nginx path needs quotes

the following section in the nginx config (and prob others) breaks if there is a space in the path to our static content:
location /static/ {
      alias /Users/spot/beaker-notebook/launcher/mac/Beaker mac fix test.app/Contents/Resources/dist/src/main/web/static/;
    }

just got bit by this pretty hard

Think I found a variation of this bug:
IPython plugin fails to start when user name has space, e.g. "Andrew Olney"
Repro: create a user name with a space in it (as above), then run default notebook
IPython fails on C:\Users\Andrew Olney.beaker\v1\nginxXXX\profile_beaker_backend_IPython because the file does not exist (probably b/c the path it receives is C:\Users\Andrew
Fixed this by creating user "Beaker", i.e. C:\Users\Beaker.beaker ... and it works
Version is latest 1.1.2-2 windows release

thanks for the report Andrew. I agree this is the same bug. We will fix it asap.

https://github.com/twosigma/beaker-notebook/pull/1090


Remove openjdk from ARM foundation image

Description

Remove openjdk from ARM foundation image, should of been part of https://github.com/QuantConnect/Lean/pull/5540

Related Issue

N/A
Motivation and Context

It's not required since IB Automater 1.0.35

Requires Documentation Change

N/A
How Has This Been Tested?

N/A
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[ ] My code follows the code style of this project.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

The bundled JVM doesn't work on ARM64, so we update it to use the JVM installed in the previous command


Could not find module "FirebaseUI" using CocoaPods and Swift

Using Swift
Even after installing using CocoaPods, I am unable to import "FirebaseUI" and thus cannot create an instance of "FirebaseLoginViewController."
I am getting this error as well:
[!] Unable to read the license file `/Users/cobyanderson/Documents/Taggle2/Pods/FirebaseUI/LICENSE` for the spec `FirebaseUI (0.4.0)`

[!] Unable to read the license file `/Users/cobyanderson/Documents/Taggle2/Pods/FirebaseUI/LICENSE` for the spec `FirebaseUI (0.4.0)`

Any chance these could be connected?
Attached is my podfile
Podfile.txt

Please use FirebaseDatabaseUI and FirebaseAuthUI in the meantime

Seems like you might be using the old docs, as FirebaseLoginViewController was a 0.3 thing, and we've replaced it with FirebaseAuthUI in 0.4.


feat(tsi): Model Settings Implementation

This PR does not include e2e tests (follow-up PR)
Validated it works with sample code.

/azp run


renatdickinson's file

created a branch, created a file and made a commit, and opened a pull
request

change name


Cannot get Geonbit setup

Good morning.
Trying to use Geonbit, but cannot get it setup on my system.
Using Visual Studio 2015. With Monogame 3.6

Created a new project (Monogame cross platform desktop project)
Using Nuget, grab version 2.0.2 of GeonBit
Add Geonbit Content to Content Manager

I add an existing folder to the Content Manager (Added a link to the folder)

This is where my issues start coming in:
When I try and rebuild the contents inside my Content Manager,
Im presented with a couple of errors:
"Importer (XmlImporter) had unexpected failure!"
They are for any XML files inside the "GeonBit" folder.
I found that I can bypass these errors, by browsing through the Content Manager,
and then setting all the XML files' "Build Action" to "Copy"
Unfortunately, when I try and run my project,
it will then start complaining about "cursor.xnb" not being in the compiled Content folder.
What am I doing wrong?
Kind regards

Hello @tdutoit, good afternoon :)
Just making sure, did you remember to add reference to DataTypes.dll from your content manager?
https://github.com/RonenNess/GeonBit.UI/blob/master/README.md#install (step 1).
If yes / didn't work, another thing I would do is adding the content files not as link, I had some problems in the past with MG 3.6 with links on Windows, but I have to admit I'm not sure if it wasn't just me misusing it.
Let me know if it worked.
Thanks!

Hi @RonenNess
I did not realise you could add references to the Content Manager.
Been adding and re-adding the DataTypes.dll to my project with no success.
That did indeed fix my problem.
Thank you kindly for your quick assistance.

Glad I could help, if you have any more questions don't hesitate to ask :)

Willdo! Had an older version of GeonBit.UI running for a couple of months now... But was stumped on starting a new project. Really love your UI library. In my opinion, the best and easiest to use of the current bunch of implementations.

Thank you :)


Kredis methods are undefined in production for non-ActiveRecord models

Hi,
First, thank you for this great gem.
I'm encountering an error when trying to use Kredis methods like kredis_string,  kredis_json, etc. in a class that inherits from a base class that includes ActiveModel::Model. This issue does not occur in development, only in production, preventing the app to boot.
The error :
undefined method `kredis_json' for Foo::Bar:Class (NoMethodError)

How to reproduce the error:
# Gemfile.rb
gem 'kredis' ## => bundle install

# app/models/foo/base.rb
module Foo
  class Base
    include ActiveModel::Model
  end
end

# app/models/foo/bar.rb
module Foo
  class Bar < Base
    kredis_json :metadata # causes the app to 💥 when booting
  end
end

I wonder it this might have something to do with the way Kredis::Attributes gets included in ActiveModel::Model here. Could it be due to the fact it is called in config.after_initialize callback instead of a load hook like it's done with ActiveRecord?
Just trying to wrap my head around this. The current workaround I use is to include explicitly Kredis::Attributes:
module Foo
  class Bar < Base
    include Kredis::Attributes

    kredis_json :metadata # it works ✅
  end
end

Is it how we should actually use it?
Background

Rails 7
Kredis 1.0.1

@fxn Would you know what's up here?

Yo!
Yes, @EmCousin guess is correct. Eager loading happens in the finisher here, and the after_initialize hook runs later.
This relative order was the same in Rails 5.
I'd suspect that if you ran development mode with eager loading enabled, you'll be able to reproduce and test a solution locally.
I believe the idiomatic thing to do would be to define a load hook for Active Model. But that would need a release of Rails. Meanwhile, activemodel is a dependency of activerecord and its loading happens early on. I believe the include in Kredis could happen within the on_load hook of Active Record, as a temporary workaround.
@EmCousin while a solution for Kredis is worked out, in your application you can do the same. Throw this in and initializer or config/application.rb:
# See https://github.com/rails/kredis/issues/60.
ActiveSupport.on_load(:active_record) do
  ActiveModel::Model.include Kredis::Attributes if defined?(ActiveModel::Model)
end

I have not tested this, but module inclusion is idempotent, so this won't interfere with Kredis doing the same later. That way, you can leave your application code clean and just remove the trick when an update upstream makes it no longer necessary.

Thanks @fxn!

[x] Activating eager_load does reproduce the issue in development environment
[x] Your workaround works. I put it in an initializer named config/initializers/kredis.rb rather than straight to config/application.rb though, since it listens to ActiveSupport.on_load

Looking forward to the update! 🙂

@EmCousin cool!

I put it in an initializer named config/initializers/kredis.rb rather than straight to config/application.rb though, since it listens to ActiveSupport.on_load.

What do you mean?

I mean that this:
# See https://github.com/rails/kredis/issues/60.
ActiveSupport.on_load(:active_record) do
  ActiveModel::Model.include Kredis::Attributes
end

does not have to be put straight into config/application.rb if you don't want to. You can put this piece of code in an initializer and it will work just as well

@EmCousin perfect :).


Fix for disk image building issue

Building nixos disk image throws error, when compiled without nix tooling i.e.
nix.enable = false;
When nix tools are disbaled using above option, it disables nixos installer tools also. So nixos/lib/make-disk-image.nix file gives error as nixos-install is not found.
There is an option 'system.disableInstallerTools' available to disable installer tools, so nix.enable should not remove nixos installation tools.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@aanderse @drupol
Please review.

sorry i'm not familiar with this component, i think you pinged the wrong person

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/remove-nix-package-nix-command-binaries-from-nix-store/38381/1

Please use a more descriptive commit&PR title.

Updated, please review the commit message.

(You didn't push your change.)

Oh, just pushed.

Please see, if it is fine.

This doesn't take in account the last remark from @Atemu .

Please also format your commit message according to the contributor guidelines: <component>: <short description> (all starting with lower case.)

Done.

I don't see any changes.

This is my commit message, I can see this in my PR:
Disk image build failure with nix.enable=false;

Building a NixOS disk image results in an error when compiled without Nix tooling,
as indicated by the use of the option `nix.enable = false;`. Disabling Nix tools through
this option not only deactivates general Nix tools but also deletes NixOS installer tools.
Consequently, an error is encountered in the `nixos/lib/make-disk-image.nix` file due to
the absence of the `nixos-install` component.

To address this issue, it is worth noting the availability of the `system.disableInstallerTools`
option, which serves the purpose of disabling installer tools specifically. Therefore, adjusting
the configuration by using `nix.enable = false;` should not interfere with the presence of NixOS
installation tools, as this can be managed separately through `system.disableInstallerTools`.

nixos installer: remove nix tooling dependency from nixos config

Signed-off-by: Ganga Ram<EMAIL_ADDRESS>

yeah, you just committed 2 minutes ago :)

I referred an old PR in the same module :)

Thank you 🙂

Please review. If all fine, merge it.

@Atemu @drupol Please review.


Automate abigen.sh scripts for solidity change

Jeff, I cannot resolve this conflict by running https://github.com/taikoxyz/taiko-mono/blob/main/packages/eventindexer/abigen.sh as there is no doc for helping me install dependencies:
./abigen.sh
./abigen.sh: line 14: jq: command not found
./abigen.sh: line 16: abigen: command not found

Could you:

add a doc, or
automate it so anything change in the protocol code will trigger the script and potential the one for https://github.com/taikoxyz/taiko-mono/blob/main/packages/relayer/abigen.sh

Automating abigenerated changes will inherently break code, because those abigenerated files are used within the relayer and eventindexer. So even if I was to automate the generation, you would have to go throughout the relayer and eventindexer and fix all the issues that come up. I'm not sure you want to spend your time doing that, but if you want, I can still do this task.


Use the Powershell API for setting app config

In the Configure web app settings section, the overview suggests using New-AzStaticWebAppSetting to set the app's config vars, but the PS code simply calls az webapp config appsettings from Azure CLI.
This PR resolves that by using New-AzStaticWebAppSetting in the PS code example.

@normesta
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Look great! Thank you!
#sign-off


Question: Performance with chained promises?

Curious for someone a little more experienced with Unreal, C++, and this library - how are chained promised handled in terms of performance?
If I have something like:
SD:Async([]{
  Blob b = CreateLargeBlob();
  return b;
})
.Then([](const Blob& b)
{
  // Do something with the blob
  return b;
})
.Then([](const Blob& b)
{
  // Do something with the blob
  return b;
})
.Then([](const Blob& b)
{
  // Do something with the blob
  return b;
})
...

Am I unnecessarily creating copies of Blob each time. Scanning the source code, it seems like the answer is possibly no, since from reading the source code, copy elision and the ability to construct a TExpected via a move "should" result in the initial blob being stored directedly in the TExpected wrapper. After this, a similar thing must be happening as blob is passed through the chain?
This is more for curiosity. Is it more performant to have chained handlers take the entire TExpected value from the previous future and pass it through or is unwrapping to a const ref and back enough?

Hi Kevin,
Using the above approach will result in making a new copy of Blob for each stage, yes. There's no way for you to move the contents out of the existing wrapper, so that isn't possible to avoid directly.
What you can do, however, is change the type from Blob to TSharedRef<const Blob>, that way it's only the TSharedRef that's being copied, which would be much more lightweight (assuming Blob is very expensive to copy).
TSharedRef<Blob> is also an option, if you want to mutate the result, just keep in mind that if there are multiple users of the future, they'd see the changes made by each other.
Hope that helps!

Yea, I figured as much. Thanks so much!


Fix a typo that broke link to setup.ipynb

Link to setup.ipynb had an extra ']' that resulted in a broken link.

Thanks Chris !


RHINENG-605 update auth_type

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


Make the same binary work with glibc and musl

Currently there are two Linux builds of async-profiler provided: glibc and musl. It's not always obvious which version to take for different Linux distributions like Ubuntu or Alpine. It's even more confusing when someone wants to profile Alpine container from Ubuntu host or vice versa. Using the wrong version may result in a JVM crash, e.g. #717
The proposed solution is to build single version that works with both glibc and musl.

Since release 3.0, asprof is linked statically and therefore runs on both glibc and musl.
libasyncProfiler.so should also work fine on both systems.


Fix issues with using private Apple APIs

After upgrading WebKit to v11.0 we've encountered several issues with using private APIs forbidden for usage by apps on the AppStore. This PR addresses these issues in the following way:

mock the unorm2_ APIs and replace them with our own String.prototype.normalize implementation using the official CFString APIs. This is done in GlobalObject.mm whereas the mocking is done in the WebKit's source code
replace the usage of the private Crypto APIs with public APIs

A unit test is added that verifies the behavior of String.prototype.normalize against the https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize specification.

run ci

run ci

run ci

run ci

run ci


Modify key info generation for new iOS key code.

Description
The (new, not yet used) code gen for iOS was setting up a std::map from key codes to logical and physical key codes, but it was using uint32_t, which isn't big enough to hold the Flutter key codes.
Also, iOS needs to be able to filter out function keys, so I added a function key set.
Tests

This will be tested in the engine repo.

OK, I've added some basic tests to this so that we can continue and add more tests to it as time goes on.
PTAL.

Sorry I forgot about this PR. I think the last time I see it it was almost ready. Can you rebase it and let me confirm?

OK @dkwingsmt, I've resolved the conflicts, and updated the packages again, PTAL.

@gspencergoog I'm genuinely sorry for missing the ping and leaving it in a conflicting state. Can you try again? (Also I've got the new scheme merged so there might be a little more work... let me know if you need any help!) Also the last commit had a few red checks, it seems that they're related to the removedfile.

OK, @dkwingsmt I merged the conflicts, and made sure the tests ran locally.  I'll watch and see if any of the tests fail on the server, and fix them if so.


Added support of HF and GenAI models into CLI

@sswierze, @sstrehlk

@eaidova, does it seem to me or llm_bench test suite was turned off for some reason?


Fix print error log when dir is not exist

As described in the title

BTW, Please see whether there are similar problem in schema engine dir or dataengine dir


Automator: update<EMAIL_ADDRESS>in<EMAIL_ADDRESS>

Generated by Automator - 2022-02-07T22:58:22+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.12
227178082453f28808c52e5fe13ff4e25e0e13f8
link
true
/test unit-tests_istio_release-1.12

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio_release-1.12


misc/cgo/testsanitizers: ThreadSantitizer test fails

What version of Go are you using (go version)?

go version devel +a145378 Mon Mar 21 20:24:06 2016 +0000 linux/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/home/christopher/workspace/go-official"
GOTOOLDIR="/home/christopher/workspace/go-official/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build420019199=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

What did you do?

Executed src/all.bash

What did you expect to see?

All tests passed.

What did you see instead?

##### ../misc/cgo/testsanitizers
skipping msan tests: -fsanitize=memory not supported
==================
WARNING: ThreadSanitizer: data race (pid=14437)
  Write of size 4 at 0x0000006b2e78 by thread T2:
    #0 setVal /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan.go:22 (tsan+0x000000445070)
    #1 _cgo_82605fb7dc7c_Cfunc_setVal /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan.go:96 (tsan+0x0000004450f1)
    #2 runtime.asmcgocall <null> (tsan+0x00000044235f)

  Previous write of size 4 at 0x0000006b2e78 by main thread:
    #0 setVal /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan.go:22 (tsan+0x000000445070)
    #1 _cgo_82605fb7dc7c_Cfunc_setVal /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan.go:96 (tsan+0x0000004450f1)
    #2 runtime.asmcgocall <null> (tsan+0x00000044235f)

  Location is global 'val' of size 4 at 0x0000006b2e78 (tsan+0x0000006b2e78)

  Thread T2 (tid=14440, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x000000027537)
    #1 _cgo_sys_thread_start /home/christopher/workspace/go-official/src/runtime/cgo/gcc_linux_amd64.c:73 (tsan+0x000000445471)

SUMMARY: ThreadSanitizer: data race /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan.go:22 setVal
==================
FAIL: tsan
==================
WARNING: ThreadSanitizer: data race (pid=14631)
  Write of size 4 at 0x0000006b3dd8 by thread T3:
    #0 setVal /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan2.go:32 (tsan2+0x000000445150)
    #1 _cgo_b3c556dc7343_Cfunc_setVal /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan2.go:106 (tsan2+0x0000004452e1)
    #2 runtime.asmcgocall <null> (tsan2+0x00000044246f)

  Previous write of size 4 at 0x0000006b3dd8 by main thread:
    #0 run /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan2.go:24 (tsan2+0x0000004451d9)
    #1 _cgo_b3c556dc7343_Cfunc_run /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan2.go:92 (tsan2+0x00000044528d)
    #2 runtime.asmcgocall <null> (tsan2+0x00000044246f)

  Location is global '<null>' of size 0 at 0x000000000000 (tsan2+0x0000006b3dd8)

  Thread T3 (tid=14650, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x000000027537)
    #1 _cgo_sys_thread_start /home/christopher/workspace/go-official/src/runtime/cgo/gcc_linux_amd64.c:73 (tsan2+0x000000445661)

SUMMARY: ThreadSanitizer: data race /home/christopher/workspace/go-official/misc/cgo/testsanitizers/tsan2.go:32 setVal
==================
FAIL: tsan2
2016/03/21 18:56:53 Failed: exit status 1

Same as #14602?

Yup sorry.


Add the sndio driver

This adds an additional audio driver for sndio, as per https://github.com/godotengine/godot-proposals/issues/3097

re-pushed with copyright years fixed to make clang-format happy :)

rebased on top of the latest master.  (also, friendly ping :-)


What am I doing wrong?

I'm having a similar issue combining the pg_search scope with:
      left_joins(conversations: :messages)
        .group('contacts.id')
        .having('COUNT(messages.id) = ?', count)

I've similar issue too... any update?

I'm having the same problem and @coorasse fix works, however I'm trying to sort with filterrific and this isn't working with reorder(nil). The sort works with ordered but the search gives the grouping error

The solution proposed by @coorasse works for me as well, but doing this removes the ability for pg_search to order the results by rank. What if I cared about the rank order of the results against the query? Does anyone know of an alternative querying strategy at that point?

For someone having this issue, Solution is to add rank to group by clause, as the error suggests.

Cross-linking duplicate issue with other solutions: https://github.com/Casecommons/pg_search/issues/238#issuecomment-167964496

Closing duplicate.


[13.0.x] ISPN-11110 JdbcStringBasedStore Purge should not use FOR UPDATE to av…

…oid excessive locking
https://issues.redhat.com/browse/ISPN-11110

Will update once main PR is good.

Updated, please wait for CI build to confirm.

Merged, thanks


BUG :  In focus mode pinned / drafted items not shown in LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging.new.expensify.com and login
Click avatar > preferences > select focus in priority

Expected Result:
In the LHN draft, Pinned message and unread messages are shown
Actual Result:
Pinned and drafted messages are not shown
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
Desktop App
Mobile Web

Version Number: 1.2.11-4
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

https://user-images.githubusercontent.com/43996225/194187945-fd0d44d9-898d-4637-916b-ea867f9fa008.mp4
Expensify/Expensify Issue URL:
Issue reported by: @cead22
Slack conversation:
https://expensify.slack.com/archives/C01GTK53T8Q/p1665014762126469
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I'm looking into this.

PR is up


Page toc (right sidebar) content and styling

Apart from https://github.com/pandas-dev/pandas-sphinx-theme/issues/8 on collapsing the sections that you are not viewing, there are some other things we might want to do for the right sidebar.
We can use this issue to gather some ideas.

Some other things we might want to put in the right sidebar:

A "On this page" or "Table of contents" title, to make it clearer what this navigation is exactly
A "Edit this page" link

Example from docker (see eg https://docs.docker.com/engine/reference/commandline/dockerd/), although here it is rather crowded with additional things:

Jupyter book also uses a "On this page" in the right sidebar (eg https://jupyterbook.org/intro):

Adding 'On This Page' would definitely help make it clearer - although the Jupyter example has its own problems (namely that there are two unrelated navigation hierarchies in the left and right panes - more of a navigation bush than a tree >_< )
Probably worth listing (at least for reference) the pros (and cons) for the left/right split navigation vs the collapsing tree navigation of the old docs. My own take:

now that the 'top level' nav is in the header there would be more space in the left pane for a classic tree nav, which would be simpler and always shown

by using the right nav, more sub-levels of the navigation tree can be show, which lets the docs grow without becoming impossible to navigate because you can always jump to sub sections.

Thanks for your considerate thoughts!
I think it is clear that is is useful to get to the subsections of a page through the navigation (at some point we briefly disabled this: https://github.com/pandas-dev/pandas/issues/25131). But the question is where to put them.
Before we had a single (left sidebar) navigation structure. In this theme we opted for 3 (top navbar, left sidebar, right sidebar). It's certainly true limiting to 2 structures would already be an improvement over the old situation IMO.
(and it's also subjective, personally I like the 3 navigation elements, but I know others of the team find it "too much". It maybe also depends on the way how you use the docs)
Reasons that I prefer to have the "within page toc" and sidebar separate:

When showing the page toc also in the navigation tree on the left, this quickly bcomes a long tree for pages that are somewhat longer. In the old theme, on some pages, this means that the full tree doesn't fit on my screen (eg on https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html). And removing the top-level (what is now in the top navbar) only improves this slightly, and for the example above, it would still not fit on my screen (certainly if you make the font a bit larger, which it is in the new theme).

I would like to split some of our very long pages into multiple pages. While that makes the previous argument potentially moot, I would like this do this by introducing an extra level in the navigation. Eg now, you have "User Guide" -> "IO tools" (2 levels). I would like to split the big IO page into multiple pages by introducing a third level. This means that the left sidebar would also already show 2 levels (see eg https://dev.pandas.io/docs/getting_started/comparison/comparison_with_r.html, where we already have this). In such a case, also showing the within-page toc in this left sidebar, would make it very nested (certainly if you want to show more than 1 additional level of the page).


type 'List' is not a subtype of type 'List' in type cast

Hello.
I'm getting this exception when authenticating with the server. I just upgraded to Flutter 2 in stable and I am tracking and fixing some issues here and there. This code used to work just fine, but now I get this exception. What can be causing this...?
I am using odoo_rpc 0.4.0
Thanks
 [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'List<int>' in type cast
 #0      OdooSession.fromSessionInfo (package:odoo_rpc/src/odoo_session.dart:58:49)
 #1      OdooClient.authenticate (package:odoo_rpc/src/odoo_client.dart:253:32)
 <asynchronous suspension>
 #2      APIService.initialize (package:nbp_odoo_client/app/services/API_service.dart:32:13)
 <asynchronous suspension>
 #3      _LoginPageState.loginAction (package:nbp_odoo_client/app/pages/login_page.dart:169:30)
 <asynchronous suspension>

Hi!
Thanks for reporting.
Please use version ^0.4.2


Pre-signed UploadPart - Exposed Headers - ETag is not exposed

So here is my problem:
I created presigned urls to upload parts of a multipart upload from client-side (browser), but when I need to retrieve the ETag from those responses, I can't access them because ETag header is not exposed and there is no way (as far as I know) to configure CORS Access-Control-Expose-Headers with S3Mock (PutBucketCorsCommand is not availabe neither).
So, is there any way to achieve this at the moment, or should I wait for a commit that implements this? Maybe ETag should be always exposed as default configuration?
Thanks! I will gladly help or contribute if someone guides me or gives me a hint of what to do.

@rubencfu thanks for raising this issue.
I allowed all headers for CORS in the linked PR. Let me see if I can add some tests as well, then I'll release. :)

Thanks! Glad it helped, and thank you again for your amazing work here!
I will create more issues if I encounter more problems, but I don't think so, everything works like a charm so far.

@rubencfu I had problems pushing releases to hub.docker.com, but finally got those resolved this week.
I released 2.12.1 yesterday which includes this fix.

Thanks!


Different menus for different sections

Hello,
I found Hugo was able to support multiple menus for different sections with configuration like this:
menu:
    main:
      - name: "About"
        url: "/en/about/"
        weight: 1
     - name: "Blog"
        url: "/en/"
        weight: 2
    knitr:
      - name: "Home"
        url: "/knitr/"
        weight: 1
     - name: "Options"
       url: "/knitr/options/"
       weight: 2

The configuration will make the website using different menus for yihui.name/en/ and yihui.name/knitr/.
But I could not reproduce this feature using hugo-academic (based on sourcethemes/academic-kickstart), like the following (by editing config/_default/menus.toml and add files content/test/_index.md, content/test/test1/_index.md, and content/test/test2/_index.md). The menus would not change.
[[main]]
  name = "Home"
  url = "#about"
  weight = 10

[[main]]
  name = "Posts"
  url = "#posts"
  weight = 20

[[test]]
   name = "test-menu1"
   url = "/test/test1/"
   weight = 11

[[test]]
  name = "test-menu2"
  url = "/test/test2/"
  weight = 22

I read documents of Hugo but could not get an idea of solving it.
So, how to enable multiple set of menus?
Leiting

Please use the support forums for support.  Academic just inherits them from Hugo.


Convert Alertmanager to use non-global go-kit loggers

Fixes https://github.com/prometheus/alertmanager/issues/1040

@fabxc you asked for this :)

\o/ many thanks! 👍


Add STMIK-Amik Riau domain

@mazlanstmik Please provide us with:

the school official website URL,
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school
a proof showing that the school recognizes the domain which you are submitting as an official email domain for the students.

@mazlanstmik You might miss my previous comment. Please react.

@mazlanstmik I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


Add functionality to aggregate outbounds

We cannot store outbounds forever. But we still want to be able to report on them. This PR is the first step in being able to archive outbounds.
It adds a new model that will be used to store aggregates. It also adds a celery task + a view to trigger that celery task, that creates the aggregate rows from the current outbounds in the database.

@erikh360 Ready for another review


Variable name corrected

I just corrected a variable name  (it didn't work otherwise).

Yes, the variable name was wrong.
Thanks for the fix.

@DecaTec Thank you for making those scripts ;)

Thanks a Ton for this script, very useful, I recommend everyone using nextCloud use this to backup File, database and Apps.


Root Gnosis node

Description
Third in a series of PRs, with the overall goal being to allow the webapp to load up either an "MVD"-style Node, or a "Gnosis Safe"-style Node.
Notes
The real meat of this series of PRs lives in here. Will leave more notes and comments later.
Known bugs

When a Node is loaded (of either type), and then replacing the address in the URL bar with a node of the other type, state doesn't properly clear out. The state from the original node sticks around while the other node state loads up. Ideally, only one of the top level node-type state objects (mvd or gnosis) ever holds state at one time.

Issue (if applicable)
n/a
Testing

Create new Fractal selecting "Pure Gnosis Safe" as Governance option
Wait till transaction will be completed
Verify that newly created Gnosis Safe is recognized by Fractal.
Verify that existing Gnosis Safe is also recognized by Fractal. Example link - http://localhost:3000/#/daos/0x7B375AD34D68ee19b87A800cA01E5b6210BE64ae

Screenshots (if applicable)

When a Node is loaded (of either type), and then replacing the address in the URL bar with a node of the other type, state doesn't properly clear out. The state from the original node sticks around while the other node state loads up. Ideally, only one of the top level node-type state objects (mvd or gnosis) ever holds state at one time.

has this been fixed? just tested locally and it seems to be working?

I can't give an approval review to my own PR (that I opened...), but if I could I'd give this a ✅


haskellPackages: cleaning up obsolete overrides (9/x)

Motivation for this change
Remove obsolete overrides on the following haskellPackages:

getopt-generics: -dontCheck
Hclip: -dontCheck
lucid: -dontCheck

Part of https://github.com/NixOS/nixpkgs/issues/86500
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build haskellPackages.getopt-generics
@GrahamcOfBorg build haskellPackages.Hclip
@GrahamcOfBorg build haskellPackages.lucid

:+1:


Does not load DE or WM

It give me a list of all the desktop environment and window managers I have installed, but when I try to login to any of them (inclining shell) it just gives me a blinking cursor or it just does not login and sits there.
Distro: Fedora 30

This is what happens when the environment is not set up properly. Maybe utmp will help (#121), or maybe I missed something

I did nothing. The same problem still consists. :(

I have tried the UTMP audit branch from stlaz.
It still shows the blinking cursor on Fedora 30.
I keep getting an issue of it not being able to open the display.
OS: Fedora 30
Kernel: Linux 5.3.11-200.fc30.x86_64

Could you try again now #121 is really fixed?


Announcements page - content

What
The Announcements page doesn't behave as expected
https://www.gov.uk/government/announcements.ka?world_locations[]=bahamas
To Replicate
If you navigate to the page in English and attempt to change country via the select there is no data presented.
However if you alter the URL to something like fr eg (https://www.gov.uk/government/announcements.fr?world_locations[]=all). More Content is present, however this is seemingly the same Content that should be present in English.
Expected Behaviour
More of the Announcement Content is present while navigating in English.

The announcements page no longer seems to exist. Closing.


Overlay play button not shown on youtube videos

Hello
I can't get initial overlay play button to show on the beginning of the video before it has started (on video poster). I'm talking about this button http://prnt.sc/em1ko4 . It's working fine AFTER video is played ie. when you pause it or after it's ended. But when I load the video for the first time there is only youtube play button in the middle
Code which I tried is very simple, issue can be seen here https://jsfiddle.net/9af830ne/
I don't know whether it's a bug in new version or it's supposed to work this way?
Thank you

It is supposed to work that way.  Some renderers like YouTube and Facebook show their native play button, so to avoid causing overlap, we hid the MEJS play button

It is supposed to work that way.
It was a thoughtful step. If you use custom poster, then the play button is shown, right! But this works only on desktop and tablet, on iphone play button is not shown.

@tsarma Is this currently happening with the latest version? If so, can you provide a URL so I can check this, please?

@rafa8626 Yes I'm using version 4.2.3 and iphone 7. Test URL I cannot provide as the project is installed  locally.

If you could provide a Fiddle to attempt to replicate what you are seeing it will help me tremendously

OK here is test url http://tinyurl.com/y7m2gkws

Thanks I'm looking at it right now. I'll keep you posted

Please download the master branch. I found a typo and it seems to be working now. Let me know and please star the project so we continue supporting it. Thanks

Thanks, it works now

Glad to know if worked, and thanks for reporting it


when I used it. it will crashed by the problem

Try using it with a clean Init.vim. This occasionally happens on my openGL build with an m1 Mac, I found it was because of the YCM plugin (which I replaced with nvim-lsp)
Not sure why it happens

Looks like it was fixed a while back though: https://skia-review.googlesource.com/c/skia/+/350336, are the dependencies up to date?

The weird thing is resizing the window sorta unblocks it on my machine. I'm very confused by this issue...

I may try to make a minimal repro of this in a demo app and then raise an issue upstream at skia-safe. I figure just an animating circle using glutin and our basic window setup should be enough.

For me it happens with a plugin that consistently write output to the command line .

I believe this has been fixed. I haven't been able to repro it all day


robotwrapper integrate?

What happen to the integrate / increment method of robotwrapper? Removed? when? why?
Thanks.

For this issue, you can use git blameto understand the deletion. From my side, I have no idea, except that I remember that the previous integrate method was only working for free-floating base systems.
It will be easy to recover this feature if you really need it.


Light doesn’t have color options in Home app

A Hubspace light will appear in the home app with a brightness slider and the light defaults to the last used color. Would be great if there was an option to select color in home app instead of having to switch to the Hubspace app.

this will be supported in the next release. i honestly just threw this together for my back porch lights quickly. now that it seems others want this as well i'll invest a bit more time in some of these things 😀
rgb was already on the radar for my own lights so this should get done over the coming weeks.
cheers!

Nice. Glad you threw it together.  Thanks.

I was pleasantly surprised to find this. Sincerely appreciate your efforts. :)


Support stable IDs

This PR is currently for sake of having CI chew on the tests.
Fixes #4909.

I'm seeing an occasional deadlock when running the object server tests locally. The main thread is waiting on notifications to be delivered as part of beginning a write transaction, but the notifier thread it is waiting on is itself trying to open a write transaction. I don't think we ever expect the notifier thread to create a write transaction. In this case, the write transaction is being created by core within SharedGroup::upgrade_file_format. I'm not sure why we're attempting to upgrade the file format of a Realm that has already been opened.

Filed realm/realm-core#2724 about the deadlock.


Support user config options for plugins

Is your feature request related to a problem? Please describe.
Users should be able to configure settings unique to each plugin, and ideally be able to control which plugins run beyond using pip virtual environments. This feature could also be used to let users configure default Surfactant settings, such as the recorded institution and potentially preferred behavior for various scenarios. A config or settings subcommand for editing a user-wide settings file similar to git config could be nice.
Describe the solution you'd like
From discussion in the working group, the following is what we'd like (copy+paste from PowerPoint slides gives an image):

For plugins developers communicating the supported options, I think a docstring will be used, with a heading similar to the one used for arguments that will list config options supported. Future functionality could include parsing the docstring for all loaded plugins and presenting a list of supported config options.


python310Packages.flipr-api: 1.4.2 -> 1.4.3

Description of changes
https://github.com/cnico/flipr-api/releases/tag/1.4.3

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 199061 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.flipr
python310Packages.flipr-api
python39Packages.flipr-api


Left join doesn't preserve order of left for right missing values

Describe the bug, including details regarding any error messages, version, and platform.
I'm trying to do a left outer join (the default).
When all the keys in left can be found in right, the order of the left table is preserved:
import pyarrow as pa

left = pa.table(
    {
        "key": ["KEY_1", "KEY_3"],
        "left_value": ["1", "3"],
    }
)

right = pa.table(
    {
        "key": ["KEY_1", "KEY_3"],
        "right_value": ["1", "3"],
    }
)

But if any key from left is missing in right, the order is changed. The missing values are put at the end:
both = left.join(right, keys=["key"])
assert both["key"] == left["key"]

left = pa.table(
    {
        "key": ["KEY_1", "KEY_2", "KEY_3"],
        "left_value": ["1", "2", "3"],
    }
)

right = pa.table(
    {
        "key": ["KEY_1", "KEY_3"],
        "right_value": ["1", "3"],
    }
)

both = left.join(right, keys=["key"])
assert both["key"].to_pylist() == ["KEY_1", "KEY_3", "KEY_2"], "Should be 1,2,3"

I know there's no explicit guaranty on the order of the output data on the join, but it's weird that it preserve order when values are present, and changes it when they are missing.
Tested with pyarrow==13.0.0
Component(s)
Python

This is an implementation specific behavior, i.e., depending on the underlying hash join algorithm. Currently there are two types of hash join implementation in acero, both having the similar logic. When doing left outer or full outer joins, the matched rows in the left side are first collected, by probing the hash table built from the right side. Then the unmatched rows in the left side are collected. This results in the order you observed. You can check the code below:
For hash join (the normal algorithm), collecting the unmatched rows:
https://github.com/apache/arrow/blob/bcaeaa8c2d970b81249cfba019475598e3d3109f/cpp/src/arrow/acero/hash_join.cc#L440-L445
For swiss join (a variation of hash join), first collecting the matched rows:
https://github.com/apache/arrow/blob/bcaeaa8c2d970b81249cfba019475598e3d3109f/cpp/src/arrow/acero/swiss_join.cc#L1964-L1998
then collecting the unmatched rows:
https://github.com/apache/arrow/blob/bcaeaa8c2d970b81249cfba019475598e3d3109f/cpp/src/arrow/acero/swiss_join.cc#L2005-L2025

I know there's no explicit guaranty on the order of the output data on the join, but it's weird that it preserve order when values are present, and changes it when they are missing.

Yes, you shouldn't make any assumption of ordering in SQL except explicitly specified by order by clause. Hope the above information explains your concern.


Find __('text') occurrences

Hi, im using gettext/gettext with this php-scanner but when use the scanner:
$scanner->scanFile($file); $translations = $scanner->getTranslations();
but never find translations, the $file have __('text') inside.
I have initialized the Scanner like:
$scanner = new PhpScanner(); $scanner->setDefaultDomain('domain1');
Any suggestions? Thanks in advance

i forgot use Translations::create('domain1') in new, solved