Powervision 2.8 Font issue

Electrofit-Zapi
Posts: 2
Joined: Wed Jun 13, 2012 6:22 am

Powervision 2.8 Font issue

Post by Electrofit-Zapi » Tue Apr 18, 2017 3:37 am

Hello,
I have started getting an error when using powervision 2.8. after opening a configuration file and going to Page Designer the following error occurs:-
we are seeing this on two different Laptops also.

Error Message:

Could not find a part of the path '\\EZ-SBS\RedirectedFolders\My Documents\Murphy Configurations\Version 2.8\~MurphyTempFiles\PrimaSans BT (Roman).ttf'.

PowerVision Configuration Studio Version:

2.8.10366

Environment:

Microsoft Windows NT 6.2.9200.0 Is64Bit: True

Error Location:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at PowerVision.ObjectModel.CultureInformation.ApplicationFont.GetFontFile()
at PowerVision.ObjectModel.CultureInformation.ApplicationFont.GetFontFamily()
at PowerVision.ObjectModel.CultureInformation.ApplicationFont.GetFontForSize(Single fontSize)
at PowerVision.ObjectModel.CultureInformation.CharacterMap..ctor(Int32 fontSize, ApplicationFont appFont)
at PowerVision.ObjectModel.CultureInformation.ApplicationFont.GetCharacterMap(Int32 fontSize)
at PowerVision.ObjectModel.CultureInformation.CultureConfiguration.GetCharacterMap(String fontGroup, Int32 fontSize, String language)
at PowerVision.ObjectModel.GaugeInformation.RotaryGaugeBase.CreateTickMarks(DrawingMode enumValue, Int32 selectorID, Double tickStart, Double tickEnd, Double max, Double min, Int32 majors, Int32 minors)
at PowerVision.ObjectModel.GaugeInformation.RotaryGaugeBase.GenerateTickMarks(DrawingMode modes)
at PowerVision.ObjectModel.GaugeInformation.RotaryGaugeBase.OnGenerateDrawingPrimitives(DrawingMode modes)
at PowerVision.ObjectModel.GaugeInformation.PositionedObject.GenerateDrawingPrimitives(DrawingMode mode)
at PowerVision.ObjectModel.GaugeInformation.Page.GenerateDrawingPrimitives(DrawingMode modes)
at PowerVision.ObjectModel.GaugeInformation.Page.PowerVision.ObjectModel.GaugeInformation.IGaugeContainer.Draw(DrawingEngine drawingEngine)
at PowerVision.ObjectModel.GaugeInformation.RenderingEngine.DrawingSurface.OnRender(DrawingContext drawingContext)
at System.Windows.UIElement.Arrange(Rect finalRect)
at PowerVision.ObjectModel.GaugeInformation.RenderingEngine.DrawingSurface.Render(IGaugeContainer page, DrawingEngine engine)
at PowerVision.ObjectModel.GaugeInformation.RenderingEngine.DrawingEngine.GetScreenImage(IGaugeContainer gaugeContainer)
at PowerVision.WindowsClient.GaugeInformation.GaugeContainerDesigner.RegenerateScreenData()
at PowerVision.WindowsClient.GaugeInformation.GaugeContainerDesigner.redrawTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: Powervision 2.8 Font issue

Post by boyce » Tue Apr 18, 2017 8:58 am

It looks like the configuration directory is on a network share. The file that it is trying to access is the default font file that includes English. PowerVision has to write files to the temporary directory so it is possible that it does not have write permissions to the network share. Can you check that it has permission to create child directories and files below the Murphy Configurations directory?
Boyce Schrack
Enovation Controls