gluon - iOS simulator - error downloading zips - ios-simulator

I'm trying to use the gluon iOS-simulator on my Mac (Catalina 10.15.4), using the maven-client-plugin, but I can't get past the man client:compile stage. When I run that, I get the following error in the log file:
[Wed May 06 10:47:01 EDT 2020][INFO] ==================== COMPILE TASK ====================
[Wed May 06 10:47:01 EDT 2020][FINE] PB Command for check version: /Users/bobyetman/graalvm-svm-darwin-20.1.0-ea+26/bin/java -version
[Wed May 06 10:47:01 EDT 2020][FINE] Start process check version...
[Wed May 06 10:47:02 EDT 2020][FINE] [SUB] openjdk version "11.0.5" 2019-10-15
[Wed May 06 10:47:02 EDT 2020][FINE] [SUB] OpenJDK Runtime Environment (build 11.0.5+10-jvmci-19.3-b05-LTS)
[Wed May 06 10:47:02 EDT 2020][FINE] [SUB] OpenJDK 64-Bit Server VM GraalVM 20.1.0-dev (build 11.0.5+10-jvmci-19.3-b05-LTS, mixed mode, sharing)
[Wed May 06 10:47:02 EDT 2020][FINE] Result for check version: 0
[Wed May 06 10:47:02 EDT 2020][INFO] We will now compile your code for x86_64-apple-ios. This may take some time.
[Wed May 06 10:47:02 EDT 2020][FINE] Processing JavaStatic dependencies at /Users/bobyetman/.gluon/substrate/javaStaticSdk/15-ea+2/ios-x86_64/labs-staticjdk/lib/static
[Wed May 06 10:47:02 EDT 2020][FINE] Processing JavaFXStatic dependencies at /Users/bobyetman/.gluon/substrate/javafxStaticSdk/15-ea+gvm16/ios-x86_64/sdk/lib
[Wed May 06 10:47:02 EDT 2020][INFO] Downloading Java Static Libs...
[Wed May 06 10:47:02 EDT 2020][FINE] Processing zip file: url = https://download2.gluonhq.com/substrate/staticjdk/labs-staticjdk-ios-x86_64-gvm-15-ea+2.zip, zip = /Users/bobyetman/.gluon/substrate/labs-staticjdk-ios-x86_64-gvm-15-ea+2.zip, subDir = javaStaticSdk, levels = [15-ea+2, ios-x86_64], md5 = javaStaticSdk-ios-x86_64.md5
[Wed May 06 10:47:02 EDT 2020][SEVERE] Downloading failed: https://download2.gluonhq.com/substrate/staticjdk/labs-staticjdk-ios-x86_64-gvm-15-ea+2.zip
the pom is fairly plain:
<plugin>
<groupId>com.gluonhq</groupId>
<artifactId>client-maven-plugin</artifactId>
<version>0.1.21</version>
<configuration>
<target>ios-sim</target>
<mainClass>com.boby.ClosedKnightFX</mainClass>
<graalvmHome>/Users/bobyetman/graalvm-svm-darwin-20.1.0-ea+26</graalvmHome>
</configuration>
I've cut and pasted the URL to the zip file into my browser, and it says 'file not found'. If I take out the target, and I can run the app on my Mac, it builds, links, and runs.
Suggestions?

Related

MAMP server not working after OS Sierra update

I recently updated to the latest version of macOS and can't get an old MAMP-dependent project I have to run. It was working fine right before I upgraded. I googled my way around thinking the upgrade might be something simple like the previous OS upgrade fix that required simply renaming the file but I couldn't fine anything.
Has anyone else had any MAMP issues with the latest macOS update or what are some common local environment fixes to look into after an OS update?
apache_error_log:
[Sun Nov 27 17:40:12 2016] [notice] FastCGI: process manager initialized (pid 2517)
[Sun Nov 27 17:40:12 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 17:40:12 2016] [notice] Digest: done
[Sun Nov 27 17:40:13 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Sun Nov 27 18:41:25 2016] [notice] caught SIGTERM, shutting down
[Sun Nov 27 18:41:34 2016] [notice] FastCGI: process manager initialized (pid 2928)
[Sun Nov 27 18:41:34 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 27 18:41:34 2016] [notice] Digest: done
[Sun Nov 27 18:41:35 2016] [notice] Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 DAV/2 mod_ssl/2.2.26 OpenSSL/0.9.8zh mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
I was also having trouble with MAMP after having upgraded the Mac operating system to the High Sierra. The Apache Server was not starting. My MAMP is an old version (version 1.9). To solve I just created a folder called logs inside the Library folder. Only that and MAMP returned to normal operation.
I found this solution by seeing in the logs folder. In the Apache log (apache_error_log) I saw that it was looking for the "logs" folder inside the "Library" folder, which did not exist. So just creating this folder solved.

Strange 500 error localhost WordPress install

Ok so this happened to me the other day and I was able to resolve it by reinstalling WordPress, my WordPress theme and all of its plugins (took forever)
It has now happened again so I need to get to the root of the issue.
I have a website running on my localhost (using MAMP)
When I visit localhost:8888/ I am able to access my entire file directory.
All other sites on my localhost are loading without issue, except for the site I need to access. I am getting a 500 error in the browser.
When I enable WP Debug it doesn't change from the 500 error in the browser.
I have not modified this site in any way to cause this issue, it literally just randomly bricks itself. The same thing happened before to the exact same site.
I have gone through a ton of guides and am completely lost at what is causing the issue.
Would really appreciate some help troubleshooting.
This is my latest error log from apache.
[Tue Jul 05 14:43:49 2016] [notice] caught SIGTERM, shutting down
[Tue Jul 05 14:43:52 2016] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 05 14:43:52 2016] [notice] Digest: done
[Tue Jul 05 14:43:52 2016] [notice] FastCGI: process manager initialized (pid 1372)
[Tue Jul 05 14:43:52 2016] [notice] Apache/2.2.29 (Unix) mod_wsgi/3.4 Python/2.7.8 PHP/5.5.23 mod_ssl/2.2.29 OpenSSL/0.9.8zh DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Tue Jul 05 14:44:05 2016] [notice] caught SIGTERM, shutting down
[Tue Jul 05 14:44:07 2016] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 05 14:44:07 2016] [notice] Digest: done
[Tue Jul 05 14:44:07 2016] [notice] FastCGI: process manager initialized (pid 1414)
[Tue Jul 05 14:44:07 2016] [notice] Apache/2.2.29 (Unix) mod_wsgi/3.4 Python/2.7.8 PHP/5.6.7 mod_ssl/2.2.29 OpenSSL/0.9.8zh DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.8 Perl/v5.20.0 configured -- resuming normal operations
[Tue Jul 05 16:48:35 2016] [error] [client ::1] client denied by server configuration: /Users/brettgolding/Google Drive/htdocs/.DS_Store

hubot shell not loading scripts and packages

Hubot works when I have an adapter, but when I try to do local development using Shell none of the scripts or packages are loaded.
This works:
root#dev:~/hubot# bin/hubot forever start -w --watchDirectory ${PWD} --watchIgnore ${PWD}/*.log --pidfile ${PWD}/hubot.pid -l ${PWD}/hubot.log -a -c coffee node_modules/.bin/hubot --adapter slack
Strangely, when I try to do local development and testing with:
root#dev:~/hubot# bin/hubot
[Thu Apr 07 2016 00:33:10 GMT+0000 (UTC)] INFO hubot-redis-brain: Using default redis on localhost:6379
eve>
eve> help
usage:
history
exit, \q - close shell and exit
help, \? - print this usage
clear, \c - clear the terminal screen
None of my scripts or modules are showing when I type help in shell. But when I do this in slack, I see all the available scripts and modules:
eve <user> doesn't have <role> role - Removes a role from a user
eve <user> has <role> role - Assigns a role to a user
eve adapter - Reply with the adapter
eve delete reminder <action> - Delete reminder matching <action> (exact match required)
eve deploy <gitsha> to production - Runs Jenkins Phase 1 deployment.
eve echo <text> - Reply back with <text>
eve flip production pools - Flips the yin and yang production pools
eve help - Displays all of the help commands that Hubot knows about.
eve help <query> - Displays all help commands that match <query>.
eve list jobs - List current cron jobs
eve new job "<crontab format>" <message> - Schedule a cron job to say something
eve new job <crontab format> "<message>" - Ditto
eve new job <crontab format> say <message> - Ditto
eve ping - Reply with pong
** Update 1: I turned on debug level logging, and I can see the scripts are being parsed, but the scripts aren't available to me when executing their commands :(**
[Thu Apr 07 2016 00:46:44 GMT+0000 (UTC)] DEBUG Loading adapter shell
eve> [Thu Apr 07 2016 00:46:44 GMT+0000 (UTC)] DEBUG Loading scripts
from /root/hubot/scripts [Thu Apr 07 2016 00:46:44 GMT+0000 (UTC)]
DEBUG Parsing help for /root/hubot/scripts/example.coffee [Thu Apr 07
2016 00:46:44 GMT+0000 (UTC)] DEBUG Parsing help for
/root/hubot/scripts/prod_deploy.coffee [Thu Apr 07 2016 00:46:44
GMT+0000 (UTC)] DEBUG Parsing help for
/root/hubot/scripts/remindme.coffee [Thu Apr 07 2016 00:46:44 GMT+0000
(UTC)] DEBUG Parsing help for /root/hubot/scripts/team_tools.coffee
[Thu Apr 07 2016 00:46:44 GMT+0000 (UTC)] DEBUG Parsing help for
/root/hubot/scripts/update.coffee [Thu Apr 07 2016 00:46:44 GMT+0000
(UTC)] DEBUG Loading scripts from /root/hubot/src/scripts [Thu Apr 07
2016 00:46:44 GMT+0000 (UTC)] DEBUG Loading hubot-scripts from
/root/hubot/node_modules/hubot-scripts/src/scripts [Thu Apr 07 2016
00:46:44 GMT+0000 (UTC)] DEBUG Loading external-scripts from npm
packages [Thu Apr 07 2016 00:46:45 GMT+0000 (UTC)] DEBUG Parsing help
for /root/hubot/node_modules/hubot-diagnostics/src/diagnostics.coffee
[Thu Apr 07 2016 00:46:45 GMT+0000 (UTC)] INFO hubot-redis-brain:
Using default redis on localhost:6379 [Thu Apr 07 2016 00:46:45
GMT+0000 (UTC)] DEBUG Parsing help for
/root/hubot/node_modules/hubot-redis-brain/src/redis-brain.coffee [Thu
Apr 07 2016 00:46:45 GMT+0000 (UTC)] DEBUG Parsing help for
/root/hubot/node_modules/hubot-auth/src/auth.coffee [Thu Apr 07 2016
00:46:45 GMT+0000 (UTC)] DEBUG Parsing help for
/root/hubot/node_modules/hubot-help/src/help.coffee [Thu Apr 07 2016
00:46:45 GMT+0000 (UTC)] DEBUG Parsing help for
/root/hubot/node_modules/hubot-cron/src/scripts/cron.coffee
Update 2: I realized part of my problem was that in the bin/hubot file explicitly has my bot name as eve, while I have been trying it with evedev, my development hubot name. However, I'm still wondering why the help command does not show all the available commands, but when I'm in Slack, it does.
As answer to your Update 2, you need to put the bot's name before you type help, like this:
myhubot> help
usage:
history
exit, \q - close shell and exit
help, \? - print this usage
clear, \c - clear the terminal screen
vs
myhubot> myhubot help
myhubot> Shell: myhubot adapter - Reply with the adapter
myhubot animate me <query> - The same thing as `image me`, except adds a few parameters to try to return an animated GIF instead.
myhubot echo <text> - Reply back with <text>
myhubot help - Displays all of the help commands that Hubot knows about.
myhubot help <query> - Displays all help commands that match <query>.
myhubot image me <query> - The Original. Queries Google Images for <query> and returns a random top result.
myhubot map me <query> - Returns a map view of the area returned by `query`.
myhubot mustache me <url|query> - Adds a mustache to the specified URL or query result.
myhubot ping - Reply with pong
myhubot pug bomb N - get N pugs
myhubot pug me - Receive a pug
myhubot the rules - Make sure hubot still knows the rules.
myhubot time - Reply with current time
myhubot translate me <phrase> - Searches for a translation for the <phrase> and then prints that bad boy out.
myhubot translate me from <source> into <target> <phrase> - Translates <phrase> from <source> into <target>. Both <source> and <target> are optional
ship it - Display a motivation squirrel
You can check your current robot name in bin/hubot
Looks like exec node_modules/.bin/hubot --name "botname" "$#"
With above setting the bot name will be botname

Meteor deploy only half works, with no error messages

I'm using meteor deploy with a little test app, and I'm finding that it sort of works, but doesn't complain about anything in the logs, so I'm not sure what to do next.
For example, the home page doesn't render, while accounts-entry is able to render only the password field of the sign-up page (not the email one)! It's really quite weird.
I'm using the npm package to include a node module, however removing this doesn't seem to make any difference.
I'm not sure where to look next to debug this?
The code is here:
https://github.com/jimmytidey/observatory
The app is here:
http://test_observatory.meteor.com
The logs look absolutely normal I think:
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT / 46.65.36.129
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT /f1db89943c1358003f76977ed6df57e9adf2aaa2.css 46.65.36.129
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT /537d85f650bdfb82439bc7d0c9e073f7b16684d6.js 46.65.36.129
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT /f1db89943c1358003f76977ed6df57e9adf2aaa2.css 46.65.36.129
[Sun Jan 05 2014 11:08:00 GMT+0000 (UTC)] INFO HIT /537d85f650bdfb82439bc7d0c9e073f7b16684d6.js 46.65.36.129
[Sun Jan 05 2014 11:08:48 GMT+0000 (UTC)] INFO HIT / 46.65.36.129
[Sun Jan 05 2014 11:08:53 GMT+0000 (UTC)] INFO HIT /sign-in 46.65.36.129
[Sun Jan 05 2014 11:08:59 GMT+0000 (UTC)] INFO HIT /sign-up 46.65.36.129
[Sun Jan 05 2014 11:09:34 GMT+0000 (UTC)] INFO HIT / 46.65.36.129
[Sun Jan 05 2014 11:09:39 GMT+0000 (UTC)] INFO HIT /sign-up 46.65.36.129
[Sun Jan 05 2014 11:10:51 GMT+0000 (UTC)] INFO HIT /_GALAXY_ 46.65.36.129
The errors seem to be on the client side, see the javascript console on your browser while visiting the page.
Errors with meteor logs only display the errors on the server side
The error seems to be a misspelling in Template.coffee for the word Template. (See https://github.com/jimmytidey/Observatory/blob/master/client/views/home/home.coffee#L1). I sent you a PR too.
This syntax error stops all of the code after it from running. This is why the router does not register its routes and nothing appears on the screen.
Silly typo ;-)

Cannot access Wordpress dashboard through WAMP

I can access the actual wordpress site via WAMP's localhost route, but I cannot log into the admin/dashboard page of the wordpress site.
I think it is a problem with apache.
Can anybody help me?
here are messages from the apache error logs:
[Sun Nov 03 07:11:17.294107 2013] [mpm_winnt:notice] [pid 2700:tid 416] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 03 07:11:19.296221 2013] [mpm_winnt:notice] [pid 5784:tid 324] AH00364: Child: All worker threads have exited.
[Sun Nov 03 07:11:19.328223 2013] [mpm_winnt:notice] [pid 2700:tid 416] AH00430: Parent: Child process 5784 exited successfully.
[Sun Nov 03 07:11:22.842424 2013] [mpm_winnt:notice] [pid 5408:tid 416] AH00455: Apache/2.4.4 (Win32) PHP/5.4.16 configured -- resuming normal operations
[Sun Nov 03 07:11:22.842424 2013] [mpm_winnt:notice] [pid 5408:tid 416] AH00456: Server built: Feb 23 2013 13:07:34
[Sun Nov 03 07:11:22.842424 2013] [core:notice] [pid 5408:tid 416] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Sun Nov 03 07:11:22.844424 2013] [mpm_winnt:notice] [pid 5408:tid 416] AH00418: Parent: Created child process 4348
[Sun Nov 03 07:11:24.173500 2013] [mpm_winnt:notice] [pid 4348:tid 324] AH00354: Child: Starting 150 worker threads.
More info:
The error is not a 404. Rather wordpress doesnt recognize my username/password.
final edit:
found a solution to my problem:
http://www.velvetblues.com/web-development-blog/how-to-add-an-admin-user-to-a-wordpress-database/

Resources