Jokosher - "Error loading file: None"

Bug #272608 reported by Stephen
4
Affects Status Importance Assigned to Milestone
Jokosher
New
Undecided
Unassigned

Bug Description

Error loading file: None

Please make sure the file exists, and the appropriate plugin is installed.

Could not determine type of stream.
gsttypefindelement.c(742): gst_type_find_element_activate (): /pipeline0/decodebin0/typefind:
Can't typefind empty stream

All,

Just installed 0.10 on Ubuntu Hardy (fully patched system, all Gstreamer plugins installed if that helps). I started a new project and added an "Acoustic Guitar" instrument. The track was armed by default, so I clicked on "Record" and strummed a few chords. After that I clicked on "Stop" and the above error messages appeared.

My "setup" is - Dell Inspiron 9300 with a Lexicon Omega USB recording device. I don't think JK "sees" the Lexicon so maybe that is the issue (shrug). Please let me know what (if any) other information I can or should provide.

Also, please let me know how I can help!!! When I first saw this program I thought it would be perfect to use (Ardour is a bit much for me and sound recorder doesn't cut it). I don't know how to code (very well) but I'm willing to test/report bugs/etc. etc.

Revision history for this message
Laszlo Pandy (laszlok) wrote :

What is happening is that when press record, it tries to save audio to a file, and when you click stop it tries to load that file as an audio clip and display it. However when you click stop, it finds that the file doesn't exist. This means the previous recording step failed to save any audio.

When recording (before you hit stop) do you see any green waveform being displayed on the instrument?
Can you try running Jokosher in a console and paste any error messages you get when you try to record?

Thanks, this should help identify the real problem.

Changed in jokosher:
status: New → Incomplete
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

Hi Stephen,

 Jokosher 0.10.1 should have no trouble detecting the Lexicon Omega USB (I've just purchased one myself). If you go to "Project -> Recording Inputs" and select the "USB Audio #1 input 0" device listed there you'll be able to record from inputs 1 and 2 on the device (as a single stereo track).

 By default Jokosher will be recording from your internal sound card (or whatever your system has setup as the ALSA default), so if you could try doing the above and see if you still get the same issue we can see whether it's related to your internal sound card or if it's a different problem.

 Also, make sure you're using the official 0.10.1 package for now, don't use a bzr checkout of the very latest code, as this device triggers bug #305988 (I'm currently working on resolving this, so it shouldn't be an issue in 0.11).

Cheers,
 Mike.

Revision history for this message
kenden (kenden) wrote :

I have the same problem on Ubuntu lucid with Jokosher 0.11.5

Here are the steps in use to repro:
Start Jokosher normally (or in safe-mode)
Open project
Add an accoustic guitar instrument (or vocal)
Press record (no green waveforms displayed)
Press record again (or stop)
--> Error message is displayed "Error loading file: None".

media@umedia:~$ jokosher -d
Filling LADSPA Registry
  0 LADSPA effects loaded
 Reading in presets...
 ...done.
Cannot find "directsoundsink" plugin, disabling: "directsoundsink"
Cannot find "osxaudiosink" plugin, disabling: "osxaudiosink"
Cannot find "dshowaudiosrc" plugin, disabling: "dshowaudiosrc"
Cannot find "osxaudiosrc" plugin, disabling: "osxaudiosrc"
Loading extensions:
 importing extension GNOMEAudioProfiles.py
 importing extension Fullscreen.py
 importing extension jokosher-dbus.py
 importing extensions from directory /usr/share/jokosher/extensions
Pidgin Extension: Couldn't connect to the pidgin dbus interface. Is pidgin running?
 cannot register extension PidginExtension-0.1-py2.6
 importing extensions from directory /home/media/.local/share/jokosher/extensions
Attempting to open: /home/media/jokosherprojecttest2/jokosherprojecttest2.jokosher
Using custom pipeline for audio sink: autoaudiosink
added project playback bin to the pipeline
added adder0 to project playbackbin
added levelcaps to project playbackbin
added audioconvert0 to project playbackbin
added MasterLevel to project playbackbin
added bin0 to project playbackbin
Loading project file version 0.11.1
can not record
added instrument playbackbin to adder playbackbin 0
linked instrument playbackbin to adder (project)
LOG COMMAND: ('P', 'DeleteInstrument', [0]) from 157237900
can record
pre-record state: GST_STATE_NULL
Cannot list devices: property probe not supported on elementfactory626
unlinked instrument playbackbin from adder
removed instrument playbackbin from project playbackbin
create file source
Using pipeline: gconfaudiosrc ! audioconvert ! level name=recordlevel ! audioconvert ! flacenc ! filesink name=sink
Recording in single-input mode
Using input track: 0
adding recordingbin
play() in Project.py
current state: GST_STATE_NULL
Preparing the controller
FADE POINT: time(0.00) vol(0.99)
FADE POINT: time(0.00) vol(0.99)
Set extra zero fade point
just set state to PAUSED
STATE CHANGED
-- status: GST_STATE_CHANGE_NO_PREROLL
-- pending: GST_STATE_VOID_PENDING
-- new: GST_STATE_PAUSED
Stop pressed, about to set state to READY
current state: GST_STATE_PLAYING
LOG COMMAND: ('I0', 'DeleteEvent', [1]) from 157336876
Terminating recording.
State just set to READY
Removing recordingEvents bin
set state to NULL
added instrument playbackbin to adder playbackbin 0
linked instrument playbackbin to adder (project)
Event Bus Error Message:
 Code: 4
 Domain: gst-stream-error-quark
 Message: Stream contains no data.
Event bus error: Could not determine type of stream. gsttypefindelement.c(939): gst_type_find_element_activate (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
Can't typefind empty stream
LOG COMMAND: ('I0', 'ResurrectEvent', [1]) from 157298028

Changed in jokosher:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.