Dash Plotly Graph (Dash core component throwing error) - plotly-dash

[error image1
enter image description here
Hello everyone,
I am trying to use the basic example given for dash to plot graph but it is throwing this error in the screenshot. I do not really know what the problem is. Does anyone know if the das core components for plotting graph has changed or something?
This is the link to where I got the code. https://dash.plotly.com/dash-core-components enter link description here
The error said "Dash design kit could not be resolved"
Thank you for your help.

The examples on the site you linked should work without dash-design-kit, so you could simply drop the import for them to work.
If your code depends on actually using dash-design-kit, it is not part of the free Dash installation, but part of Dash Enterprise (see here). The error should disappear after acquiring and installing Dash Enterprise.

Related

PlotlyJS.jl "savehtml" not defined

I need to share an interactive plot made using the PlotlyJS package in Julia. According to the documentation of the package PlotlyJS.jl, I need to use the "savehtml" function and set "js" argument to ":embed" in order to view it offline (screenshot attached). However, I got an error "UndefVarError: savehtml not defined". Can anyone tell me what may cause this problem?
FYI, the "savefig" function can save the plot into an HTML but the HTML cannot be viewed on other machines.
It is also acceptable if there is another way to save an HTML plot that can be assessed from other machines. The interactive plot is generated by PlotlyJS.jl.
Thanks very much in advance.
This creates a standalone file that can be used on other machines.
However, those other machines need to have access to the internet:
p = PlotlyJS.Plot(sin.(1:0.1:10))
open("f.html","w") do f
PlotlyJS.PlotlyBase.to_html(f, p; include_plotlyjs="cdn", full_html=true)
end
I just checked that this is as far as you can do as of today (version v0.8.18) as there is a bug in the source code of PlotlyBase.

Google Map using Ionic

What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
I was trying to use ionic native google maps for an application using ionic 3. I did follow the steps mentioned in ionicframework site and when i took product build it shows lot of error with the following comments along with it. Also when i run 'ionic serve' the area where is to be displayed is blank.
I didnt get what is this error. I searched and went through many opinions and options but nothing did help. I hope anyone could help me to get solve this error.
the errors displayed are the syntax errors of some java files related to the plugin

Mediatek Linkit One Error when compiling in Arduino IDE 1.6.6: arm-none-eabi-g++: no such file or directory

So, as you can see in the title, I am having a problem with my Linkit One. I am using Arduino IDE 1.6.6, and I am using the Linkit One SDK 1.1.17 through the Arduino board's manager. When I compile anything, even a simple bare minimum Arduino program, I get this error:
arm-none-eabi-g++: error: ~My System Path\Temp\build3694385943597424511.tmp/syscalls_mtk.c.o: No such file or directory Error compiling.
I have searched long and hard for an answer to this problem, and I have found nothing. Please inform me if I need to provide extra information.
Thanks, Fiske
I got it to work by editing platform.txt
and adding core/ so that it reads:
{build.path}/core/syscalls_mtk.c.o
instead of
{build.path}/syscalls_mtk.c.o
platform.txt was located in:
/Users/awootton/Library/Arduino15/packages/LinkIt/hardware/arm/1.1.17
Okay: Here is what I did. First of all, I switched to IDE 1.6.5, like you said. Then I followed the tutorial here: https://www.hackster.io/seeyouu/smart-city-bus-network-9f4cb0. FINALLY I got the linkit to work. You have no idea how long that took.
Try v1.6.5 of the ide. Seemed to fix the issue for us!

How to create or correctly import BackEndProxyStub project from ChatterBox VoIP sample to another solution (WP8)

I'm trying to develop a VoIP application based on ChatterBox VoIP sample and VoIP apps for Windows Phone 8.
I understand how projects Agents, BackEnd and UI work, but I cannot understand BackEndProxyStub.
I read the following description:
This is an out-of-process server written in C that enables
communication between the foreground app and the background process.
But found no other documentation that explains in more detail.
I'm trying to edit the "ChatterBox VoIP sample app" (to integrate with another BackEnd and UI), so I wanted to know how to create or import BackEndProxyStub and edit correctly for my solution.
I tried to import, but when I rebuild my solution, appears 2 unresolved externals:
Error 2 error LNK2001: unresolved external symbol
_PhoneVoIPApp2EBackEnd_ProxyFileInfo D:\Workspace\C# and C++\BackEndProxyStub\dlldata.obj BackEndProxyStub
Error 3 error LNK2001: unresolved external symbol
_PhoneVoIPApp2EBackEnd2EOutOfProcess_ProxyFileInfo D:\Workspace\C# and C++\BackEndProxyStub\dlldata.obj BackEndProxyStub
And when I tried to rename the files to my project name (even with the warning "DO NOT ALTER THIS FILE"), I got the same errors (differing only by name).
I would appreciate if someone could explain me how to properly handle "BackEndProxyStub" project.
If I missed something that could help, please tell me.
Seems like we're having the same problem. At the moment I can't help much because I just started as well; but I think the BackEndProxyStub is compiler-generated (refer to here). This might be a good start as well (refer to the comment for the question).
Based on that currently I'm studying COM starting from here, hoping one day can fully understand the chatterbox example.
Hope that helps.
The files in BackEndProxyStub project was generated by the BackEnd project. It used the MIDL(Microsoft Interface Definition Language).
This can be prove in the BackEnd Project's project file(BackEnd.vcxproj). The "CustomBuildStep" node in this file showed the clue:
<CustomBuildStep>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">pushd "$(OutDir)"WinMdIdl.exe "$(OutDir)$(RootNamespace).winmd"
MIdl.exe /env $(MidlEnv) /winrt /ns_prefix /metadata_dir "$(FrameworkSdkDir)Windows Metadata" /out "$(SolutionDir)$(ProjectName)ProxyStub" "$(OutDir)$(RootNamespace).idl"
MIdl.exe /env $(MidlEnv) /winrt /ns_prefix /metadata_dir "$(FrameworkSdkDir)Windows Metadata" /out "$(SolutionDir)$(ProjectName)ProxyStub" "$(OutDir)$(RootNamespace).OutOfProcess.idl"
"$(ProjectDir)OopServerRegistrationHelper.exe" /winmd:"$(OutDir)$(RootNamespace).winmd" /dll_name:$(TargetName) /namespace:$(RootNamespace).OutOfProcess
/app_manifest:"$(SolutionDir)UI\Properties\WMAppManifest.xml" /helper_dir:"$(SolutionDir)Agents" popd
</Command></CustomBuildStep> .......
It also can be founded in Visual Studio:
Here is documents of the MIDL. I think you can use the MIDL to generate your own BackEndProxyHub Project. Good luck.

HTML Help Workshop Crashes on Compiling a CHM

Trying to build a CHM using Microsoft HTML Help Workshop. A soon as I click Compile, HTML Help Workshop states:
An internal error has occurred. An error record has been saved to c:\os.err.
The only contents of the file are:
((Today's Date & Time))
Microsoft HTML Help Workshop Version 4.74.8702
HHA Version 4.74.8702
htmlproc.cpp(114) : Assertion failure: (pszTmp == m_pCompiler->m_pHtmlMem->psz)
The error only occurs for a few select, large projects, and happens from both the command line as well as the HTML Help Workshop GUI.
What causes this error to occur and how can I fix my project to run through the compiler?
The Microsoft HTML Help compiler has some unstated requirements for path name sizes.
Moving the project to a directory closer to the root drive (i.e. "C:\helpsystem\") and renaming folders inside the project to smaller name reduced the path name size enough so that the project would compile.
I found Microsoft HTML Help Workshop to be a bit delicate to work with. Do you have all the prerequistes installed? Try running the compiler, hhc.exe, from the command line.
Another thing to watch out for is an Error 413 - Request Entity Too Large error.
I'm not sure how big is too big for HTML Help Workshop, but my htm file is a touch over 2MB, a large table, and it causes HTML Help Workshop to crash when processing it.
While this isn't the same problem, it was the hint I needed - I'm not the first to find this on SO..