开源改变世界!!

发布建筑 ugs-pendant(与已关闭的问题 #1263

推推 grbl 1年前 (2023-01-28) 135次浏览
关闭
rickromkey 打开了这个问题 2019 年 8 月 23 日 · 17 条评论 · 由#1294修复
关闭

发布建筑 ugs-pendant(与已关闭的问题 #1245 相同的结果)#1263

rickromkey 打开了这个问题 2019 年 8 月 23 日 · 17 条评论 · 由#1294修复

注释

发布建筑 ugs-pendant(与已关闭的问题 #1263

功能要求

问题描述

尝试在 Raspberry Pi 上运行时,构建 ugs-pendant 失败。

预期行为

期待一个完整的构建

实际行为

[信息]——————————————– ———————-
[信息] 构建 ugs-pendant 2.0-SNAPSHOT
[信息] ———- ———————————————- ———-
[INFO]
[INFO] — frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ugs-pendant —
[INFO]安装节点版本 v10.15.0
[信息] 下载https://nodejs.org/dist/v10.15.0/node-v10.15.0-linux-x86.tar.gz到 /root/.m2/repository/com/github/ eirslett/node/10.15.0/node-10.15.0-linux-x86.tar.gz
[INFO] 没有配置代理
[INFO] 没有配置代理,直接下载
[INFO] ———- ———————————————- ————–
[INFO] Reactor 摘要:
[INFO]
[INFO] ugs-parent …………………………….. …… 成功 [ 1.223 s]
[信息] ugs-core ………………… ……… 成功 [ 10.816 s]
[INFO] ugs-pendant ………………… …………失败 [3.446 秒]
[信息] ugs-cli ………………… …………….已跳过
[信息] ugs-classic ………………… …………….已跳过
[信息] ugs-platform-parent ………………… ….跳过
[INFO] ugs-platform-b​​randing …………………………….. 跳过
[INFO] ugs-platform -ugslib ………………………….. 已跳过
[信息] ugs-platform-ugscore …… ………………………. 跳过
[信息] ugs-platform-visualizer ………………… 已跳过
[信息] ugs-platform-plugin-workflow … ………………..已跳过
[信息] ugs-platform-gcode-editor ………………. ……. 跳过
[信息] ugs-platform-surfacescanner ………………… 跳过
[信息] ProbeModule ….. ……………………………..已跳过
[信息] DowelModule ……… …………………….已跳过
[信息] GcodeTools ………………… ……………………….已跳过
[信息] ugs-platform-plugin-jog ………………… ……………….已跳过
[信息] ugs-platform-plugin-setup-wizard ………………已跳过
[信息] ugs-platform-welcome-page ……………………跳过
[信息] ugs-platform-app …………………………….. 已跳过
[信息] — ———————————————- ——————
[信息] 构建失败
[信息] ———————- ———————————————-
[ INFO] Total time: 19.447 s
[INFO] Finished at: 2019-08-22T16:20:34+00:00
[INFO] Final Memory: 22M/52M
[INFO] ———- ———————————————- ———-
[错误] 无法在项目 ugs-pendant 上执行目标 com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm(安装节点和 npm):无法下载 Node.js:从服务器收到错误代码 404。-> [帮助 1]
[错误]
[错误] 要查看错误的完整堆栈跟踪,请使用 -e 开关重新运行 Maven。
[错误] 使用 -X 开关重新运行 Maven 以启用完整的调试日志记录。
[ERROR]
[ERROR] 有关错误的更多信息和可能的解决方案,请阅读以下文章:
[ERROR] [帮助 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ ERROR] 更正问题后,您可以使用命令
[ERROR] mvn -rf :ugs-pendant恢复构建

重现问题的步骤

  1. Pi 的原始安装。添加了 Java、maven 等。每次都失败。

规格

版本

最新版本。

操作系统

树莓派上的 Linux

平台

圆周率 3b

其他

mvn -version
Apache Maven 3.3.9
Maven 主页:/usr/share/maven
Java 版本:1.8.0_222,供应商:Raspbian
Java 主页:/usr/lib/jvm/java-8-openjdk-armhf/jre
默认语言环境:en_GB , 平台编码: UTF-8
操作系统名称: “linux”, 版本: “4.9.80-v7+”, arch: “arm”, family: “unix”

发布建筑 ugs-pendant(与已关闭的问题 #1263
合作者
布雷勒 评论了 2019 年 8 月 23 日  

我终于启动并运行了我的 RPI…
它正在运行 raspbian jessie

我正在运行更高版本的 Maven,但这应该没有任何区别,因为自 Maven 2.0.10 以来一直存在停用配置文件:

mvn -version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z)
Maven home: /opt/apache-maven-3.6.1
Java version: 1.8.0_65, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.9.35-v7+", arch: "arm", family: "unix"

我使用这个运行构建:

git clone https://github.com/winder/Universal-G-Code-Sender.git
cd  Universal-G-Code-Sender
mvn install -P'!create-pendant-ui-web'

并最终获得了成功的构建:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ugs-parent 2.0-SNAPSHOT:
[INFO] 
[INFO] ugs-parent ......................................... SUCCESS [  1.415 s]
[INFO] ugs-core ........................................... SUCCESS [01:15 min]
[INFO] ugs-pendant ........................................ SUCCESS [  4.394 s]
[INFO] ugs-cli ............................................ SUCCESS [ 19.749 s]
[INFO] ugs-classic ........................................ SUCCESS [ 16.922 s]
[INFO] ugs-platform-parent ................................ SUCCESS [  0.751 s]
[INFO] ugs-platform-branding .............................. SUCCESS [  6.366 s]
[INFO] ugs-platform-ugslib ................................ SUCCESS [ 24.540 s]
[INFO] ugs-platform-ugscore ............................... SUCCESS [  9.857 s]
[INFO] ugs-platform-visualizer ............................ SUCCESS [ 13.224 s]
[INFO] ugs-platform-plugin-workflow ....................... SUCCESS [  6.715 s]
[INFO] ugs-platform-gcode-editor .......................... SUCCESS [  7.224 s]
[INFO] ugs-platform-surfacescanner ........................ SUCCESS [  7.397 s]
[INFO] ProbeModule ........................................ SUCCESS [ 11.874 s]
[INFO] DowelModule ........................................ SUCCESS [ 35.595 s]
[INFO] GcodeTools ......................................... SUCCESS [  6.873 s]
[INFO] ugs-platform-plugin-jog ............................ SUCCESS [ 24.740 s]
[INFO] ugs-platform-plugin-setup-wizard ................... SUCCESS [  9.120 s]
[INFO] ugs-platform-welcome-page .......................... SUCCESS [  7.570 s]
[INFO] ugs-platform-app ................................... SUCCESS [ 40.965 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:34 min
[INFO] Finished at: 2019-08-23T13:10:14Z
[INFO] ------------------------------------------------------------------------

** 编辑 **
我有时遇到单元测试失败的问题,因为它正在测试线程并且需要更快的构建平台。我将调整该测试,使其不那么敏感。

发布建筑 ugs-pendant(与已关闭的问题 #1263
作者
瑞克罗姆基 评论了 2019 年 8 月 24 日  

我还是失败了。查看错误,它正在下载 不存在的https://nodejs.org/dist/v10.15.0/node-v10.15.0-linux-x86.tar.gz我手动下载了 Arm7 版本并使用 x86 名称创建了一个指向它的符号链接,并进一步执行了几个步骤。然后在提取图像时必须做类似的事情。最终一切都再次爆发了。

发布建筑 ugs-pendant(与已关闭的问题 #1263
合作者

命令的输出是什么:
git log --pretty=format:"%cn - %s - %h on %cd" | head -10

发布建筑 ugs-pendant(与已关闭的问题 #1263
合作者

@rickromkey任何更新?

发布建筑 ugs-pendant(与已关闭的问题 #1263
女主 评论了 2019 年 10 月 11 日  

我有同样的问题。
我正在尝试在新安装的 Pi 2 上安装 Universal-G-Code-Sender。
它正在运行 Linux raspberrypi 4.9.80-V7
我的 Node.js 版本是:
我的 Mavin 版本是:3.6.2
Java:1.8.0_65

这是我第一次安装该软件,所以我不知道会发生什么。

当我尝试使用您提到的命令时:mvn install -P’!create-pendant-ui-web’

我最终看到:
[INFO] Installing node version v10.15.0
[INFO] Downloading https://nodejs.org/dist/v10.15.0/node-v10.15.0-linux-x86.tar.gz to /home/pi/ .m2/repository/com/github/eirslett/node/10.15.0/node-10.15.0-linux-x86.tar.gz
[信息] 未配置代理
[信息] 未配置代理,直接下载
[信息] – ———————————————- ——————-
[INFO] ugs-parent 2.0-SNAPSHOT 的反应器摘要:
[INFO]
[INFO] ugs-parent …… …………………………….. 成功 [2.971 s]
[信息] ugs-core …… ……………………. 成功 [02:51 分钟]
[信息] ugs-吊坠………………………………..失败[7.378 s]
[信息] ugs-cli ………………………………………..已跳过 [信息] ugs
-classic …………………………….. 已跳过
[信息] ] ugs-platform-parent …………………………….. 已跳过
[信息] ugs-platform-b​​randing … …………………….已跳过
[信息] ugs-platform-ugslib ………………… ……………….已跳过
[信息] ugs-platform-ugscore ………………… ……… 跳过
[信息] ugs-platform-visualizer ………………… 跳过
[信息] ugs -platform-plugin-workflow ………………… 跳过
[信息] ugs-platform-gcode-editor ……… …………………跳过
[信息] ugs-platform-surfacescanner …………………跳过
[信息] ProbeModule ………………………………. 已跳过
[信息] DowelModule。 ……………………………….已跳过
[信息] GcodeTools …… ……………………………..已跳过
[信息] ugs-platform-plugin-jog …. ……………………已跳过
[信息] ugs-platform-plugin-setup-wizard ………………… ……跳过
[信息] ugs-platform-welcome-page …………………跳过
[信息] ugs-platform -app …………………………….. 已跳过
[信息] ———- ———————————————- ————–
[信息] 构建失败
[信息] ————————– —————————————-
[信息] 总时间:03 :11 分钟
[信息] 完成于:2019-10-10T13:14:17-04:00
[信息] ————————– ——————————————
[警告] 请求的配置文件“| create-pendant ui-web”无法激活,因为它不存在。
[错误] 无法在项目 ugs-pendant 上执行目标 com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm(安装节点和 npm):无法下载 Node.js:收到错误代码来自服务器的 404。-> [Help 1]
[ERROR]
[ERROR] 要查看错误的完整堆栈跟踪,请使用 -e 开关重新运行 Maven。
[错误] 使用 -X 开关重新运行 Maven 以启用完整的调试日志记录。
[错误]
[错误] 有关错误和可能的解决方案的更多信息,请阅读以下文章:
[错误] [帮助 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[错误] [错误] 更正问题后,您可以使用命令 [错误] mvn -rf
恢复构建:
ugs-吊坠

关于做什么的任何想法?

发布建筑 ugs-pendant(与已关闭的问题 #1263
合作者

@cebess我没有得到任何回应@rickromkey.

如果从源目录运行它,输出是什么:git log --pretty=format:"%cn - %s - %h on %cd" | head -10

发布建筑 ugs-pendant(与已关闭的问题 #1263
女主 评论了 2019 年 10 月 11 日  

顺便说一句,输出来自:
git log –pretty=format:”%cn – %s – %h on %cd” | 头-10

是:
GitHub -来自 breiler/feature/gcodeeditor 的合并拉取请求#1280 – cacd709,2019年 10 月 8 日星期二 20:13:56 +0200
Joacim Breiler – 修复了未定义移动时 npe:s 的错误。- 2019 年 10 月 8 日星期二 20:02:42 7a36064 +0200 Joacim
Breiler – 移回显示编辑器的菜单项。修复了在可视化工具中突出显示错误命令的问题 – 965c9b2 on Tue Oct 8 18:53:05 2019 +0200
Joacim Breiler – 修复了行高亮器在编辑器中不起作用的问题。- c25e6d8 2019 年 10 月 8 日星期二 15:43:58 +0200
Joacim Breiler – 代码审查后的一些清理 – f4c0034 2019 年 10 月 7 日星期一 20:28:03 +0200
Joacim Breiler – 固定版本号 – 6b30a11 on Sun Oct 6 20:48:05 2019 +0200
Joacim Breiler – 固定测试 – 6eceef9 on Sun Oct 6 20:38:42 2019 +0200
Joacim Breiler – 添加了一些 javadoc – fd4b276 on Sun Oct 6 20:31:41 2019 +0200
Joacim Breiler – 添加语法荧光笔 – 45ad03c on Sun Oct 6 20:23:20 2019 +0200
Joacim Breiler – 使用默认颜色,删除未使用的代码。- 77caaaa 2019 年 10 月 5 日星期六 20:16:33 +0200

发布建筑 ugs-pendant(与已关闭的问题 #1263
女主 评论了 2019 年 10 月 11 日 通过电子邮件
发布建筑 ugs-pendant(与已关闭的问题 #1263
合作者

抱歉,我无法重现此错误。我认为您最好的选择是从https://github.com/winder/Universal-G-Code-Sender#downloads下载构建

或者在另一台计算机上构建它并将其上传ugs-platform/application/target/ugs-platform-app-2.0-SNAPSHOT.zip或上传ugs-classic/target/UniversalGcodeSender.jar到 Pi。

发布建筑 ugs-pendant(与已关闭的问题 #1263

我相信这是我使用命令获得它的地方:
git clone https://github.com/winder/Universal-G-Code-sender

我会尝试从浏览器下载它?!?

发布建筑 ugs-pendant(与已关闭的问题 #1263
合作者

您无需下载代码并自行构建,只需下载其中一个预构建包,解压并运行即可。

你会在这里找到一些说明:https ://github.com/winder/Universal-G-Code-Sender/wiki/Raspberry-Pi

发布建筑 ugs-pendant(与已关闭的问题 #1263
女主 评论了 2019 年 10 月 11 日 通过电子邮件