fontEngine.log does not respect custom log path (1 Viewer)

n3w813

Portal Pro
October 7, 2008
64
8
Home Country
United States of America United States of America
TV-Server Version:
MediaPortal Version: 1.0.1 SVN
MediaPortal Skin: Streamed MP Beta
Windows Version: WinXP SP3
CPU Type: Intel E6600 Core 2 Duo
HDD: 500GB Western Digital
Memory: 2GB Corsair 5400C4
Motherboard: Intel DG965OT
Video Card: Asus 8600GT Silent
Video Card Driver: Latest Nvidia Reference Drivers
Sound Card: Intel HD
Sound Card AC3: Optical Out
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: ffdshow (Latest Beta)
MPEG2 Audio Codec: ffdshow (Latest Beta)
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Antec Fusion
Cooling:
Power Supply: Antec 550W
Remote: Harmony One
TV: Sony Bravia 46X2000
TV - HTPC Connection: HDMI

1. Set a custom path for the Logs directory in MediaPortalDirs.xml e.g. c:\logs
2. Start MediaPortal

Result: All logs except for fontEngine.log are created in custom path

Reposted from https://forum.team-mediaportal.com/...e-log-does-not-respect-custom-log-path-57456/

This problem persists in 1.0.1.

For people that use 'Log' folder redirection, please make sure you do NOT delete the original 'Log' folder from the default location (C:\ProgramData\Team MediaPortal\MediaPortal\). If you do, you may get a random "MediaPortal has stopped working" crash when using MediaPortal, most often in TVSeries plugin when you constantly browsing through the series. In Windows Event Viewer, you will see an error caused by fontengine.dll.

Once the 'Log' folder is recreated and FontEngine.dll can write the FontEngine.log file, the error goes away.

:D
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    True issue indeed. C++ side code doesn't have any way (currently) to parse the XML files for logging path information. This affects as well all the directshow filters.

    Non-proper way to fix this is just to make sure that fontEngine.dll is not crashing when the logging path is not available. Better way to fix this would be to allow C# side to provide the logging path for the C++ components. Anyone interested to provide a proper patch? I'm too lazy to fix the issue properly as it requires some work with no real benefits to myself :p
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 MQTT Plugin DE
    @Jean-Marc i add play command, but i dont test it ... No time, sorry ...
    @Jean-Marc i add play command, but i dont test it ... No time, sorry ...
    https://ci.appveyor.com/api/projects/status/yj74bbhstsucwojj/branch/master?svg=true MQTT Plugin for MediaPortal - Publish some...
    Replies
    17
    Views
    2K
    Ok, just done some more mucking around. turns out my logitech mouse seems to be extremely unresponsive in media portal. Can use my keyboard just fine (also lightspeed wireless). Suggestions?
    Ok, just done some more mucking around. turns out my logitech mouse seems to be extremely unresponsive in media portal. Can use my...
    Good evening, having just fresh installed media portal 2.3.2. Looking at trialing again as it now seems to support what I am...
    Replies
    1
    Views
    240
    Hello, Since windows 7 is not supported yet by microsoft, I migrated from windows 7 x64 to windows 10 x64. I have a server on which a WinTV-quadHD card is installed. This card worked perfectly before the migration and no hardware change was made (not a single cable disconnected). Since my passage under windows 10 x64, I can't get...
    Hello, Since windows 7 is not supported yet by microsoft, I migrated from windows 7 x64 to windows 10 x64. I have a server on...
    Hello, Since windows 7 is not supported yet by microsoft, I migrated from windows 7 x64 to windows 10 x64. I have a server on...
    Replies
    0
    Views
    439
    Many people found the Lentoid decoder better optimised than LAV for software decoding. If you want to try it, download it from the link below, run reg.bat as an admin to install it and change the HEVC Video settings in MediaPortal Configuration/Codecs and Renderer...
    Many people found the Lentoid decoder better optimised than LAV for software decoding. If you want to try it, download it from the...
    For some unknown reason I can't play HEVC encoded video with MP1 on my system. I have tried every trick I know, but nothing works...
    Replies
    10
    Views
    686
    Sorry for the late response. In my experience, the EPG grabbing of a single transponder takes 2 to 3 minutes. Afterwards it takes 1 to 2 minutes to write the data to disk. To speed up the EPG stuff (not only writing but also reading the EPG guide in MediaPortal), I changed the program table (and only that table) from InnoDB to...
    Sorry for the late response. In my experience, the EPG grabbing of a single transponder takes 2 to 3 minutes. Afterwards it takes...
    I get a few "Continuity error..." after the EPG scan finished: [2021-01-30 18:56:10,278] [4c45530] [18c8] - mhw reset [2021-01-30...
    Replies
    2
    Views
    1K
    Top Bottom