eDebug

  • Please provide some information about the hard- and software used.


    Box type: 5620
    GUI (enigma1/enigma2): enigma1
    Firmware version: cvs 56x0


    your question


    Could someone please suggest how to see the eDebug function output from a plugin ?


    The file /var/log/messages remains empty and with telnet no eDebug output appears in the console.


    Regards, pcd.

  • Zitat

    Originally posted by dcdead
    You can see it one the console, if you restart enigma by hand, as i wrote you in the other thread


    Thanks for the reply. The telnet log is below. At that point I go to the blue panel and select a plugin, nothing shows in the log. Normally with another well known image I get the list of plugins, selected plugin etc.


    Regards.


    ~ > enigma
    enigma, Copyright (C) dbox-Project
    enigma comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome
    to redistribute it under certain conditions.
    It is licensed under the GNU General Public License,
    Version 2

    [eHotplug] created successfully
    + (0) Configuration
    reached rl 0
    + (1) Background File Eraser
    + (1) EAUDIO
    + (5) d-Box LCD Hardware
    couldn't open LCD - load lcd.o!
    + (5) eActionMapList
    + (9) GFBDC
    2044k video mem
    + (9) Font Render Class
    [FONT] initializing lib...
    [FONT] loading fonts...
    [FONT] Intializing font cache, using max. 4MB...
    + (10) gRC
    RC thread createted successfully
    + (15) SystemInfo
    + (20) skin subsystem
    loading skin: /var/tuxbox/config/enigma/skins/default.esml
    loading skin: /share/tuxbox/enigma/skins/default.esml
    loading skin: /share/tuxbox/enigma/skins/stone.esml
    illegal color "" specified
    [FONT] adding font /share/fonts/bluehigh.ttf...OK (Blue.Regular)
    [FONT] adding font /share/fonts/bluebold.ttf...OK (Blue.Bold)
    [FONT] adding font /share/fonts/pakenham.ttf...OK (lcd)
    [FONT] adding font /share/fonts/md_khmurabi_10.ttf...OK (Replacement)
    [FONT] adding font /share/fonts/unmrs.pfa...OK (Nimbus)
    Font with name lcd already loaded, skip pakenham.ttf
    fontalias eStatusBar does exist, skip make alias for font Nimbus
    fontalias eChannelInfo does exist, skip make alias for font Nimbus
    fontalias eWindow.TitleBar does exist, skip make alias for font Nimbus
    fontalias eWindow.Childs does exist, skip make alias for font Nimbus
    fontalias eListBox.EntryText.normal does exist, skip make alias for font Nimbus
    fontalias eServiceSelector.Entry.Description does exist, skip make alias for fon
    t Nimbus
    fontalias eServiceSelector.singleColumn.Entry.Name does exist, skip make alias f
    or font Nimbus
    fontalias eEPGSelector.Entry.Description does exist, skip make alias for font Ni
    mbus
    fontalias eEPGSelector.Entry.DateTime does exist, skip make alias for font Nimbu
    s
    fontalias lcd.main.service_name does exist, skip make alias for font Nimbus
    fontalias lcd.main.clock does exist, skip make alias for font Nimbus
    fontalias lcd.menu.title does exist, skip make alias for font Nimbus
    fontalias lcd.menu.element does exist, skip make alias for font Nimbus
    fontalias eventview.description does exist, skip make alias for font Nimbus
    fontalias eventview.date does exist, skip make alias for font Nimbus
    fontalias eventview.time does exist, skip make alias for font Nimbus
    fontalias eventview.channel does exist, skip make alias for font Nimbus
    Image with name eCheckbox.checked already loaded, skip checked.png
    Image with name eCheckbox.unchecked already loaded, skip unchecked.png
    Image with name lcd_menu already loaded, skip lcdmenu.png
    Image with name lcd_scart already loaded, skip video.png
    Image with name mainmenu.background already loaded, skip mainmenu/background-fs8
    .png
    Image with name sselect_folder already loaded, skip folder-fs8.png
    image/img="shortcut.escape" - /enigma/pictures/shortcut/escape.png: file not fou
    nd
    + (25) eTextInputField
    + (25) RC Input layer
    poll made error
    + (26) Console RC Driver
    + (26) input device driver
    Input device "Dreambox IR Keyboard" is a keyboard.
    + (26) DreamBox RC Hardware 2
    failed to open /dev/dbox/fpkeys0
    + (26) d-Box RC Hardware
    + (30) eSlider
    + (30) eStatusBar
    + (30) eWindow
    + (30) eWidget
    + (30) eProgress
    + (30) eLabel
    + (30) eCheckbox
    + (30) eButton
    + (30) eChannelInfo
    + (35) textedit field actions
    + (35) number actions
    + (35) cursor actions
    + (35) focus actions
    + (35) list actions
    + (35) shortcut actions
    + (35) enigma standby actions
    + (35) TransponderEditWindow Actions
    + (35) enigma helpwindow actions
    + (35) rotor menu actions
    + (35) enigma vcr actions
    + (35) timer view actions
    + (35) timer edit actions
    + (35) tuxtxt offset actions
    + (35) epg selector actions
    + (35) enigma mainmenu actions
    + (35) EPG Style Selector actions
    + (35) service selector actions
    + (35) enigma main actions
    + (35) enigma global actions
    + (35) enigma event view actions
    + (39) stream watchdog
    + (40) eDVB lib
    [DVBCI] start
    [DVBCI] error opening /dev/ci
    [DVBCI] start
    [DVBCI] error opening /dev/ci1
    [DVBCI] GET_STATUS failed (Bad file descriptor)
    [DVBCI] module removed
    1 lnbs readed
    reading services
    loaded 80 services
    reading bouquets
    loaded 32 bouquets
    ok
    [eAVSwitch] failed to load scart-config (scart.conf), using default-values
    [DVBCI] GET_STATUS failed (Bad file descriptor)
    [DVBCI] module removed
    [eAVSwitch] setInput 0, avsfd=18
    eDVB::eDVB done.
    + (45) eServiceInterface
    + (46) eServiceFileHandler
    + (46) eServiceStructureHandler
    + (47) eServiceHandlerJPG
    + (47) eServicePlaylistHandler
    + (47) eServiceHandlerMP3
    + (47) eServiceHandlerDVB
    + (48) eDVBCAHandler
    + (48) EPG cache
    [EPGC] Initialized EPGCache
    + (48) socket mmi handler
    [eSocketMMIHandler] created successfully
    + (49) Timer Manager
    loading playlist... /var/tuxbox/config/enigma/timer.epl
    [eTimerManager] deepstandbywakeup is 0
    [eTimerManager] now deepstandbywakeup is 0
    [eTimerManager] delKey deepstandbywakeup
    Use valid Linux Time :smiling_face: (RTC?)
    [EPGC] time updated.. start EPG Mainloop
    reached rl 50
    [ENIGMA] loading default keymaps...
    couldn't load key bindings for device d-box Buttons
    couldn't load key bindings for device neue d-box Fernbedienung
    poll made error
    poll made error
    poll made error
    [eDVB] use IP: 192.168.1.4, Netmask: 255.255.255.0, gateway 192.168.1.1, DNS: 19
    2.168.1.1
    open /dev/dvb/card0/ancillary0 failed(Device or resource busy)
    open /dev/dvb/card0/ancillary0 failed(Device or resource busy)
    lcdMain created: 0x105e46a0
    [eZapMain]wasSleeping is 0, wasDeepStandby is 0
    skin has undefined element: snr_progress
    skin has undefined element: agc_progress
    skin has undefined element: ber_progress
    skin has undefined element: snr_num
    skin has undefined element: agc_num
    skin has undefined element: ber_num
    skin has undefined element: snr_text
    skin has undefined element: agc_text
    skin has undefined element: ber_text
    no sapi
    loading playlist... /hdd/movie/recordings.epl
    failed to open.
    loading playlist... /var/tuxbox/config/enigma/playlist.epl
    loading playlist... /var/tuxbox/config/enigma/userbouquets.tv.epl
    loading playlist... /var/tuxbox/config/enigma/userbouquets.file.epl
    loading playlist... /var/tuxbox/config/enigma/userbouquets.radio.epl
    loading playlist... /var/tuxbox/config/enigma/userbouquet.33fc5.tv
    loading playlist... /var/tuxbox/config/enigma/userbouquet.94b4c.radio
    write number to led-display
    ------------> changed! 0
    [TUNE] tuning to 11678263/27501730/H/0@130
    set continuous tone OFF and voltage to 13V
    set continuous tone OFF and voltage to 13V
    Horizontal
    Low Band
    DiSEqC Switch cmd = 00f2
    Rotor DiSEqC Param = 01 (use stored position)
    2 DiSEqC cmds to send
    no Toneburst (MiniDiSEqC)
    ROTOR RUNNING EMIT
    [FONT] creating new font color cache entry ff000000 .. 00ffffff
    [FONT] creating new font color cache entry 33294a6b .. 00ffffff
    Rotor Cmd is sent
    FE_SET_FRONTEND OK
    <-- tuned
    [ENIGMA_DYN] lockWebIf = 1
    [ENIGMA] starting httpd
    [SERVERSOCKET] ERROR on bind() (Address already in use)
    [NET] httpd server FAILED on port 80
    activate enigma serial http interface
    [ENIGMA] ok, beginning mainloop
    + (54) wizard: tv system
    tvsystem already selected.. do not start tvsystem wizard
    + (55) wizard: language
    + (56) wizard: fpudate
    + (57) wizard: timezone
    Dont run Timezone Setup.. timezone is already selected
    waitpid: No child processes
    + (58) wizard: scan
    reached rl 75
    [eTimerManager] setNextEvent
    [eTimerManager] updated ( 0 waiting events in list )
    [eDVB] restart Samba
    [eDVB] do nfs/cifs/smbfs mounts
    poll made error
    killall: nmbd: no process killed
    killall: smbd: no process killed
    waitpid: No child processes
    sh: smbd: not found
    waitpid: No child processes
    sh: nmbd: not found
    waitpid: No child processes
    waited for child 194
    waitpid: No child processes
    write number to led-display
    poll made error

    Einmal editiert, zuletzt von pcd ()

  • Hi dcdead,


    This is the beginning of the log. Any clue from this ? There is no rcs in /bin. Could that be the problem ? rcs is in /etc/init.d, but if I do killall there, same result - no process killed.


    Regards.


    ~ > cd /bin
    /bin > killall rcs
    killall: rcs: no process killed
    /bin > killall enigma
    killall: Could not kill pid '64': No such process
    killall: Could not kill pid '67': No such process
    killall: Could not kill pid '68': No such process
    /bin > ./enigma
    enigma, Copyright (C) dbox-Project
    enigma comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome
    to redistribute it under certain conditions.
    It is licensed under the GNU General Public License,
    Version 2

    Einmal editiert, zuletzt von pcd ()

  • Hi,


    I can now see enigma log on the telnet console.


    However, as I am using vlc streaming in my tests, I would like to see the log output on a file. If I do


    killall rcS
    killall enigma
    enigma>/tmp/enigma.log


    the log still keeps coming to the console, nothing goes to enigma.log although the file is created. If I exit the console, enigma turns off and the screen goes black. What am I doing wrong ?


    Regards, pcd.

    • Offizieller Beitrag

    first of all, if you start enigma from console an want to close the console afterwards you have to prevent enigma from forking (which means something like "running dependent of the console")


    Do it this way:


    enigma &



    i have to admit i can't tell you, why the output is not redirected to your file

    mfg ,
    Reichi

  • try command: enigma >/tmp/enigma.log 2>&1


    I think enigma sends debugmessages on err-level and that you can forward to file with 2> and &1 tells to use same file on >