Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: entry_watcher ParseIntError #37

Closed
Eliot00 opened this issue Dec 24, 2021 · 1 comment
Closed

Bug: entry_watcher ParseIntError #37

Eliot00 opened this issue Dec 24, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@Eliot00
Copy link
Contributor

Eliot00 commented Dec 24, 2021

Describe the bug

WebApp create a new entry, server will get a error log: ERROR quake::helper::entry_watcher: watch error: ParseIntError { kind: InvalidDigit }, and action todo.show get a invalid date.

图片

Steps to reproduce (please include code)

  1. create a new foler and cd
  2. run path of target/debug/quake init -d
  3. run meilisearch
  4. run quake server -w
  5. open webapp and create a new entry by action todo.add: hello
  6. click save button

Environment

  • quake version: git hash 20ec718
  • Rust version: 1.57
  • OS: macos 11.2.1
@phodal
Copy link
Owner

phodal commented Dec 24, 2021

For invalid Date.

when feed document in entry_watcher.rs, the date not format to search engine date:

let (typ, file) = entry_file_by_path(&path)?;
feed_document(search_url, &typ, &file)?;

need align to Entrysets::file_to_json

@phodal phodal added the bug Something isn't working label Dec 24, 2021
@phodal phodal added this to the Quake 1.0 milestone Dec 24, 2021
@phodal phodal closed this as completed in a6c8888 Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants