Keyboard Shortcuts
Likes
Search
Crestron Studio Nightmares Continue
I did many attempts to get Visual Studio up and running again but my compiles and imports keep failing. I've managed to make import work, now I keep having this compile error....
Also when I start a new project from within this studio, I first get a "Style Font Not Found" error and also at compile. Anyone please? From the error.log: Crestron Studio v.1.81.096.00 TargetInvocationException: Exception has been thrown by the target of an invocation. Data -------------------- System.Object: (null) Stack Trace -------------------- at Crestron.Tools.GuiLib.Controls.TaskDialogEmulator.TaskDialog.PrivateShow(Boolean modal, Boolean throwThreadedActionException) in C:\BuildBranches\Trunk\Gui\GuiLib\Dialogs\TaskDialogEmulator\TaskDialog.cs:line 79 at Crestron.Tools.GuiLib.Controls.TaskDialogEmulator.TaskDialog.<>c__DisplayClass6_0.<RunTask>b__0() in C:\BuildBranches\Trunk\Gui\GuiLib\Dialogs\TaskDialogEmulator\TaskDialog.Convenience.cs:line 143 at System.Windows.Threading.DispatcherExtensions.InvokeIfNecessary(Dispatcher dispatcher, Action action, DispatcherPriority dispatcherPriority) in C:\BuildBranches\Trunk\Core\Core\ExtensionMethods\DispatcherExtensions.cs:line 128 at Crestron.Tools.GuiLib.Controls.TaskDialogEmulator.TaskDialog.RunTask(TaskDialogIcon2 icon, String headerText, String messageText, Action`1 taskAction, TaskDialogRunTaskOptions options) in C:\BuildBranches\Trunk\Gui\GuiLib\Dialogs\TaskDialogEmulator\TaskDialog.Convenience.cs:line 108 at Crestron.Tools.PanelDesigner.Flash.Gui.ThemeEditorViewModel.CompileExecute(Object sender, ExecutedRoutedEventArgs e) in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Flash\Gui\ThemeEditorViewModel.cs:line 474 at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding) at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated) at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated) at System.Windows.Input.CommandManager.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e) at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated) at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) AggregateException: One or more errors occurred. Data -------------------- Stack Trace -------------------- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at Crestron.Tools.PanelDesigner.Services.ThemeWriter.ThemeEditorFontLibService.CreateFontLib(String asFuncName) in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Services\ThemeWriter\ThemeEditorFontLibService.cs:line 125 at Crestron.Tools.PanelDesigner.Services.ThemeWriter.ThemeWriterService.CompileTheme() in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Services\ThemeWriter\ThemeWriterService.cs:line 76 at Crestron.Tools.PanelDesigner.Flash.Gui.ThemeEditorViewModel.CompileTheme() in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Flash\Gui\ThemeEditorViewModel.cs:line 512 at Crestron.Tools.PanelDesigner.Flash.Gui.ThemeEditorViewModel.<>c__DisplayClass31_0.<CompileExecute>b__0(IProgressController progressController) in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Flash\Gui\ThemeEditorViewModel.cs:line 488 at Crestron.Tools.GuiLib.Controls.TaskDialogEmulator.TaskDialog.<>c__DisplayClass6_0.<RunTask>b__1(TaskControlThreadedActionData data) in C:\BuildBranches\Trunk\Gui\GuiLib\Dialogs\TaskDialogEmulator\TaskDialog.Convenience.cs:line 130 at Crestron.Tools.GuiLib.Controls.TaskDialogEmulator.TaskDialogControl.<>c__DisplayClass373_0.<RunThreadedAction>b__0() in C:\BuildBranches\Trunk\Gui\GuiLib\Dialogs\TaskDialogEmulator\TaskDialogControl.cs:line 2096 ======================================== Exception: Swf file can't be created Error: null Command: C:\Users\Administrator\Documents\Crestron\FlexSDK\bin\mxmlc.exe -static-link-runtime-shared-libraries -target-player "10.0.0" -load-config "C:\Users\Public\Documents\Crestron\Tools\Flash\flex-config.xml" -output "C:\Users\Administrator\AppData\Local\Temp\Crestron\IDE\ThemeScratch\Test1.swf" "C:\Users\Administrator\AppData\Local\Temp\Crestron\IDE\ThemeScratch\ThemeEditorFontLib.as" Data -------------------- Stack Trace -------------------- at Crestron.Tools.PanelDesigner.Services.ThemeWriter.ThemeEditorFontLibService.ExecuteCommandSync(String commandString) in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Services\ThemeWriter\ThemeEditorFontLibService.cs:line 506 at Crestron.Tools.PanelDesigner.Services.ThemeWriter.ThemeEditorFontLibService.compileASFile(String actionScriptFile, String outputSWF) in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Services\ThemeWriter\ThemeEditorFontLibService.cs:line 448 at Crestron.Tools.PanelDesigner.Services.ThemeWriter.ThemeEditorFontLibService.buildFontSwf2(List`1 fonts, Boolean isUnicode) in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Services\ThemeWriter\ThemeEditorFontLibService.cs:line 139 at Crestron.Tools.PanelDesigner.Services.ThemeWriter.ThemeEditorFontLibService.<>c__DisplayClass7_0.<CreateFontLib>b__2() in C:\BuildBranches\Trunk\PanelDesigner\PanelDesigner\Services\ThemeWriter\ThemeEditorFontLibService.cs:line 128 at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() ? |
First, please make sure that Flex SDK was set to Run As Administrator as shown in the following article: You'll then want to confirm that you can import a theme archive for standard theme like Neo, and compile it successfully without any modification. If you're trying to compile an International version of the theme, it seems there's a recent issue with unicode fonts. |
On Sat, Nov 19, 2022 at 03:14 AM, Oliver Hall wrote:
Can you link to where the Unicode issue is discussed? ?Is this just a Crestron Studio problem IIRC this issue was encountered by a user who contacted Crestron's ANZ (Australia/NewZealand) Tech Support team. |
¿ªÔÆÌåÓýThanks for sharing, it helped a lot. I can only add that latest Java needs to be uninstalled from PC
first, and java 8-251 32bit version is needed.
On 21. 11. 2022 14:38, Dave H -
Crestron TS wrote:
|