Fediverse search system

Fediver

beta version

【File】の検索結果


ひょっとしてCloudflare Tunnel使ってMisskey動かしてるときってストリーミング見れない??
こんなエラーが出るんだけど

Traceback (most recent call last):
  File "/tmp/test.py", line 33, in <module>
    asyncio.run(brm.main())
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/site-packages/brcore/core.py", line 126, in main
    await asyncio.create_task(self.__runner(backgrounds))
  File "/usr/local/lib/python3.10/site-packages/brcore/core.py", line 209, in __runner
    raise e
  File "/usr/local/lib/python3.10/site-packages/brcore/core.py", line 144, in __runner
    async with websockets.connect(self.__WS_URL) as ws:
  File "/usr/local/lib/python3.10/site-packages/websockets/asyncio/client.py", line 587, in __aenter__
    return await self
  File "/usr/local/lib/python3.10/site-packages/websockets/asyncio/client.py", line 543, in __await_impl__
    await self.connection.handshake(
  File "/usr/local/lib/python3.10/site-packages/websockets/asyncio/client.py", line 114, in handshake
    raise self.protocol.handshake_exc
  File "/usr/local/lib/python3.10/site-packages/websockets/client.py", line 325, in parse
    self.process_response(response)
  File "/usr/local/lib/python3.10/site-packages/websockets/client.py", line 142, in process_response
    raise InvalidStatus(response)
websockets.exceptions.InvalidStatus: server rejected WebSocket connection: HTTP 403


@mai_llj@shahu.ski Dockerで起動するとdatabase.dbという空のディレクトリが作成されています
touch database.dbで空のファイルを作成すると以下のようにdatabase.dbはディレクトリではないという旨のエラーが出ます

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/jj1guj/Federation-Delay-Metrics-Aggregator/data/database.db" to rootfs at "/app/database.db": mount src=/home/jj1guj/Federation-Delay-Metrics-Aggregator/data/database.db, dst=/app/database.db, dstFd=/proc/thread-self/fd/9, flags=0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type


ぐえええ
例の連合先の配送遅延を投稿するbot動かそうとしてるんだけどこんなエラーが出て起動しねえ

app-1  | Traceback (most recent call last):
app-1  |   File "/app/main.py", line 5, in <module>
app-1  |     import util.database as db
app-1  |   File "/app/util/database.py", line 14, in <module>
app-1  |     conn = sqlite3.connect(dbname)
app-1  | sqlite3.OperationalError: unable to open database file
app-1 exited with code 0


知らなかったそんなの……
せこせことdocker-compose.ymlに直してたけどcompose.yamlでいいんだね

The default path for a Compose file is compose.yaml (preferred) or compose.yml that is placed in the working directory.
Compose also supports
docker-compose.yaml and docker-compose.yml for backwards compatibility of earlier versions.
If both files exist, Compose prefers the canonical
compose.yaml.compatibility of earlier versions. If both files exist, Compose prefers the canonical compose.yaml.


Discordでウイルスを上げると

Hm, it looks like that file might've been a virus. Instead of cooking up trouble, try cooking up a Spicy Italian Meatball: https://www.foodnetwork.com/recipes/ree-drummond/spicy-italian-meatballs.html

ってメッセージに変換される

※ 本物のウイルスを上げようとしたわけではありません, EICARです


"最初に標準規格化された3.5インチFD「倍密度マイクロフロッピーディスク」(250KB~1MB、1983年頃~):ロストメモリーズ File041" - テクノエッジ TechnoEdge
l.smartnews.com/m-iiN3L8e/ysSP


藍ちゃんから出てるエラー

app-1  | Uncaught exception: 
app-1  | RequestError
app-1  |     at ClientRequest.<anonymous> (file:///ai/node_modules/got/dist/source/core/index.js:669:107)
app-1  |     at Object.onceWrapper (node:events:639:26)
app-1  |     at ClientRequest.emit (node:events:536:35)
app-1  |     at emitErrorEvent (node:_http_client:104:11)
app-1  |     at TLSSocket.socketErrorListener (node:_http_client:512:5)
app-1  |     at TLSSocket.emit (node:events:524:28)
app-1  |     at emitErrorNT (node:internal/streams/destroy:170:8)
app-1  |     at emitErrorCloseNT (node:internal/streams/destroy:129:3)
app-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:90:21)AggregateError [ETIMEDOUT]: 
app-1  |     at internalConnectMultiple (node:net:1128:18)
app-1  |     at afterConnectMultiple (node:net:1693:7) {
app-1  |   input: undefined,
app-1  |   code: 'ETIMEDOUT',
app-1  |   timings: {
app-1  |     start: 1736517638497,
app-1  |     socket: 1736517638497,
app-1  |     lookup: 1736517638504,
app-1  |     connect: undefined,
app-1  |     secureConnect: undefined,
app-1  |     upload: undefined,
app-1  |     response: undefined,
app-1  |     end: undefined,
app-1  |     error: 1736517775311,
app-1  |     abort: undefined,
app-1  |     phases: {
app-1  |       wait: 0,
app-1  |       dns: 7,
app-1  |       tcp: undefined,
app-1  |       tls: undefined,
app-1  |       request: undefined,
app-1  |       firstByte: undefined,
app-1  |       download: undefined,
app-1  |       total: 136814
app-1  |     }
app-1  |   },


なんじゃこれ?

app-1  | 19:24:41 [AiOS]: [aichat]: Error By Call Gemini
app-1  | 19:24:41 [AiOS]: [aichat]: ReferenceError
app-1  | json is not defined
app-1  | ReferenceError: json is not defined
app-1  |     at default_1.genTextByGemini (file:///ai/built/modules/aichat/index.js:95:13)
app-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
app-1  |     at async default_1.handleAiChat (file:///ai/built/modules/aichat/index.js:366:24)
app-1  |     at async default_1.mentionHook (file:///ai/built/modules/aichat/index.js:221:24)
app-1  |     at async invokeMentionHooks (file:///ai/built/ai.js:149:23)
app-1  |     at async 藍.onReceiveMessage (file:///ai/built/ai.js:174:13)
app-1  | 19:24:41 [AiOS]: [aichat]: The result is invalid. It seems that tokens and other items need to be reviewed.
app-1  | 19:24:41 [AiOS]: >>> Sending reply to a2n15qwtago407yh
app-1  | 19:24:42 [AiOS]: API: notes/reactions/create
app-1  | 19:24:43 [AiOS]: API: notes/create


なんじゃこりゃ

app-1  | > start
app-1  | > node ./built
app-1  | 
app-1  | file:///ai/built/index.js:8
app-1  | import pkg from '../package.json' assert { type: 'json' };
app-1  |                                   ^^^^^^
app-1  | 
app-1  | SyntaxError: Unexpected identifier 'assert'
app-1  |     at compileSourceTextModule (node:internal/modules/esm/utils:338:16)
app-1  |     at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:102:18)
app-1  |     at #translate (node:internal/modules/esm/loader:437:12)
app-1  |     at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:484:27)
app-1  |     at async ModuleJob._link (node:internal/modules/esm/module_job:115:19)
app-1  | 
app-1  | Node.js v22.12.0


(1/2)
yarn の1系から4.5へのアップデートできたっぽい(テスト環境です)

npmで現行バージョン削除
# npm uninstall -g yarn
>up to date in 881ms

npmで V2インストール
# npm install -g yarn@berry
>npm error code EEXIST
>npm error path /usr/bin/yarn
>npm error EEXIST: file already exists
(以下略)

ダメだったので強制インストール
# npm install -g yarn@berry --force
>npm warn using --force Recommended protections disabled.
>added 1 package in 706ms

V2になった
# yarn -v
>2.4.3


@ai に呼び方を教えようとするとエラー吐く件

ai-app-1  | TypeError: Cannot read properties of undefined (reading 'length')
ai-app-1  |     at default_1.setName (file:///ai/built/modules/core/index.js:62:18)
ai-app-1  |     at default_1.mentionHook (file:///ai/built/modules/core/index.js:26:18)
ai-app-1  |     at invokeMentionHooks (file:///ai/built/ai.js:149:29)
ai-app-1  |     at 藍.onReceiveMessage (file:///ai/built/ai.js:174:19)
ai-app-1  |     at SharedConnection.<anonymous> (file:///ai/built/ai.js:87:22)
ai-app-1  |     at SharedConnection.emit (node:events:519:28)
ai-app-1  |     at Stream.onMessage (file:///ai/built/stream.js:84:19)
ai-app-1  |     at ReconnectingWebSocket._callEventListener (/ai/node_modules/reconnecting-websocket/dist/reconnecting-websocket-cjs.js:557:13)
ai-app-1  |     at /ai/node_modules/reconnecting-websocket/dist/reconnecting-websocket-cjs.js:176:81
ai-app-1  |     at Array.forEach (<anonymous>)


うーむ、、、、
残るログ出力がこれだけになってしまった、、、
もうわからん、、、

db-1  | 2024-11-10 11:19:41.166 UTC [28] LOG:  checkpoint starting: time
db-1  | 2024-11-10 11:21:36.140 UTC [28] LOG:  checkpoint complete: wrote 315 buffers (1.9%); 0 WAL file(s) added, 1 removed, 0 recycled; write=114.910 s, sync=0.058 s, total=114.974 s; sync files=153, longest=0.008 s, average=0.001 s; distance=8561 kB, estimate=9781 kB


no field package.preload['config/option']
no file './config/option.lua'
no file '/nix/store/48vxxhagdr2llpibwswk88cwlzvp3909-luajit-2.1.1713773202/share/luajit-2.1/config/option.lua'
no file '/usr/local/share/lua/5.1/config/option.lua'
no file '/usr/local/share/lua/5.1/config/option/init.lua'
no file '/nix/store/48vxxhagdr2llpibwswk88cwlzvp3909-luajit-2.1.1713773202/share/lua/5.1/config/option.lua'
no file '/nix/store/48vxxhagdr2llpibwswk88cwlzvp3909-luajit-2.1.1713773202/share/lua/5.1/config/option/init.lua'
no file './config/option.so'
no file '/usr/local/lib/lua/5.1/config/option.so'
no file '/nix/store/48vxxhagdr2llpibwswk88cwlzvp3909-luajit-2.1.1713773202/lib/lua/5.1/config/option.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
どこ読み込んでん。ふざけるのも大概にしろ。


lxc file pull/home以下を持ってこれて、DBだけエクスポートして、あとあるかな


重くなるときこれの直後に重くなるんだよなあ

db-1  | 2024-10-11 19:16:23.786 UTC [27] LOG:  checkpoint starting: time
db-1  | 2024-10-11 19:16:54.442 UTC [27] LOG:  checkpoint complete: wrote 305 buffers (1.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=30.633 s, sync=0.019 s, total=30.656 s; sync files=72, longest=0.006 s, average=0.001 s; distance=1939 kB, estimate=2839 kB


[Auto Note]:Updated
Fetch URL:
https://github.com/misskey-dev/misskey
Commit: 6378dfbf to 1b2b95e1
Bump version to 2024.9.0-alpha.8
Playの編集画面の保存ボタン等をstickyにする など (#14429)
feat: adminのファイル一覧画面で、ファイルが添付されているノートを一覧できるように (#14403)
fix(frontend): 連合一覧等のページネーションが壊れていたのを修正 (#14439)
ci: fix syntax error (#14602)
Fix: Continue importing from file if single emoji import fails (#14461)
fix(frontend): weird AP delivered chart in control panel (#14481)