Coder Social home page Coder Social logo

Locked databases about boltbrowser HOT 5 CLOSED

br0xen avatar br0xen commented on June 25, 2024
Locked databases

from boltbrowser.

Comments (5)

br0xen avatar br0xen commented on June 25, 2024 2

I'm glad you like it!
I went ahead and added a new issue to timeout and allow exiting boltbrowser if the database is locked (with the 'hacktoberfest' tag, even, so maybe someone else will issue a pull request).

As for opening the DB in a read-only mode, I'm going to have to do some research into that and see what I can come up with.

Thanks!

from boltbrowser.

br0xen avatar br0xen commented on June 25, 2024

This issue has been resolved for a while, I just forgot to close it.

from boltbrowser.

xyproto avatar xyproto commented on June 25, 2024

When trying the steps to reproduce the issue, the terminal still hangs, but there is this output:

���������������������������������

This is with konsole and TERM=konsole-256color.

Neither ctrl-c nor ctrl-\ quits the program.

When setting TERM=vt100, boltbrowser still hangs, but I get this output:

$<50>

I used this command to build and install boltbrowser:

go get -u github.com/br0xen/boltbrowser

Using Go 1.11, on 64-bit Arch Linux.

from boltbrowser.

br0xen avatar br0xen commented on June 25, 2024

Does it still work if the web server isn't running? Or are you getting garbage on the display regardless of if the DB is locked?

from boltbrowser.

br0xen avatar br0xen commented on June 25, 2024

By the way, people have generally had more luck with boltbrowser using a console type of xterm-256color, though in my testing (with konsole) konsole-256color works fine too, so I'm not sure why you were getting some garbled output up there.

I tested a locked database with the newest commit and, by default, it'll timeout trying to connect after a second.

from boltbrowser.

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.