Giter VIP home page Giter VIP logo

Comments (6)

ahyatt avatar ahyatt commented on September 5, 2024 1

The latest commit should provide a much better experience here. Thank you for reporting the problem.

from ekg.

sg-qwt avatar sg-qwt commented on September 5, 2024

Also I'm able to sqlite-mode-open-file on ~/.config/emacs/triples.db

Here's how the data look like under sqlite-mode:

Table Name  Number of Rows  
triples                  44 
  rowid  subject                     predicate              object           properties  
      46 inline/pos                  base/unique            t                ()          
      47 inline/pos                  base/type              integer          ()          
      49 inline/type                 base/unique            t                ()          
      50 inline/type                 base/type              symbol           ()          
      52 inline/for-text             base/unique            t                ()          
      53 tag                         base/type              schema           ()          
      54 tag                         schema/property        tagged           ()          
      55 tag/tagged                  base/virtual-reversed  tagged/tag       ()          
      56 named                       base/type              schema           ()          
      57 named                       schema/property        name             ()          
      58 email                       base/type              schema           ()          
      59 email                       schema/property        address          ()          
      60 person                      base/type              schema           ()          
      61 titled                      base/type              schema           ()          
      62 titled                      schema/property        title            ()          
      63 titled/title                base/type              string           ()          
      64 ekg                         base/type              schema           ()          
      65 ekg                         schema/property        version          ()          
      66 ekg/version                 base/type              cons             ()          
      67 ekg/version                 base/unique            t                ()          
      68 tagged                      base/type              schema           ()          
      69 tagged                      schema/property        tag              ()          
      70 tagged/tag                  base/type              string           ()          
      71 text                        base/type              schema           ()          
      72 text                        schema/property        text             ()          
      73 text/text                   base/unique            t                ()          
      74 text/text                   base/type              string           ()          
      75 text                        schema/property        mode             ()          
      76 text/mode                   base/unique            t                ()          
      77 text/mode                   base/type              symbol           ()          
      78 text                        schema/property        inlines          ()          
      79 text/inlines                base/virtual-reversed  inline/for-text  ()          
      80 time-tracked                base/type              schema           ()          
      81 time-tracked                schema/property        creation-time    ()          
      82 time-tracked/creation-time  base/unique            t                ()          
      83 time-tracked/creation-time  base/type              integer          ()          
      84 time-tracked                schema/property        modified-time    ()          
      85 time-tracked/modified-time  base/unique            t                ()          
      86 time-tracked/modified-time  base/type              integer          ()          
      87 inline                      base/type              schema           ()          
      88 inline                      schema/property        command          ()          
      89 inline/command              base/unique            t                ()          
      90 inline/command              base/type              symbol           ()          
      91 inline                      schema/property        args             ()          

from ekg.

ahyatt avatar ahyatt commented on September 5, 2024

Thank you for the bug report! I think what is happening is that when the upgrade routine is called, it performs a backup. There is no built-in sqlite backup in emacs. I've attempted to add one, but the maintainers disagreed that it was needed. Because we can't back up via emacs, we have to call out to the sqlite3 executable directly, which you either do not have or is not in your path. If it's the latter, you can set triples-sqlite-executable (which I probably should make into a customized variable).

from ekg.

ahyatt avatar ahyatt commented on September 5, 2024

I can make backup optional, but I'm not sure if that's a good idea. I'm a bit afraid of people losing their work if they start using it without backups.

from ekg.

sg-qwt avatar sg-qwt commented on September 5, 2024

I didn't realize external sqlite3 is required with emacs29, thanks for the clarification. Too bad the maintainers won't accept the patch, the backup is core function for emacs application based on sqlite.

I've added sqlite3 to my path and everything works fine as expected, I'll take that as workaround for now. I don't think make backup optional is good idea also.

Thanks for the help.

from ekg.

ahyatt avatar ahyatt commented on September 5, 2024

Good to hear, thanks! I won't close this out yet, since at the very least we can make a more useful error message.

I may also see if it makes sense to revive that thread and get this into emacs.

from ekg.

Related Issues (20)

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.