Git Product home page Git Product logo

Comments (2)

gromain avatar gromain commented on May 27, 2024

This creates a panic for me when trying to launch vid.

~/.../vlang/vid >>> ./vid README.md
create window wnd=0x55566c12fe00 ptr==0x55566c12f130
Trying to load font from RobotoMono-Regular.ttf
new gg text context vao=3
timer.load_tasks()
================ V panic ================
   module: main
 function: load_tasks()
     file: ./timer.v
     line: 42
  message: read_lines() failed to open file "/home/username//.vid/tasks"
=========================================
??:0:                                         | ./vid(panic_debug+0x131) [0x55566a660788]
??:0:                                         | ./vid(Timer_load_tasks+0x102) [0x55566a673ccd]
??:0:                                         | ./vid(main__new_timer+0x6c) [0x55566a674458]
??:0:                                         | ./vid(main__main+0x844) [0x55566a6753b3]
??:0:                                         | ./vid(main+0x68) [0x55566a680c40]
??:0:                                         | /usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7fd52ebf8153]
??:0:                                         | ./vid(_start+0x2e) [0x55566a64490e]

I'll try to dig into the code and create a PR for this.

from ved.

medvednikov avatar medvednikov commented on May 27, 2024

Fixed.

from ved.

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.