You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building from main, all tests pass except for this. I've checked, and the settings.json file exists. This is from a clean checkout of the build, so it is possible something wasn't correctly initialized or migrated.
$ ls -lh /home/nmrp3/.config/zed
total 8.0K
-rw------- 1 nmrp3 nmrp3 807 Nov 23 16:58 settings.json
drwxr-xr-x 2 nmrp3 nmrp3 4.0K Oct 15 17:06 themes
$ ls /home/nmrp3/.config/zed/settings.json
/home/nmrp3/.config/zed/settings.json
So I think there's several things going on here, including some error messages being incorrect.
failures:
---- zed::tests::test_window_edit_state_restoring_enabled stdout ----
[2024-11-23T17:21:53Z ERROR settings] Failed to write settings to file "/home/nmrp3/.config/zed/settings.json"
Caused by:
not found: /home/nmrp3/.config/zed
[2024-11-23T17:21:53Z ERROR settings] Failed to write settings to file "/home/nmrp3/.config/zed/settings.json"
Caused by:
not found: /home/nmrp3/.config/zed
[2024-11-23T17:21:53Z ERROR theme] theme not found: One Light
[2024-11-23T17:21:54Z ERROR client::telemetry] Failed to send events: HTTP 404
[2024-11-23T17:21:54Z ERROR workspace] failed to save contents of buffer
Caused by:
0: failed to save serialized editor
1: Error in save_serialized_editor, exec_bound failed to execute or parse for: INSERT INTO
editors (
item_id,
workspace_id,
path,
contents,
language,
mtime_seconds,
mtime_nanos
)
VALUES
(?1, ?2, ?3, ?4, ?5, ?6, ?7) ON CONFLICT DO
UPDATE
SET
item_id = ?1,
workspace_id = ?2,
path = ?3,
contents = ?4,
language = ?5,
mtime_seconds = ?6,
mtime_nanos = ?7
2: Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
thread 'zed::tests::test_window_edit_state_restoring_enabled' panicked at crates/zed/src/zed.rs:1646:9:
assertion `left == right` failed
left: 1
right: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
zed::tests::test_window_edit_state_restoring_enabled
test result: FAILED. 21 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.15s
error: test failed, to rerun pass `-p zed --bin zed
Check for existing issues
Describe the bug / provide steps to reproduce it
Building from main, all tests pass except for this. I've checked, and the settings.json file exists. This is from a clean checkout of the build, so it is possible something wasn't correctly initialized or migrated.
So I think there's several things going on here, including some error messages being incorrect.
Environment
Zed: v0.162.5 (Zed)
OS: Linux X11 devuan 5
Memory: 62.8 GiB
Architecture: x86_64
GPU: NVIDIA GeForce GTX TITAN X || NVIDIA || 535.183.01
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: