Giter Club home page Giter Club logo

jot's Introduction

Gif

jot's People

Contributors

shashwatah avatar zrocket avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jot's Issues

Is this project dead?

This project has piqued my interest, but it seems the last commit was made on October 10th, 2022. Is this project still alive or dead?

Crashes when using ls if entry extension returns None value in rec_list

When playing around with jot using my existing Obsidian vault this error would occour when trying to list the directory:

Notes
├── Notes
│   ├── Bins
│   │   └── Images
│   │       └── LYT Kit
│   ├── .obsidian
thread 'main' panicked at /home/tamer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/jt-0.1.2/src/utils.rs:188:49:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Poking around in the source, I found that this is a result of line 199 in utils.rs:

if entry.is_file() && entry.extension().unwrap() != "md" {

Specifically, this is a result of trying to unwrap a None value if an extension is not found.

If it pleases you, I've created a simple fix that resolves the issue.

Main panicks when I try using jot.

Hello, first I'd like to thank you for taking the time and effort to create and share jot.
I installed the package trough macports on a mac mini and I'm incurring into theese errors during execution:
after entering a vault
jt ls returns this:
thread 'main' panicked at 'called Option::unwrap()on aNone value', src/state/vaults/vault.rs:44:9
while jt op fornitori returns the same.
thread 'main' panicked at 'called Option::unwrap()on aNone value', src/state/vaults/vault.rs:44:9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.