GithubHelp home page GithubHelp logo

make and osicat not found about shuffletron HOT 9 CLOSED

vindarel avatar vindarel commented on August 22, 2024
make and osicat not found

from shuffletron.

Comments (9)

ahefner avatar ahefner commented on August 22, 2024

Remove "--no-userinit" from the Makefile.

from shuffletron.

vindarel avatar vindarel commented on August 22, 2024

And with the dependencies it's better, now running shuf…-bin:

$ ./shuffletron-bin                                 *[master] 
Unhandled simple-error in thread #<sb-thread:thread "main thread" running
                                    {10052C6BD3}>:
  Error opening shared object "gen0.so":
  gen0.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10052C6BD3}>
0: ((LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX))
1: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {10052CB72B}>)
2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {10052CB6FB}>)
3: (PRINT-BACKTRACE :STREAM #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {100017A813}> :START 0 :FROM :INTERRUPTED-FRAME :COUNT NIL :PRINT-THREAD T :PRINT-FRAME-SOURCE NIL :METHOD-FRAME-STYLE NIL)

My web search isn't much useful.

thanks for the last commits and explanations.

from shuffletron.

ahefner avatar ahefner commented on August 22, 2024

from shuffletron.

vindarel avatar vindarel commented on August 22, 2024

Allright, progress again \o/ make install and using ./shuffletron worked, I can run the program and I am pleasantly surprised how well this seems to be thought of :) I can't see everything though, scanning id3 tags for an ogg file fails:

library> scanid3

Scanning file metadata (1,879 files).
Reading tags: 39 of 1,879
Unhandled vorbisfile:vorbis-error in thread #<sb-thread:thread
                                              "main thread" running
                                               {10052C6BD3}>:
  Open Ogg Vorbis file: Bitstream does not contain any Vorbis data.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10052C6BD3}>
0: ((LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX))
1: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {10058508FB}>)
2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {10058508CB}>)
3: (SB-DEBUG:PRINT-BACKTRACE :STREAM #<SB-SYS:FD-STREAM for "descriptor 1" {10052DADC3}> :START 0 :FROM :INTERRUPTED-FRAME :COUNT NIL :PRINT-THREAD T :PRINT-FRAME-SOURCE NIL :METHOD-FRAME-STYLE NIL)
4: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<VORBISFILE:VORBIS-ERROR {100584D983}> #<unavailable argument>)
5: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<VORBISFILE:VORBIS-ERROR {100584D983}>)
6: (INVOKE-DEBUGGER #<VORBISFILE:VORBIS-ERROR {100584D983}>)
7: (ERROR VORBISFILE:VORBIS-ERROR :TEXT "Open Ogg Vorbis file: Bitstream does not contain any Vorbis data.")
8: (VORBISFILE:RAISE-VORBIS-ERROR "Open Ogg Vorbis file" "Bitstream does not contain any Vorbis data.")
9: (VORBISFILE:CHECK-VORBIS-ERROR "Open Ogg Vorbis file" -132)
10: (VORBISFILE:VORBIS-OPEN "/home/vince/zique/1_Nicotine/Bob_Marley-_Three_Little_Birds_With_Lyrics.ogg" #.(SB-SYS:INT-SAP #X7FFFF6F1FC48) :CHARACTER-ENCODING :ISO-8859-1)
11: (VORBISFILE:GET-VORBIS-TAGS-FROM-FILE "/home/vince/zique/1_Nicotine/Bob_Marley-_Three_Little_Birds_With_Lyrics.ogg" :LINK -1 :CHARACTER-ENCODING :ISO-8859-1)
12: (GET-SONG-METADATA "/home/vince/zique/1_Nicotine/Bob_Marley-_Three_Little_Birds_With_Lyrics.ogg")
13: (SCAN-FILE-METADATA :VERBOSE T :ADJECTIVE NIL)
14: ((FLET #:WITHOUT-INTERRUPTS-BODY-676 :IN SB-THREAD::CALL-WITH-RECURSIVE-LOCK))
15: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK #<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK :IN MAINLOOP) {7FFFF6D1FB5B}> #<SB-THREAD:MUTEX "Output Lock" owner: #<SB-THREAD:THREAD "main thread" RUNNING {10052C6BD3}>> T NIL)
16: ((FLET CMD :IN MAINLOOP))
17: (MAINLOOP)
18: (RUN)
19: ((FLET #:WITHOUT-INTERRUPTS-BODY-89 :IN SB-EXT:SAVE-LISP-AND-DIE))
20: ((LABELS SB-IMPL::RESTART-LISP :IN SB-EXT:SAVE-LISP-AND-DIE))

I think indeed it doesn't contain any data, it was converted from an mp4 file downloaded from youtube. I deleted this file but I have some more I want to keep :] Can't it just print a message instead of exiting ?

from shuffletron.

vindarel avatar vindarel commented on August 22, 2024

In Mixalot's vorbisfile.lisp, a simple change of error to a format allows me to finish the scan and get the awesome colored search results.

(defun raise-vorbis-error (circumstance message)
  "Raise an error for the vorbisfile library. Circumstance is a string
  that describes the circumstance under which this error was raised, and
  message is a string that (tries to) explain the error."
  (error 'vorbis-error
         (format nil "~A: ~A" circumstance message)))

to

(defun raise-vorbis-error (circumstance message)
  "Raise an error for the vorbisfile library. Circumstance is a string
  that describes the circumstance under which this error was raised, and
  message is a string that (tries to) explain the error."
  (format nil "Error parsing an ogg vorbis file~A: ~A" circumstance message))

(I can't see it though).

from shuffletron.

vindarel avatar vindarel commented on August 22, 2024

when I used to make precompiled binary builds of this

btw, I think that would be very nice to have ! It's the easy way to distribute a software after all.

from shuffletron.

ahefner avatar ahefner commented on August 22, 2024

Curious, if you try to play that same file without scanning tags, does it play, or do you get the same error? What does the 'file' command output when given that file as a parameter?

I wonder if the file is corrupt, not actually an ogg file, or if there's a bug in the ogg code. It should be made more robust, so that scanid3 always completes, in any case.

from shuffletron.

vindarel avatar vindarel commented on August 22, 2024

The file command:

foo-_YouTube.ogg: Ogg data, Theora video

I can play it with mpv and I get a video:

Playing: foo_-_YouTube.ogg
 (+) Video --vid=1 (theora)
     Audio --aid=1 --alang=und (flac)
 (+) Audio --aid=2 'Nu_-_MAN_O_TO_Original_Mix_wmv_-_YouTube.mp3' (mp3) (external)

from shuffletron.

ahefner avatar ahefner commented on August 22, 2024

Interesting. That's a video file (Ogg Theora) rather than an audio file (Ogg Vorbis). I'm using libvorbisfile under the assumption that any .ogg file is a Vorbis-format audio file. It would take some work writing new FFI bindings and Mixalot wrappers to decode a Theora file and play it the audio track Shuffletron.

I see a lot of appeal in being able to decode and play audio tracks from common video formats but it's not something Shuffletron or Mixalot can do today. Seems like you'd want Theora and mp4 at a minimum. If I had a large collection of downloaded music videos I'd definitely want the option to toggle the video display on and off as well - an audio+video player with Shuffletron-style interface could be cool. Predictably it's not something I'm likely to dive into implementing.

from shuffletron.

Related Issues (6)

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.