GithubHelp home page GithubHelp logo

clid crashes at start about clid HOT 6 CLOSED

sudormrfbin avatar sudormrfbin commented on August 17, 2024
clid crashes at start

from clid.

Comments (6)

sudormrfbin avatar sudormrfbin commented on August 17, 2024

It's fixed now, I think, in v0.6.1. Let me know if it still crashes.
I hope you like my app :)

P.S: It didn't crash because ~/Music was a symlink.

from clid.

Hund avatar Hund commented on August 17, 2024

I can start it now. :) But, it crashes after a few seconds if I scroll down the list.

$ clid
Traceback (most recent call last):
  File "/home/johan/.local/lib64/python3.4/site-packages/clid/database.py", line 83, in parse_meta_for_status
    meta = stagger.read_tag(self.file_dict[filename])
  File "/home/johan/.local/lib64/python3.4/site-packages/stagger/tags.py", line 81, in read_tag
    (cls, offset, length) = detect_tag(file)
  File "/home/johan/.local/lib64/python3.4/site-packages/stagger/tags.py", line 108, in detect_tag
    raise NoTagError("ID3v2 tag not found")
stagger.errors.NoTagError: ID3v2 tag not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/johan/.local/bin/clid", line 11, in <module>
    load_entry_point('clid==0.6.1', 'console_scripts', 'clid')()
  File "/home/johan/.local/lib64/python3.4/site-packages/clid/__main__.py", line 8, in run
    main.ClidApp().run()
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/apNPSApplication.py", line 30, in run
    return npyssafewrapper.wrapper(self.__remove_argument_call_main)
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/npyssafewrapper.py", line 41, in wrapper
    wrapper_no_fork(call_function)
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/npyssafewrapper.py", line 97, in wrapper_no_fork
    return_code = call_function(_SCREEN)    
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/apNPSApplication.py", line 25, in __remove_argument_call_main
    return self.main()
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/apNPSApplicationManaged.py", line 172, in main
    self._THISFORM.edit()
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/fm_form_edit_loop.py", line 47, in edit
    self.edit_loop()
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/fm_form_edit_loop.py", line 38, in edit_loop
    self._widgets__[self.editw].edit()
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/wgtextbox.py", line 383, in edit
    self.get_and_use_key_press()
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/wgwidget.py", line 610, in get_and_use_key_press
    self.handle_input(ch)
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/fmFormMuttActive.py", line 180, in handle_input
    rtn = self.linked_widget.handle_input(inputch)
  File "/home/johan/.local/lib64/python3.4/site-packages/npyscreen/wgwidget.py", line 71, in handle_input
    self.handlers[_input](_input)
  File "/home/johan/.local/lib64/python3.4/site-packages/clid/main.py", line 99, in h_cursor_line_down
    self.set_status(filename)
  File "/home/johan/.local/lib64/python3.4/site-packages/clid/main.py", line 85, in set_status
    self.parent.wStatus2.value = self.parent.value.parse_meta_for_status(filename=filename)
  File "/home/johan/.local/lib64/python3.4/site-packages/clid/database.py", line 90, in parse_meta_for_status
    self.meta_cache[filename] = _const.FORMAT_PAT.sub('', self.specifiers)
TypeError: expected string or buffer

It seems like a good application though. :) But I do have a few sugestions, as a Vim-user with regular users in mind. When you're viewing a track, it would be nice if you could navigate using both j and k and not just the arrow keys. To edit a field, you should have to enter a input mode using either i or the Enter-key. And to exit input mode you should have to use either Esc or the Enter-key. And then to go back to the list you should be able to use Esc.

from clid.

sudormrfbin avatar sudormrfbin commented on August 17, 2024

It's fixed now(v0.6.3). Thanks, by the way :) It really does feel good to see someone else using you app ;) And I'll add the Vim key-bindings to my TODO list.

from clid.

Hund avatar Hund commented on August 17, 2024

Thanks! :)

I bet it does! It's a neat piece of software. :)

from clid.

sudormrfbin avatar sudormrfbin commented on August 17, 2024

I've updated the app and added some Vim keybindings ;) Just the basics(movement keys, x, X, a and A). BTW, the Esc key is a bit slow to respond.

from clid.

Hund avatar Hund commented on August 17, 2024

Cool! I'll check it out. :)

from clid.

Related Issues (3)

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.