gluon | modular framework for creating OpenWrt
kandi X-RAY | gluon Summary
kandi X-RAY | gluon Summary
Gluon is a firmware framework to build preconfigured OpenWrt images for public mesh networks.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gluon
gluon Key Features
gluon Examples and Code Snippets
Community Discussions
Trending Discussions on gluon
QUESTION
The thing is simple. I want to create a javafx project with WevView support.
Here are the steps i followed:
- Open intellij, create new project, select javafx on the left side, and also select maven on the right side, finish.
- I added a javafx web dependency in pom.xml
ANSWER
Answered 2022-Apr-08 at 15:26Add the line requires javafx.web;
to your module-info.java
.
QUESTION
I'm building a native image using the Gluonfx plugin. I'm doing this procedure inside a docker container. The image builds the 7 steps, but doing the link throws an error complaining about missing ie4uinit.exe.
These are the error logs:
...ANSWER
Answered 2022-Mar-29 at 12:26Finally found the solution:
Changing the base docker image to: mcr.microsoft.com/windows:1809-amd64
This one contains the necessary dependencies to complete the build process. This is finally my Dockerfile (Anyways, if you know a lighter image or docker configuration to perform the build with gluonfx, please post in the comments. I will appreciate):
QUESTION
I have trained a SageMaker semantic segmentation model, using the built-in sagemaker semantic segmentation algorithm. This deploys ok to a SageMaker endpoint and I can run inference in the cloud successfully from it. I would like to use the model on a edge device (AWS Panorama Appliance) which should just mean compiling the model with SageMaker Neo to the specifications of the target device.
However, regardless of what my target device is (the Neo settings), I cant seem to compile the model with Neo as I get the following error:
...ANSWER
Answered 2022-Mar-23 at 12:23For some reason, AWS has decided to not make its built-in algorithms directly compatible with Neo... However, you can re-engineer the network parameters using the model.tar.gz output file and then compile.
Step 1: Extract model from tar file
QUESTION
If I don't create a src/android/AndroidManifest.xml file in my Gluon project, then the mvn gluonfx:package command creates one for me with some relatively sensible defaults. However, I need to make some changes to the generated AndroidManifest.xml for my app (such as indicating support for multiple screen resolutions, and I need to add the BILLING permission).
If I copy the generated AndroidManifest.xml to src/android/AndroidManifest.xml as suggested during gluonfx:package, then Gluon no longer updates the version code and version name fields for me. I'm also not sure if there any any other side-effects to manually editing the AndroidManifest.xml file.
So my questions are:
- What's the best practice when it comes to managing AndroidManifest.xml for a Gluon project?
- How do folks deal with updating the version code and version name in a manually edited file as part of a CI/CD pipeline, where I don't want to have to manually edit AndroidManifest.xml for each build?
- Are there any pitfalls to managing the AndroidManifest.xml outside the gluonfx:package command?
ANSWER
Answered 2022-Feb-28 at 10:28QUESTION
TL;DR: How does one build a Gluon app that's part of a larger multi-module project?
I have a multi-module Mave project (that is, my top-level POM has "pom
"). The project contains a bunch of libraries and related sub-projects, one of which is a Gluon app that will be what my actual users install. (The rest of the project is all the cloud-hosted plumbing that the client app connects to.)
When I try to build the Gluon app, per the Gluon documentation, I am getting the following error:
...ANSWER
Answered 2022-Feb-23 at 16:41If you have a multi module project, and your app module depends on other modules, you need to publish those modules to a repository, so the app module finds them, like any other third party dependency.
Typically, for local development, you can simply use mvn install
from the root folder to deploy your project locally. Of course, for distribution, you should consider publishing them to a reachable repository.
Make sure all your modules are deployed to your ~/.m2
repository.
Then you can run from the root:
QUESTION
I am following the documentation given by Gluon : here.
To try to make it simple I'll try to go straight to the point giving the milestones I got through, and where I'm stuck.
--------- ENVIRONNEMENT :
OS : Windows 10 x64
IDE : Eclipse, Version: 2021-12 (4.22.0)
JAVA : jdk17.0.1
JAVAFX : javafx-sdk-17.0.1
GraalVM : graalvm-svm-java17-windows-gluon-22.0.0.2-Final
Gluon plugin for Eclipse : 2.8.2
Visual Studio : 1.63.2 (with all required extensions as described in document)
Wix : 3.11.2.24516
--------- CONFIGURATION
Maven : apache-maven-3.8.4
Pom : Here is an screenshot of the first part of my POM which can be found here.
Environment Variables : JAVA_HOME + GRAALVM_HOME + MAVEN_HOME
--------- DONE :
JavaFX(v17) Application :
- Running perfectly with direct RUN using regular JVM.
- Running perfectly with javafx:compile as proposed in Gluon's documentation
--------- PROBLEM :
Impossible to get the Gluon goal "mvn gluonfx:build" or "gluonfx:build" to complete! Here is what I do :
- As instructed to do here : "If you are running on Windows, you need to run all the GluonFX goals from a x64 terminal.", I open a "x64 Native Tools Command Prompt for VS 2022"
- Navigated to my project folder where the POM is.
- Runned the instruction
mvn gluonfx:build
. I also tried to follow the instruction suggesting to "open the Run Configurations… window and update the Goal to gluonfx:build and click Run". Both leads to a FAIL ! At the end of this post is the terminal report showing :
- I do run with the option mentioned --allow-incomplete-classpath.
- I do find the reported 'missing' cached_scope_id in the file jniconfig-x86_64-windows.json which is exactly on the mentioned path. Here is the file if needed.
I am trying since days to turn around everything, and searched the net for some clues... But no luck until now :-(... Can anyone help me sort this out please ?
PS. I do use an external DLL (yes, Windows only, but hey : we are trying here to make a NATIVE build, thus, in Windows ;-), should be ok); This DLL is JNI attached. I tried to play around with this as well... No luck.
--------- TERMINAL REPORT :
(Full log as mentioned, here)
ANSWER
Answered 2022-Feb-08 at 10:37José Pereda, which has an amazing 'Coding Blog' here, spotted that my plugin version was outdated.
He pointed out that there are 2 plugins used in the development process :
- The IDE one, in my case Eclipse, which the latest as of 2022.02.08, is 2.8.2.
- The 'POM' one, which was set by default to 1.0.8, and I had to set as 1.0.12.
That solved the problem described in my question. Here is a screenshot of the updated POM, which can be found here :
Another issue I found was my custom argument--allow-incomplete-classpath
for the native build was set incorrectly. It has to be set in the 'POM' in the plugin/configuration section as follows (same POM referenced already) :
These 2 modifications allowed me to have a completed build, and my 'exe' file was created !
QUESTION
Gluon is mentioned prominently in the documentation and looks like it might be useful for our art team. Should be simple, right? It's not, I cannot find how to enable or install this mysterious vaporous product named Gluon.
...ANSWER
Answered 2022-Feb-01 at 14:29Gluon is installed by default with every Plastic installation. You can open it via the Windows app menu or just open "gluon.exe" in the Plastic installation folder.
QUESTION
I am trying to use the com.gluonhq.connect.provider.RestClient to query an API that is Elastic Search enabled.
...ANSWER
Answered 2022-Jan-17 at 10:52This is a quick demo of RestClient
with GET
and POST
:
ToDoItem
class:
QUESTION
Trying to resolve this error deploying a small sample app generated from start.gluon.io to an attached iPad running iOS 15.2 from macOS 10.15.7
...ANSWER
Answered 2021-Dec-28 at 11:17Issue is related to running Xcode 12.4 and attempting to deploy to an iOS 15 device. Later versions of Xcode available on newer macOS versions may not encounter this. Apple have added some cert requirements as per The code signature version is no longer supported.
Was able to sign and deploy by following the advice of José Pereda in the comments, ie cloning the Gluon substrate repo and adding the --generate-entitlement-der to the codesign call.
QUESTION
I have been looking for the solution for this error for a whole morning. I created an separate environment for python 3.6 and I still got this error. I am using anacondas. So i am so frustrated.
ModuleNotFoundError: No module named 'mxnet'
...ANSWER
Answered 2021-Nov-06 at 19:10use pip install mxnet. don't use conda install mxnet. if there is an error about permission, then use pip install mxnet --user. It worked for me.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gluon
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page