Skip to content

memos record报错 #92

@276562578

Description

@276562578

Describe the bug

系统是debian12,memos enable提示Unsupported operating system.

手动运行memos record提示

2026-01-29 11:18:08 - root - INFO - Record interval set to 4 seconds.
2026-01-29 11:18:08 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:18:12 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:18:16 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:18:20 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.

Command outputs

memos version
Package: 0.31.0, Python: 3.13.11, System: linux/x86_64
memos config
base_dir:
  value: ~/.memos
  resolved: /home/minecraft/.memos
database_path:
  value: database.db
  resolved: /home/minecraft/.memos/database.db
default_library: screenshots
screenshots_dir:
  value: screenshots
  resolved: /home/minecraft/.memos/screenshots
facet: False
server_host: 127.0.0.1
server_port: 8839
vlm:
  modelname: minicpm-v
  endpoint: http://localhost:11434
  token: ********
  concurrency: 8
  force_jpeg: True
  prompt: Please describe the content of this image, including the layout and visual elements.
  enabled: True
ocr:
  endpoint: http://localhost:5555/predict
  token: ********
  concurrency: 8
  use_local: True
  force_jpeg: False
  enabled: True
embedding:
  num_dim: 768
  endpoint: http://localhost:11434/v1/embeddings
  model: arkohut/jina-embeddings-v2-base-en
  use_modelscope: False
  use_local: True
  token: ********
auth_username: 
auth_password: ********
default_plugins:
  - builtin_ocr
record_interval: 4
app_blacklist: []
watch:
  rate_window_size: 10
  sparsity_factor: 3.0
  processing_interval: 12
  idle_timeout: 300
  idle_process_interval:
    - 00:00
    - 07:00

Screenshots or additional context

==> record.log <==
2026-01-29 11:15:21 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:25 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:29 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:33 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:37 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:41 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:45 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:49 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:53 - root - ERROR - An error occurred: cannot unpack non-iterable NoneType object. Skipping this iteration.
2026-01-29 11:15:56 - root - INFO - Received signal 15, service record is gracefully shutting down...

==> serve.log <==
2026-01-29 11:13:29 - uvicorn.access - INFO - 127.0.0.1:49996 - "GET /api/search?q= HTTP/1.1" 200
11:13:29.264 GET /api/search
11:13:29.268   connect
11:13:29.270   SELECT /home/minecraft/.memos/database.db
2026-01-29 11:13:29 - uvicorn.access - INFO - 127.0.0.1:49996 - "GET /api/search?q= HTTP/1.1" 200
2026-01-29 11:15:56 - uvicorn.error - INFO - Shutting down
2026-01-29 11:15:56 - uvicorn.error - INFO - Waiting for application shutdown.
2026-01-29 11:15:56 - uvicorn.error - INFO - Application shutdown complete.
2026-01-29 11:15:56 - uvicorn.error - INFO - Finished server process [761009]
2026-01-29 11:15:56 - root - INFO - Received signal 15, service serve is gracefully shutting down...

==> watch.log <==
│ ❱ 118 │   │   raise mapped_exc(message) from exc                                                                     │
│   119                                                                                                                │
│   120                                                                                                                │
│   121 class ResponseStream(SyncByteStream):                                                                          │
│                                                                                                                      │
│ ╭────────────────── locals ──────────────────╮                                                                       │
│ │ message = '[Errno 111] Connection refused' │                                                                       │
│ ╰────────────────────────────────────────────╯                                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ConnectError: [Errno 111] Connection refused

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions