Skip to content

Crash when pasting from Browser Console into input Uncaught AttributeError in io_proxy.py line 220 #624

Description

@tomjuggler

cecli version: 1.0.1
Python version: 3.12.13
Platform: Linux-7.1.4-1-cachyos-x86_64-with-glibc2.43
Python implementation: CPython
Virtual environment: Yes
OS: Linux 7.1.4-1-cachyos (64bit)
Git version: git version 2.55.0

If I add the same console output to a file and /add it, there is no problem.
This issue exists in both tui and non-tui

Particular thing I pasted this time, triggering the crash:

Uncaught (in promise) ReferenceError: updateTimelineDataFromEditor is not defined
    initializeTimelineEditor http://127.0.0.1:5000/play-timeline/91:1493

Configuration:

35turbo: False
4: False
4_turbo: False
4o: False
add_gitignore_files: False
agent_config: {"command_timeout": 0, "skip_cli_confirmations": true}
agent_model: None
alias: []
analytics: False
analytics_disable: False
analytics_log: None
analytics_posthog_host: None
apply: None
apply_clipboard_edits: False
assistant_output_color: #00FFFF
attribute_author: None
attribute_co_authored_by: True
attribute_commit_message_author: False
attribute_commit_message_committer: False
attribute_committer: None
auto_accept_architect: True
auto_commits: True
auto_lint: True
auto_load: False
auto_memory: False
auto_save: True
auto_save_session_name: auto-save
auto_test: False
cache_keepalive_pings: 0
cache_prompts: True
cecli_ignore: /mnt/Storage/Documents/PROGRAMMING/Python/Flask/MagicPoiAlphaServer/.cecli.ignore
chat_history_file: /mnt/Storage/Documents/PROGRAMMING/Python/Flask/MagicPoiAlphaServer/.cecli/chat.history
chat_language: None
check_model_accepts_settings: True
check_update: True
code_theme: monokai
command_prefix: None
commit: False
commit_language: None
commit_prompt: None
completion_menu_bg_color: None
completion_menu_color: None
completion_menu_current_bg_color: None
completion_menu_current_color: None
config: None
context_compaction_max_tokens: 800000
context_compaction_summary_tokens: 4096
copy_paste: False
cost_limit: None
custom: {}
dark_mode: True
debug: False
deepseek: False
detect_urls: True
dirty_commits: True
disable_playwright: True
disable_scraping: False
dry_run: False
edit_format: agent
editor: None
editor_edit_format: None
editor_model: deepseek/deepseek-v4-flash
enable_context_compaction: True
encoding: utf-8
env_file: .aider.env
exempt_paths: []
exit: False
fancy_input: True
file: []
file_diffs: True
files: []
git: True
git_commit_verify: False
gitignore: True
haiku: False
headless: False
hooks: {}
ignore_context_limit: False
input_history_file: /mnt/Storage/Documents/PROGRAMMING/Python/Flask/MagicPoiAlphaServer/.cecli/input.history
just_check_update: False
light_mode: False
line_endings: platform
linear_output: True
lint: False
lint_cmd: []
list_models: None
llm_history_file: None
load: None
map_cache_dir: .
map_max_line_length: 100
map_memory_cache: False
map_multiplier_no_files: 2
map_refresh: files
map_tokens: None
max_chat_history_tokens: None
max_compaction_retries: 3
max_reflections: 3
mcp_servers: ['context7', 'fetch', 'brainfile']
mcp_servers_file_deprecated: None
mcp_servers_files: []
mcp_transport: stdio
message: None
message_file: None
mini: False
model: deepseek/deepseek-v4-flash
model_metadata_file: .cecli.model.metadata.json
model_overrides: None
model_overrides_file: .cecli.model.overrides.yml
model_providers: {}
model_settings_file: .cecli.model.settings.yml
multiline: False
notification_bell: False
notifications: False
notifications_command: None
o1_mini: False
o1_preview: False
openai_api_base: None
openai_api_deployment_id: None
openai_api_type: None
openai_api_version: None
openai_organization_id: None
opus: False
preserve_todo_list: True
pretty: True
read: []
reasoning_effort: None
retries: {}
rules: []
security_config: {}
server_config: None
session_encrypt: False
set_env: []
shell_completions: None
show_diffs: False
show_model_warnings: True
show_prompts: False
show_release_notes: None
show_repo_map: False
show_speed: False
show_thinking: True
skip_sanity_check_repo: False
sonnet: False
spinner: True
stream: True
subtree_only: False
suggest_shell_commands: True
terminal_setup: False
test: False
test_cmd: []
thinking_tokens: None
timeout: None
tool_error_color: #FF3333
tool_output_color: None
tool_warning_color: #FFFF00
tui: False
tui_config: {}
tweak_responses: False
upgrade: False
use_enhanced_map: True
use_reminders: True
user_input_color: #32FF32
verbose: False
verify_ssl: True
vim: False
voice_format: wav
voice_input_device: None
voice_language: en
watch_files: False
weak_model: None
workspace_name: None
workspaces: None
yes_always: True
yes_always_commands: False

An uncaught exception occurred:

Traceback (most recent call last):
  File "cecli", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 510, in main
    return asyncio.run(
           ^^^^^^^^^^^^
  File "runners.py", line 195, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_events.py", line 691, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "main.py", line 1489, in main_async
    await coder.run()
  File "base_coder.py", line 1484, in run
    return await self._run_linear(with_message, preproc)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "io_proxy.py", line 220, in stop_output_task
    await task
AttributeError: 'str' object has no attribute 'get'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions