[Rejected] Log.Info instead of Log.Error (1 Viewer)

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,943
    2,022
    South of France
    Home Country
    France France
    Hi,

    It is the "cow-boy", again.
    At least someone in the Team will understand what I mean. ;)

    Many users ask why they have errors in Error.log file when they use plugins, since a long time.
    If I remember correctly, you decided long time ago that MediaPortal.xml should not contains plugins strings.
    With this changes, this event is logged as an Info log instead of Error log.
    Do you agree with ?

    Before modification :
    Example of Error.log file for WebEPGfr and MultiShortcut :
    2009-07-04 07:09:14.671875 [ERROR][MPMain]: No translation found for id 110124
    2009-07-04 07:09:25.375000 [ERROR][MPMain]: No translation found for id 110124
    2009-07-04 07:09:25.375000 [ERROR][MPMain]: No translation found for id 108186
    2009-07-04 07:09:35.828125 [ERROR][MPMain]: No translation found for id 108186
    After modification, logged in MediaPortal.log file :
    ....................................................
    2009-07-04 07:14:40.281250 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIPlugIns init
    2009-07-04 07:14:43.000000 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIPlugIns deinit
    2009-07-04 07:14:43.000000 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:14:43.093750 [Info.][MPMain]: TexturePacker: Loaded C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Cache\Blue3wide\packedgfx23.png texture:2048x2048 miplevels:1
    2009-07-04 07:14:43.093750 [Info.][MPMain]: TexturePacker: fontengine add texure:1996
    2009-07-04 07:14:43.093750 [Info.][MPMain]: No translation found for id 110124
    2009-07-04 07:14:43.109375 [Debug][MPMain]: Window: WebEPGfr.WebEPGfr init
    2009-07-04 07:14:43.109375 [Info.][MPMain]: xml:C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\Blue3wide\topbar.xml image id:1 width:0 height:0 gfx:empty.png
    2009-07-04 07:14:45.687500 [Debug][MPMain]: Windowmanager: Goto previous window
    2009-07-04 07:14:46.218750 [Debug][MPMain]: Window: WebEPGfr.WebEPGfr deinit
    2009-07-04 07:14:46.218750 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:14:46.218750 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIPlugIns init
    2009-07-04 07:14:57.468750 [Debug][MPMain]: Windowmanager: Goto previous window
    2009-07-04 07:14:57.796875 [Info.][MPMain]: No translation found for id 110124
    2009-07-04 07:14:57.796875 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIPlugIns deinit
    2009-07-04 07:14:57.796875 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:14:57.812500 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome init
    2009-07-04 07:15:00.171875 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome deinit
    2009-07-04 07:15:00.171875 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:15:00.171875 [Info.][MPMain]: No translation found for id 108186
    2009-07-04 07:15:00.171875 [Debug][MPMain]: Window: MediaPortal.MultiShortcut.MultiShortcut init
    2009-07-04 07:15:00.171875 [Debug][MPMain]: Windowmanager: Goto previous window
    2009-07-04 07:15:00.171875 [Debug][MPMain]: Window: MediaPortal.MultiShortcut.MultiShortcut deinit
    2009-07-04 07:15:00.171875 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:15:00.187500 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome init
    2009-07-04 07:15:02.062500 [Debug][MPMain]: Windowmanager: Goto previous window
    2009-07-04 07:15:02.406250 [Info.][MPMain]: No translation found for id 108186
    2009-07-04 07:15:02.406250 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome deinit
    2009-07-04 07:15:02.406250 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:15:02.406250 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome init
    2009-07-04 07:15:03.093750 [Debug][MPMain]: Windowmanager: Goto previous window
    2009-07-04 07:15:03.421875 [Info.][MPMain]: No translation found for id 108186
    2009-07-04 07:15:03.421875 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome deinit
    2009-07-04 07:15:03.421875 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:15:03.437500 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome init
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:0 debug
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:1 font10
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:2 font11
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:3 font12
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:4 font13
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:5 font14
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:6 font15
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:7 font16
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:8 font17
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:9 font18
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:10 dingbats
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:11 font32
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:12 font48
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:13 font60
    2009-07-04 07:15:04.328125 [Debug][MPMain]: GUIFont:texture disposing:14 fontSVT
    2009-07-04 07:15:04.328125 [Info.][MPMain]: TexturePacker: disposing texture:1999
    2009-07-04 07:15:04.343750 [Info.][MPMain]: TexturePacker: disposing texture:1998
    2009-07-04 07:15:04.343750 [Info.][MPMain]: TexturePacker: disposing texture:1997
    2009-07-04 07:15:04.343750 [Info.][MPMain]: TexturePacker: disposing texture:1996
    2009-07-04 07:15:04.359375 [Debug][MPMain]: Main: SaveLastActiveModule - enabled True
    2009-07-04 07:15:04.359375 [Debug][MPMain]: Main: SaveLastActiveModule - module 0
    2009-07-04 07:15:04.359375 [Debug][MPMain]: Main: SaveLastActiveModule - fullscreen False
    2009-07-04 07:15:04.359375 [Info.][MPMain]: Main: Exiting
    2009-07-04 07:15:04.359375 [Info.][MPMain]: PlugInManager.Stop()
    2009-07-04 07:15:04.375000 [Info.][MPMain]: fonts.Dispose()
    2009-07-04 07:15:04.375000 [Debug][MPMain]: TextureManager: Dispose()
    2009-07-04 07:15:04.375000 [Info.][MPMain]: TexturePacker:Dispose()
    2009-07-04 07:15:04.375000 [Debug][MPMain]: Windowmanager: closing current window
    2009-07-04 07:15:04.375000 [Info.][MPMain]: No translation found for id 108186
    2009-07-04 07:15:04.375000 [Debug][MPMain]: Window: MediaPortal.GUI.Home.GUIHome deinit
    2009-07-04 07:15:04.375000 [Debug][MPMain]: TextureManager: CleanupThumbs()
    2009-07-04 07:15:04.375000 [Info.][2]: SQLiteClient: Closing database: VideoDatabaseV5.db3
    2009-07-04 07:15:04.375000 [Info.][2]: SQLiteClient: Closing database: MusicDatabaseV11.db3
    2009-07-04 07:15:04.375000 [Info.][2]: SQLiteClient: Closing database: VODStream.db3
     

    Attachments

    • LocalizeStrings.patch
      30.6 KB

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Not really... The primary goal should be to report missing entries to the plugin author and help him to provide a strings file in your language.
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,943
    2,022
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #3
    Hi rtv,

    The problem is if a plugin has it own strings files (ie : %language%/MultiShortcut/strings_xx.xml) to avoid increasing MediaPortal xml strings file.
    The only way I can see to avoid this error message is that plugin has to write a string for its ID plugin inside MediaPortal strings_xx.xml itself.
    And this, of course, for all existing external plugins.
    For example, it doesn't appear for MyExplorer plugin because, string already exist inside the default MediaPortal string xml file :
    <String id="100770">Explorer</String>

    What do you think about ?
    Do you prefer to keep Log.Error ?
    Otherwise, could it be possible to envisage accept plugin IDs inside stock MediaPortal xml string files ?
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    We would like to keep the Log.Error. Anyway thx for your efford trying to make MP even better.

    Simone
     

    Users who are viewing this thread

    Top Bottom