How can I downgrade the DifferentialEquations package to version 6.0 (or earlier), such that all depending packages also downgrade if they require a version that is > 6.0?
Just ask the package manager to do so with an add DifferentialEquations#v6.0 at the pkg> prompt. It'll automatically handle the dependencies. Remember, you can enter the package manager prompt by typing ] at the REPL. Here's an example from me doing so in an active project of mine with lots of dependencies installed:
(LocalEnvironment) pkg> status
Project LocalEnvironment v0.1.9
Status `~/Projects/LocalEnvironment/Project.toml`
[6e4b80f9] BenchmarkTools v0.5.0
[a134a8b2] BlackBoxOptim v0.5.0
[336ed68f] CSV v0.8.2
[be33ccc6] CUDAnative v3.2.0
[3a865a2d] CuArrays v2.2.2
[a93c6f00] DataFrames v0.22.4
[071ae1c0] DiffEqGPU v1.3.0
[0c46a032] DifferentialEquations v6.16.0
[f6369f11] ForwardDiff v0.10.15
[0c68f7d7] GPUArrays v3.4.1
[033835bb] JLD2 v0.3.2
[2ee39098] LabelledArrays v1.4.0
[961ee093] ModelingToolkit v3.20.1
[429524aa] Optim v1.2.3
[1dea7af3] OrdinaryDiffEq v5.42.3
[f3b207a7] StatsPlots v0.14.17
[9672c7b4] SteadyStateDiffEq v1.6.0
[c3572dad] Sundials v4.2.6
[6fc51010] Surrogates v1.5.0
[10745b16] Statistics
(LocalEnvironment) pkg> add DifferentialEquations#v6.0
Resolving package versions...
Updating `~/Projects/LocalEnvironment/Project.toml`
[be33ccc6] ↓ CUDAnative v3.2.0 ⇒ v2.10.2
[3a865a2d] ↓ CuArrays v2.2.2 ⇒ v1.7.3
[a93c6f00] ↓ DataFrames v0.22.4 ⇒ v0.21.8
[071ae1c0] ↓ DiffEqGPU v1.3.0 ⇒ v0.3.0
[0c46a032] ↓ DifferentialEquations v6.16.0 ⇒ v6.0.0
[0c68f7d7] ↓ GPUArrays v3.4.1 ⇒ v2.0.1
[033835bb] ↓ JLD2 v0.3.2 ⇒ v0.1.14
[2ee39098] ↓ LabelledArrays v1.4.0 ⇒ v1.1.0
[961ee093] ↓ ModelingToolkit v3.20.1 ⇒ v0.8.0
[429524aa] ↓ Optim v1.2.3 ⇒ v0.20.1
[1dea7af3] ↓ OrdinaryDiffEq v5.42.3 ⇒ v5.13.0
[f3b207a7] ↓ StatsPlots v0.14.17 ⇒ v0.14.5
[9672c7b4] ↓ SteadyStateDiffEq v1.6.0 ⇒ v1.5.0
[c3572dad] ↓ Sundials v4.2.6 ⇒ v3.7.0
Updating `~/Projects/Pfizer/LeucineModel/Manifest.toml`
[c3fe647b] - AbstractAlgebra v0.11.2
[4fba245c] ↓ ArrayInterface v2.14.17 ⇒ v0.1.1
[4c555306] ↓ ArrayLayouts v0.3.8 ⇒ v0.1.5
[aae01518] ↓ BandedMatrices v0.15.15 ⇒ v0.14.3
[9e28174c] + BinDeps v1.0.2
[8e7c35d0] ↓ BlockArrays v0.12.11 ⇒ v0.10.2
[ffab5731] + BlockBandedMatrices v0.6.0
[764a87c0] ↓ BoundaryValueDiffEq v2.7.1 ⇒ v2.3.0
[6e34b625] - Bzip2_jll v1.0.6+5
[fa961155] ↓ CEnum v0.3.0 ⇒ v0.2.0
[3895d2a7] ↓ CUDAapi v4.0.0 ⇒ v3.1.0
[c5f51814] ↓ CUDAdrv v6.3.0 ⇒ v6.0.0
[be33ccc6] ↓ CUDAnative v3.2.0 ⇒ v2.10.2
[83423d85] - Cairo_jll v1.16.0+6
[49dc2e85] + Calculus v0.5.1
[324d7699] ↓ CategoricalArrays v0.9.0 ⇒ v0.8.3
[082447d4] - ChainRules v0.6.5
[d360d2e6] - ChainRulesCore v0.8.1
[8bab3169] + ChunkedArrays v0.1.1
[aaaa29a8] ↓ Clustering v0.14.2 ⇒ v0.13.5
[da1fd8a2] - CodeTracking v1.0.5
[944b1d66] ↓ CodecZlib v0.7.0 ⇒ v0.6.0
[35d6a980] - ColorSchemes v3.10.2
[3da002f7] ↓ ColorTypes v0.10.9 ⇒ v0.9.1
[5ae59095] ↓ Colors v0.12.6 ⇒ v0.11.2
[34da2185] ↓ Compat v3.25.0 ⇒ v2.2.1
[88cd18e8] - ConsoleProgressMonitor v0.1.2
[187b0558] - ConstructionBase v1.0.0
[a8cc5b0e] - Crayons v4.0.4
[f68482b8] - Cthulhu v1.6.1
[3a865a2d] ↓ CuArrays v2.2.2 ⇒ v1.7.3
[a93c6f00] ↓ DataFrames v0.22.4 ⇒ v0.21.8
[bcd4f6db] ↓ DelayDiffEq v5.24.1 ⇒ v5.12.0
[2b5f629d] ↓ DiffEqBase v6.44.3 ⇒ v5.16.5
[459566f4] ↓ DiffEqCallbacks v2.13.5 ⇒ v2.7.0
[01453d9d] + DiffEqDiffTools v0.14.0
[5a0ffddc] ↓ DiffEqFinancial v2.4.0 ⇒ v2.1.0
[071ae1c0] ↓ DiffEqGPU v1.3.0 ⇒ v0.3.0
[c894b116] ↓ DiffEqJump v6.10.0 ⇒ v6.2.2
[78ddff82] + DiffEqMonteCarlo v0.15.1
[77a26b50] ↓ DiffEqNoiseProcess v5.5.1 ⇒ v3.3.1
[9fdde737] + DiffEqOperators v3.5.0
[34035eb4] + DiffEqPDEBase v0.4.0
[055956cb] ↓ DiffEqPhysics v3.9.0 ⇒ v3.2.0
[b552c78f] ↓ DiffRules v1.0.2 ⇒ v0.1.0
[0c46a032] ↓ DifferentialEquations v6.16.0 ⇒ v6.0.0
[c619ae07] ↓ DimensionalPlotRecipes v1.2.0 ⇒ v0.2.0
[b4f34e82] ↓ Distances v0.9.2 ⇒ v0.8.2
[31c24e10] ↓ Distributions v0.23.8 ⇒ v0.21.12
[5ae413db] - EarCut_jll v2.1.5+1
[da5c29d0] + EllipsisNotation v0.4.0
[2e619515] - Expat_jll v2.2.7+6
[d4d017d3] ↓ ExponentialUtilities v1.8.0 ⇒ v1.6.0
[e2ba6199] - ExprTools v0.1.3
[c87230d0] ↓ FFMPEG v0.4.0 ⇒ v0.2.4
[b22a6f82] - FFMPEG_jll v4.3.1+4
[9aa1b823] - FastClosures v0.3.2
[5789e2e9] + FileIO v1.4.5
[6a86dc24] - FiniteDiff v2.7.2
[53c48c17] ↓ FixedPointNumbers v0.8.4 ⇒ v0.6.1
[587475ba] ↓ Flux v0.10.4 ⇒ v0.10.3
[1eca21be] - FoldingTrees v1.0.1
[a3f928ae] - Fontconfig_jll v2.13.1+14
[59287772] - Formatting v0.4.2
[d7e528f0] - FreeType2_jll v2.10.1+5
[559328eb] - FriBidi_jll v1.0.5+6
[0656b61e] - GLFW_jll v3.3.2+1
[0c68f7d7] ↓ GPUArrays v3.4.1 ⇒ v2.0.1
[61eb1bfa] - GPUCompiler v0.2.0
[28b8d3ca] ↓ GR v0.53.0 ⇒ v0.44.92
[d2c73de3] - GR_jll v0.53.0+0
[01680d73] ↓ GenericSVD v0.3.0 ⇒ v0.2.2
[5c1252a2] - GeometryBasics v0.3.8
[4d00f742] + GeometryTypes v0.7.10
[78b55507] - Gettext_jll v0.20.1+7
[7746bdde] - Glib_jll v2.59.0+4
[cd3eb016] - HTTP v0.8.19
[7869d1d1] ↓ IRTools v0.4.2 ⇒ v0.3.3
[615f187c] - IfElse v0.1.0
[83e8ac13] - IniFile v0.5.0
[a98d9a8b] ↓ Interpolations v0.13.1 ⇒ v0.12.10
[c8e1da08] - IterTools v1.3.0
[033835bb] ↓ JLD2 v0.3.2 ⇒ v0.1.14
[aacddb02] - JpegTurbo_jll v2.0.1+3
[5ab0869b] ↓ KernelDensity v0.6.2 ⇒ v0.5.1
[c1c5ebd0] - LAME_jll v3.100.0+3
[dd4b983a] - LZO_jll v2.10.0+3
[b964fa9f] - LaTeXStrings v1.2.0
[2ee39098] ↓ LabelledArrays v1.4.0 ⇒ v1.1.0
[23fbe1c1] - Latexify v0.14.7
[1d6d02ad] - LeftChildRightSiblingTrees v0.1.2
[dd192d2f] - LibVPX_jll v1.9.0+1
[e9f186c6] - Libffi_jll v3.2.1+4
[d4300ac3] - Libgcrypt_jll v1.8.5+4
[7e76a0d4] - Libglvnd_jll v1.3.0+3
[7add5ba3] - Libgpg_error_jll v1.36.0+3
[94ce4f54] - Libiconv_jll v1.16.0+7
[4b2f31a3] - Libmount_jll v2.34.0+3
[89763e89] - Libtiff_jll v4.1.0+2
[38a345b3] - Libuuid_jll v2.34.0+7
[e6f89c97] - LoggingExtras v0.4.4
[d00139f3] - METIS_jll v5.1.0+5
[a3b82374] + MatrixFactorizations v0.2.1
[739be429] - MbedTLS v1.0.3
[c8ffd9c3] - MbedTLS_jll v2.16.8+1
[961ee093] ↓ ModelingToolkit v3.20.1 ⇒ v0.8.0
[f9640e96] ↓ MultiScaleArrays v1.8.1 ⇒ v1.5.0
[d41bc354] ↓ NLSolversBase v7.7.1 ⇒ v7.5.0
[b8a86587] ↓ NearestNeighbors v0.4.8 ⇒ v0.4.4
[e7412a2a] - Ogg_jll v1.3.4+2
[458c3c95] - OpenSSL_jll v1.1.1+6
[efe28fd5] - OpenSpecFun_jll v0.5.3+4
[429524aa] ↓ Optim v1.2.3 ⇒ v0.20.1
[91d4177d] - Opus_jll v1.3.1+3
[1dea7af3] ↓ OrdinaryDiffEq v5.42.3 ⇒ v5.13.0
[2f80f16e] - PCRE_jll v8.42.0+4
[90014a1f] ↓ PDMats v0.10.1 ⇒ v0.9.12
[65888b18] - ParameterizedFunctions v5.6.0
[d96e819e] ↓ Parameters v0.12.2 ⇒ v0.11.0
[30392449] - Pixman_jll v0.40.0+0
[ccf2f8ad] ↓ PlotThemes v2.0.0 ⇒ v1.0.3
[995b91a9] ↓ PlotUtils v1.0.10 ⇒ v0.6.5
[91a5bcdd] ↓ Plots v1.10.2 ⇒ v0.28.4
[8d666b04] ↓ PolyChaos v0.2.3 ⇒ v0.2.1
[08abe8d2] - PrettyTables v0.11.0
[33c8b6b6] - ProgressLogging v0.1.4
[92933f4c] - ProgressMeter v1.4.1
[ede63266] - Qt_jll v5.15.2+1
[74087812] - Random123 v1.3.1
[fb686558] - RandomExtensions v0.4.3
[3cdcf5f2] ↓ RecipesBase v1.1.1 ⇒ v0.7.0
[01d81517] - RecipesPipeline v0.2.1
[731186ca] ↓ RecursiveArrayTools v2.10.0 ⇒ v0.20.0
[ae029012] ↓ Requires v1.1.2 ⇒ v0.5.2
[f2b01f46] ↓ Roots v1.0.7 ⇒ v0.8.4
[1bc83da4] - SafeTestsets v0.0.1
[6c6a2e73] - Scratch v1.0.3
[47a9eef4] ↓ SparseDiffTools v1.12.0 ⇒ v0.6.0
[276daf66] ↓ SpecialFunctions v0.10.3 ⇒ v0.8.0
[90137ffa] ↓ StaticArrays v0.12.5 ⇒ v0.11.1
[2913bbd2] ↓ StatsBase v0.33.2 ⇒ v0.32.2
[f3b207a7] ↓ StatsPlots v0.14.17 ⇒ v0.14.5
[9672c7b4] ↓ SteadyStateDiffEq v1.6.0 ⇒ v1.5.0
[8188c328] ↓ Stheno v0.6.6 ⇒ v0.6.1
[789caeaf] ↓ StochasticDiffEq v6.25.0 ⇒ v6.7.0
[09ab397b] - StructArrays v0.4.4
[bea87d4a] - SuiteSparse_jll v5.4.0+9
[c3572dad] ↓ Sundials v4.2.6 ⇒ v3.7.0
[fb77eaff] - Sundials_jll v5.2.0+1
[d1185830] - SymbolicUtils v0.5.2
[ab02a1b2] ↓ TableOperations v0.3.0 ⇒ v0.2.1
[5d786b92] - TerminalLoggers v0.1.3
[30578b45] + URIParser v0.4.1
[1986cc42] - Unitful v1.5.0
[0e69188a] + VectorizedRoutines v0.1.0
[a2964d1f] - Wayland_jll v1.17.0+4
[2381bf8a] - Wayland_protocols_jll v1.18.0+4
[02c8fc9c] - XML2_jll v2.9.10+3
[aed1982a] - XSLT_jll v1.1.33+4
[4f6342f7] - Xorg_libX11_jll v1.6.9+4
[0c0b7dd1] - Xorg_libXau_jll v1.0.9+4
[935fb764] - Xorg_libXcursor_jll v1.2.0+4
[a3789734] - Xorg_libXdmcp_jll v1.1.3+4
[1082639a] - Xorg_libXext_jll v1.3.4+4
[d091e8ba] - Xorg_libXfixes_jll v5.0.3+4
[a51aa0fd] - Xorg_libXi_jll v1.7.10+4
[d1454406] - Xorg_libXinerama_jll v1.1.4+4
[ec84b674] - Xorg_libXrandr_jll v1.5.2+4
[ea2f1a96] - Xorg_libXrender_jll v0.9.10+4
[14d82f49] - Xorg_libpthread_stubs_jll v0.1.0+3
[c7cfdc94] - Xorg_libxcb_jll v1.13.0+3
[cc61e674] - Xorg_libxkbfile_jll v1.1.0+4
[12413925] - Xorg_xcb_util_image_jll v0.4.0+1
[2def613f] - Xorg_xcb_util_jll v0.4.0+1
[975044d2] - Xorg_xcb_util_keysyms_jll v0.4.0+1
[0d47668e] - Xorg_xcb_util_renderutil_jll v0.3.9+1
[c22f9ab0] - Xorg_xcb_util_wm_jll v0.4.1+1
[35661453] - Xorg_xkbcomp_jll v1.4.2+4
[33bec58e] - Xorg_xkeyboard_config_jll v2.27.0+4
[c5fb5394] - Xorg_xtrans_jll v1.4.0+3
[3161d3a3] - Zstd_jll v1.4.5+2
[e88e6eb3] ↓ Zygote v0.4.22 ⇒ v0.4.20
[0ac62f75] - libass_jll v0.14.0+4
[f638f0a6] - libfdk_aac_jll v0.1.6+4
[b53b4c65] - libpng_jll v1.6.37+6
[f27f6e37] - libvorbis_jll v1.3.6+6
[1270edf5] - x264_jll v2020.7.14+2
[dfaa095f] - x265_jll v3.0.0+3
[d8fb68d0] - xkbcommon_jll v0.9.1+5
Related
I try to install symfony only after i enter my things like database and smtp data then comes an error:
In Process.php line 143:
[TypeError]
Symfony\Component\Process\Process::__construct(): Argument #1 ($command) mu
st be of type array, string given, called in /home/esbdkig/test.pluginstube
.net/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Com
poser/ScriptHandler.php on line 342
Exception trace:
at phar:///home/esbdkig/composer.phar/vendor/symfony/process/Process.php:143
Symfony\Component\Process\Process->__construct() at /home/esbdkig/test.pluginstube.net/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php:342
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap() at /home/esbdkig/test.pluginstube.net/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php:82
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap() at phar:///home/esbdkig/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:386
Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at phar:///home/esbdkig/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:246
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///home/esbdkig/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:107
Composer\EventDispatcher\EventDispatcher->dispatch() at phar:///home/esbdkig/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:226
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///home/esbdkig/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:123
Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///home/esbdkig/composer.phar/src/Composer/Installer.php:374
Composer\Installer->run() at phar:///home/esbdkig/composer.phar/src/Composer/Command/CreateProjectCommand.php:263
Composer\Command\CreateProjectCommand->installProject() at phar:///home/esbdkig/composer.phar/src/Composer/Command/CreateProjectCommand.php:171
Composer\Command\CreateProjectCommand->execute() at phar:///home/esbdkig/composer.phar/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at phar:///home/esbdkig/composer.phar/vendor/symfony/console/Application.php:1028
Symfony\Component\Console\Application->doRunCommand() at phar:///home/esbdkig/composer.phar/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at phar:///home/esbdkig/composer.phar/src/Composer/Console/Application.php:375
Composer\Console\Application->doRun() at phar:///home/esbdkig/composer.phar/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///home/esbdkig/composer.phar/src/Composer/Console/Application.php:139
Composer\Console\Application->run() at phar:///home/esbdkig/composer.phar/bin/composer:88
require() at /home/esbdkig/composer.phar:29
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]
Console IMAGE
Can someone please help me
I have tried to install it as it is described here https://docs.ovh.com/de/hosting/composer-installieren-hosting/](https://docs.ovh.com/de/hosting/composer-installieren-hosting/)
I've been stuck on this error for long time. When i try to create ios build (expo run:ios) i get this error. Below is more detail from this error.
❌ (node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:91:51)
89 |
90 | // Listen for data messages in the foreground
> 91 | - (void)applicationReceivedRemoteMessage:(nonnull FIRMessagingRemoteMessage *)remoteMessage {
| ^ expected a type
92 | NSDictionary *message = [self parseFIRMessagingRemoteMessage:remoteMessage];
93 | [self sendJSEvent:self name:MESSAGING_MESSAGE_RECEIVED body:message];
94 | }
Package Versions:
I'm using,
-Expo 45.0.0
-Cocoapods 1.11.3,
-#react-native-firebase/app": "^16.4.6",
-#react-native-firebase/messaging": "^16.4.6",
From podfile.lock
- Firebase/Core (10.2.0):
- Firebase/CoreOnly
- FirebaseAnalytics (~> 10.2.0)
- Firebase/CoreOnly (10.2.0):
- FirebaseCore (= 10.2.0)
- Firebase/Messaging (10.2.0):
- Firebase/CoreOnly
- FirebaseMessaging (~> 10.2.0)
- FirebaseAnalytics (10.2.0):
- FirebaseAnalytics/AdIdSupport (= 10.2.0)
- FirebaseCore (~> 10.0)
- FirebaseInstallations (~> 10.0)
The iOS app is working fine when we download and install from testflight if I generate that app from Xcode 9.1 and MacOS 10.13.6(High Sierra)and uploaded to testflight.I have opened the same code from Xcode 11.3 on latest MacOS Catalina and generated iPA and uploaded to the testflight using proper distribution certificate. I was able to download and install app but app is crashing during app launch.
Please suggest me what could be the reason for this issue. I am adding some app crash logs from my iPhone.
{"app_name":"XXXX","app_cohort":"2|date=1586433600000&sf=143467&tid=e7af489f4214d36d52f2f775602345e93b2fd4cfcc690cd6ff09b0e7262ffdd7&ttype=i","app_version":"1.2.5","timestamp":"2020-04-09 17:59:31.50 +0530","slice_uuid":"45d30e88-5b71-32e7-854b-dcc2a43f5d99","adam_id":586832868,"build_version":"424","bundleID":"com.YYYY.XXXX","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 13.3.1 (17D50)","incident_id":"C379DDCD-83EA-49AC-A4B5-24E0316D0681","is_beta":true,"name":"XXXX"}
Incident Identifier: C379DDCD-83EA-49AC-A4B5-24E0316D0681
Beta Identifier: 5438D6EC-9706-4D7C-9DED-0259D2ECBE6A
Hardware Model: iPhone11,8
Process: XXXX [51890]
Path: /private/var/containers/Bundle/Application/E8C2C24C-087A-49B9-B78E-E6BC18A44EC2/XXXX.app/XXXX
Identifier: com.YYYY.XXXX
Version: 424 (1.2.5)
AppStoreTools: 11E146
AppVariant: 1:iPhone11,8:13
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.YYYY.XXXX [4881]
Date/Time: 2020-04-09 17:59:30.6770 +0530
Launch Time: 2020-04-09 17:59:30.4400 +0530
OS Version: iPhone OS 13.3.1 (17D50)
Release Type: User
Baseband Version: 2.04.03
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x8039c2a100000002 -> 0x0000002100000002 (possible pointer authentication failure)
VM Region Info: 0x2100000002 is not in any region. Bytes after previous region: 130459631619
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO 0000000280000000-00000002a0000000 [512.0M] rw-/rwx SM=PRV
--->
UNUSED SPACE AT END
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [51890]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_platform.dylib 0x00000001a6012798 0x1a600d000 + 22424
1 XXXX 0x00000001021e20d4 0x1020d4000 + 1106132
2 libobjc.A.dylib 0x00000001a602d3f8 0x1a601f000 + 58360
3 libdyld.dylib 0x00000001a6110168 0x1a6100000 + 65896
4 libdyld.dylib 0x00000001a61027e8 0x1a6100000 + 10216
5 libdyld.dylib 0x00000001a610fbf4 0x1a6100000 + 64500
6 libdyld.dylib 0x00000001a612aee4 0x1a6100000 + 175844
7 dyld 0x00000001024a4530 0x10249c000 + 34096
8 dyld 0x00000001024a298c 0x10249c000 + 27020
9 dyld 0x000000010249d22c 0x10249c000 + 4652
10 dyld 0x000000010249d038 0x10249c000 + 4152
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x8039c2a100000002 x1: 0x00000001022dab37 x2: 0x000000000000000a x3: 0xfffffffffffffffc
x4: 0x0000000000000052 x5: 0x0000000000000056 x6: 0x00000001e6b53848 x7: 0x00000000000004d0
x8: 0x000000028189c0c4 x9: 0x0000000000010000 x10: 0x0000000000000194 x11: 0x0000000000000001
x12: 0x0000000000000003 x13: 0x0000000000000000 x14: 0x00000000fffffffc x15: 0x0000000000000018
x16: 0x00000001a6012790 x17: 0x00000001eca7b3b0 x18: 0x0000000000000000 x19: 0x00000001022dab37
x20: 0x00000001022d7cd5 x21: 0x00000001022dab40 x22: 0x8039c2a100000002 x23: 0x0000000000000000
x24: 0x000000000000017f x25: 0x0000000000000000 x26: 0x0000000102329620 x27: 0x00000001022eb593
x28: 0x00000001ef76d4d8 fp: 0x000000016dd290f0 lr: 0x00000001021e20d4
sp: 0x000000016dd29090 pc: 0x00000001a6012798 cpsr: 0x00000000
esr: 0x92000004 (Data Abort) byte read Translation fault
Binary Images:
0x1020d4000 - 0x102307fff XXXX arm64 <45d30e885b7132e7854bdcc2a43f5d99> /var/containers/Bundle/Application/E8C2C24C-087A-49B9-B78E-E6BC18A44EC2/XXXX.app/XXXX
0x10249c000 - 0x102503fff dyld arm64e <e008b93875933f57b94a747bc6c3beb5> /usr/lib/dyld
0x1a5ee4000 - 0x1a5efafff libsystem_trace.dylib arm64e <1177e8a367aa3c8cb5605bcc40419d54> /usr/lib/system/libsystem_trace.dylib
0x1a5efb000 - 0x1a5f2efff libxpc.dylib arm64e <e2894301267b3872a3cd0aaf659353a9> /usr/lib/system/libxpc.dylib
0x1a5f2f000 - 0x1a5f2ffff libsystem_blocks.dylib arm64e <0fb3b7d281de30979e83b408b48e8b0e> /usr/lib/system/libsystem_blocks.dylib
0x1a5f30000 - 0x1a5faefff libsystem_c.dylib arm64e <8b9c0d18aeba3e24a95f2ec54f9fb4ef> /usr/lib/system/libsystem_c.dylib
0x1a5faf000 - 0x1a5febfff libdispatch.dylib arm64e <0c7a69cdf2ee3426bfd8742c903d3d07> /usr/lib/system/libdispatch.dylib
0x1a5fec000 - 0x1a600cfff libsystem_malloc.dylib arm64e <479f1b0225ee32ce8c0afaf20cd9e0c6> /usr/lib/system/libsystem_malloc.dylib
0x1a600d000 - 0x1a6013fff libsystem_platform.dylib arm64e <b07cc9f89c9f38b0bb974a77bf6a5db4> /usr/lib/system/libsystem_platform.dylib
0x1a6014000 - 0x1a601efff libsystem_pthread.dylib arm64e <637416f6a7a3339b96ed9ebc80d38988> /usr/lib/system/libsystem_pthread.dylib
0x1a601f000 - 0x1a604ffff libobjc.A.dylib arm64e <2c18c54e6c84310c851ff9602890d908> /usr/lib/libobjc.A.dylib
0x1a6050000 - 0x1a60bcfff libcorecrypto.dylib arm64e <9d52b5f81c483635ad32214f878e3e29> /usr/lib/system/libcorecrypto.dylib
0x1a60bd000 - 0x1a60d0fff libc++abi.dylib arm64e <b60e71f7dd75323c8831b1ca4d42e3cb> /usr/lib/libc++abi.dylib
0x1a60d1000 - 0x1a60fffff libsystem_kernel.dylib arm64e <ae36dce0999d39909eed01106f17dc90> /usr/lib/system/libsystem_kernel.dylib
0x1a6100000 - 0x1a6133fff libdyld.dylib arm64e <9d12204719b736a2a89227401f9e0e6c> /usr/lib/system/libdyld.dylib
0x1a6134000 - 0x1a613cfff libsystem_darwin.dylib arm64e <e2c1c480b2ec3bbea3fa4c70e4056c64> /usr/lib/system/libsystem_darwin.dylib
0x1a613d000 - 0x1a6197fff libc++.1.dylib arm64e <fff3d40d85a0308eac32908bca1188d0> /usr/lib/libc++.1.dylib
0x1a6198000 - 0x1a61d9fff libsystem_info.dylib arm64e <c2e15922d993340aaa5da454a57dfb76> /usr/lib/system/libsystem_info.dylib
0x1a61da000 - 0x1a6557fff CoreFoundation arm64e <dc2c95c6b95439e886a25e0af8801e87> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1a6558000 - 0x1a65befff SystemConfiguration arm64e <9e1b636801ac32da9dabce33f20ce872> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x1a65bf000 - 0x1a688afff Foundation arm64e <7a7a96af79e43db1890442e61cae8999> /System/Library/Frameworks/Foundation.framework/Foundation
0x1a688b000 - 0x1a68bdfff libCRFSuite.dylib arm64e <15ee962961303d46964ecd419e64345a> /usr/lib/libCRFSuite.dylib
0x1a68be000 - 0x1a6a41fff CoreServices arm64e <9298be2d0bd93660bddcf43d32ea3872> /System/Library/Frameworks/CoreServices.framework/CoreServices
0x1a6a42000 - 0x1a6aa4fff libSparse.dylib arm64e <797932fbc17f372bbd2cb9bc2d55cac1> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libSparse.dylib
0x1a6aa5000 - 0x1a6f9efff ImageIO arm64e <b301e385830f311ebce0e786df524e8e> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x1a6f9f000 - 0x1a6fa1fff ConstantClasses arm64e <96b656dd09a03e82b9c2917ab36a3fdd> /System/Library/PrivateFrameworks/ConstantClasses.framework/ConstantClasses
I have fixed this crash by renaming RKResponse class name of Restkit framework by adding some prefix to it. So that it will not conflict with RKResponseKit framework class RKResponse
Airflow webserver start only in debug mode
airflow webserver -p 8051
[2016-10-18 18:41:13,816] {__init__.py:36} INFO - Using executor CeleryExecutor
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
[2016-10-18 18:41:14,081] {models.py:154} INFO - Filling up the DagBag from /home/user/some_dir/airflow/dags
Running the Gunicorn server with 4 syncworkers on host 0.0.0.0 and port 8051 with a timeout of 120...
['gunicorn', '-w 4', '-k sync', '-t 120', '-b 0.0.0.0:8051', '-n airflow-webserver', '-p /home/user/some_dir/airflow/airflow-webserver.pid', 'airflow.www.app:cached_app()']
Traceback (most recent call last):
File "./airflow", line 15, in <module>
args.func(args)
File "/home/user/userenv/local/lib/python2.7/site-packages/airflow/bin/cli.py", line 426, in webserver
'gunicorn', run_args
File "/home/user/userenv/lib/python2.7/os.py", line 344, in execvp
_execvpe(file, args)
File "/home/user/userenv/lib/python2.7/os.py", line 380, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] No such file or directory
But airflow webserver -p 8051 -d works
[2016-10-18 18:45:45,750] {__init__.py:36} INFO - Using executor CeleryExecutor
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
[2016-10-18 18:45:46,019] {models.py:154} INFO - Filling up the DagBag from /home/user/some_dir/airflow/dags
Starting the web server on port 8051 and host 0.0.0.0.
[2016-10-18 18:45:46,138] {_internal.py:87} INFO - * Running on http://0.0.0.0:8051/ (Press CTRL+C to quit)
[2016-10-18 18:45:46,139] {_internal.py:87} INFO - * Restarting with stat
[2016-10-18 18:45:46,417] {__init__.py:36} INFO - Using executor CeleryExecutor
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
[2016-10-18 18:45:46,682] {models.py:154} INFO - Filling up the DagBag from /home/user/some_dir/airflow/dags
Starting the web server on port 8051 and host 0.0.0.0.
[2016-10-18 18:45:46,796] {_internal.py:87} WARNING - * Debugger is active!
[2016-10-18 18:45:46,850] {_internal.py:87} INFO - * Debugger pin code: 231-950-074
Also I can't see airflow-webserver.pid file in $AIRFLOW_HOME
But in debug mode I can't run airflow worker
airflow worker
[2016-10-18 18:48:28,541] {__init__.py:36} INFO - Using executor CeleryExecutor
Traceback (most recent call last):
File "./airflow", line 15, in <module>
args.func(args)
File "/home/user/userenv/local/lib/python2.7/site-packages/airflow/bin/cli.py", line 519, in worker
sp = subprocess.Popen(['airflow', 'serve_logs'], env=env)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
After reading through the source code of cli.py (see the webserver and setup_locations functions). I would guess that you do not have access to create the files that will be setup when the gunicorn process starts. Ensure that you have write access to AIRFLOW_HOME. If you don't either change the directory value you have exported or change the permissions on the directory such that Airflow can write there.
From this so question I developed the code below. For now its only purpose (compiled as an uberjar) is to print its version number and exit.
; core.clj
(ns clojure-test-vnum.core
(:gen-class))
(defn implementation-version []
(-> (eval 'clojure-test-vnum.core) .getPackage .getImplementationVersion))
(defn -main
"I don't do a whole lot ... yet."
[& args]
;; work around dangerous default behaviour in Clojure
(alter-var-root #'*read-eval* (constantly false))
(println (implementation-version)))
;project.clj
(def version "0.1.0-SNAPSHOT")
(defproject clojure-test-vnum version
:manifest {"Implementation-Version" ~version}
:description "Test to see if I can get a version number from an uberjar."
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]]
:main clojure-test-vnum.core
:aot [clojure-test-vnum.core])
While this code compiles fine, I am getting a ClassNotFoundException at runtime. The problem seems to be with (eval 'clojure-test-vnum.core).
Following is the full stack trace:
Exception in thread "main" java.lang.ClassNotFoundException: clojure-test-vnum.core, compiling:(NO_SOURCE_PATH:0:0)
at clojure.lang.Compiler.analyze(Compiler.java:6380)
at clojure.lang.Compiler.analyze(Compiler.java:6322)
at clojure.lang.Compiler.eval(Compiler.java:6623)
at clojure.lang.Compiler.eval(Compiler.java:6582)
at clojure.core$eval.invoke(core.clj:2852)
at clojure_test_vnum.core$implementation_version.invoke(core.clj:5)
at clojure_test_vnum.core$_main.doInvoke(core.clj:14)
at clojure.lang.RestFn.invoke(RestFn.java:397)
at clojure.lang.AFn.applyToHelper(AFn.java:159)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure_test_vnum.core.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: clojure-test-vnum.core
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:266)
at clojure.lang.RT.classForName(RT.java:2070)
at clojure.lang.Compiler.resolveIn(Compiler.java:6855)
at clojure.lang.Compiler.resolve(Compiler.java:6818)
at clojure.lang.Compiler.analyzeSymbol(Compiler.java:6779)
at clojure.lang.Compiler.analyze(Compiler.java:6343)
... 10 more
What am I doing wrong ?
You'll need to change
(eval 'clojure-test-vnum.core)
to
clojure_test_vnum.core
since the generated class will have underscores in its name in place of the hyphens in the name of the Clojure entity it is based on. No eval is necessary, the symbol will simply resolve to the class.