Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

looping input db type on newapp_mvc #592

Open
AbhimanyuAryan opened this issue Oct 28, 2022 · 0 comments
Open

looping input db type on newapp_mvc #592

AbhimanyuAryan opened this issue Oct 28, 2022 · 0 comments
Assignees
Labels

Comments

@AbhimanyuAryan
Copy link
Member

AbhimanyuAryan commented Oct 28, 2022

Picking no db as 4 doesn't work

Error stacktrace



julia> Genie.Generator.newapp_mvc("Toot")

Please choose the DB backend you want to use:
1. SQLite
2. MySQL
3. PostgreSQL
4. Skip installing DB support at this time

Input 1, 2, 3 or 4 and press ENTER to confirm.
If you are not sure what to pick, choose 1 (SQLite). It is the simplest option to get you started right away.
You can add support for additional databases anytime later.

4
Skipping DB support installation

[ Info: Done! New app created at /Users/abhi/Desktop/TestApp/Toot
[ Info: Changing active directory to /Users/abhi/Desktop/TestApp/Toot
    /var/folders/0j/d0xd373d2tb7zdzcsqrk3mpw0000gn/T/jl_bnOiME/Toot/Project.toml
[ Info: Project.toml has been generated
[ Info: Installing app dependencies
  Activating project at `~/Desktop/TestApp/Toot`
   Resolving package versions...
    Updating `~/Desktop/TestApp/Toot/Project.toml`
  [c43c736e] + Genie v5.11.0
    Updating `~/Desktop/TestApp/Toot/Manifest.toml`
  [c7e460c6] + ArgParse v1.1.4
  [d1d4a3ce] + BitFlags v0.1.5
  [00ebfdb7] + CSTParser v3.3.6
  [da1fd8a2] + CodeTracking v1.1.1
  [944b1d66] + CodecZlib v0.7.0
  [a80b9123] + CommonMark v0.8.6
  [34da2185] + Compat v4.3.0
  [a8cc5b0e] + Crayons v4.1.1
  [864edb3b] + DataStructures v0.18.13
  [8f5d6c58] + EzXML v1.1.0
  [48062228] + FilePathsBase v0.9.20
  [c43c736e] + Genie v5.11.0
  [c27321d9] + Glob v1.3.0
  [cd3eb016] + HTTP v1.5.1
  [77172c1b] + HttpCommon v0.5.0
  [6d011eab] + Inflector v1.0.1
  [83e8ac13] + IniFile v0.5.1
  [692b3bcd] + JLLWrappers v1.4.1
  [682c06a0] + JSON v0.21.3
  [0f8b85d8] + JSON3 v1.11.1
  [98e50ef6] + JuliaFormatter v1.0.14
  [aa1ae85d] + JuliaInterpreter v0.9.15
  [e6f89c97] + LoggingExtras v0.4.9
  [6f1432cf] + LoweredCodeUtils v2.2.2
  [739be429] + MbedTLS v1.1.7
  [39ec1447] + Millboard v0.2.5
  [49dea1ee] + Nettle v1.0.0
  [4d1e1d77] + Nullables v1.0.0
  [4d8831e6] + OpenSSL v1.3.0
  [bac558e1] + OrderedCollections v1.4.1
  [69de0a69] + Parsers v2.4.2
  [21216c6a] + Preferences v1.3.0
  [189a3867] + Reexport v1.2.2
  [ae029012] + Requires v1.3.0
  [295af30f] + Revise v3.4.0
  [777ac1f9] + SimpleBufferStream v1.1.0
  [66db9d55] + SnoopPrecompile v1.0.1
  [69024149] + StringEncodings v0.3.5
  [856f2bd8] + StructTypes v1.10.0
  [b718987f] + TextWrap v1.0.1
  [0796e94c] + Tokenize v0.5.24
  [3bb67fe8] + TranscodingStreams v0.9.9
  [30578b45] + URIParser v0.4.1
  [5c2747f8] + URIs v1.4.0
  [ddb6d928] + YAML v0.4.8
  [94ce4f54] + Libiconv_jll v1.16.1+1
  [4c82536e] + Nettle_jll v3.7.2+0
  [458c3c95] + OpenSSL_jll v1.1.17+0
  [02c8fc9c] + XML2_jll v2.9.14+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.8.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.0
  [a4e569a6] + Tar v1.10.1
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
  [781609d7] + GMP_jll v6.2.1+2
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.0+0
  [14a3606d] + MozillaCACerts_jll v2022.2.1
  [4536629a] + OpenBLAS_jll v0.3.20+0
  [83775a58] + Zlib_jll v1.2.12+3
  [8e850b90] + libblastrampoline_jll v5.1.1+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
Precompiling project...
  1 dependency successfully precompiled in 3 seconds. 56 already precompiled.

Please choose the DB backend you want to use:
1. SQLite
2. MySQL
3. PostgreSQL
4. Skip installing DB support at this time

Input 1, 2, 3 or 4 and press ENTER to confirm.
If you are not sure what to pick, choose 1 (SQLite). It is the simplest option to get you started right away.
You can add support for additional databases anytime later.

4
Skipping DB support installation

[ Info: Installing dependencies for unit tests
  Activating new project at `~/Desktop/TestApp/Toot/test`

Please choose the DB backend you want to use:
1. SQLite
2. MySQL
3. PostgreSQL
4. Skip installing DB support at this time

Input 1, 2, 3 or 4 and press ENTER to confirm.
If you are not sure what to pick, choose 1 (SQLite). It is the simplest option to get you started right away.
You can add support for additional databases anytime later.



Please choose the DB backend you want to use:
1. SQLite
2. MySQL
3. PostgreSQL
4. Skip installing DB support at this time

Input 1, 2, 3 or 4 and press ENTER to confirm.
If you are not sure what to pick, choose 1 (SQLite). It is the simplest option to get you started right away.
You can add support for additional databases anytime later.

4
Skipping DB support installation

  Activating project at `~/Desktop/TestApp/Toot`
[ Info: Starting your brand new Genie app - hang tight!
[ Info: Precompiling Toot [6ed3a6a3-34a0-4ea3-b6ea-308656a31267]


 ██████╗ ███████╗███╗   ██╗██╗███████╗    ███████╗
██╔════╝ ██╔════╝████╗  ██║██║██╔════╝    ██╔════╝
██║  ███╗█████╗  ██╔██╗ ██║██║█████╗      ███████╗
██║   ██║██╔══╝  ██║╚██╗██║██║██╔══╝      ╚════██║
╚██████╔╝███████╗██║ ╚████║██║███████╗    ███████║
 ╚═════╝ ╚══════╝╚═╝  ╚═══╝╚═╝╚══════╝    ╚══════╝

| Website  https://genieframework.com
| GitHub   https://github.com/genieframework
| Docs     https://genieframework.com/docs
| Discord  https://discord.com/invite/9zyZbD6J7H
| Twitter  https://twitter.com/essenciary

Active env: DEV

Loading initializers
ERROR: ArgumentError: Package Toot does not have SearchLightnothing in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have Toot checked out for development and have
  added SearchLightnothing as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with Toot
Stacktrace:
 [1] macro expansion
   @ ./loading.jl:1167 [inlined]
 [2] macro expansion
   @ ./lock.jl:223 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1144
 [4] eval
   @ ./boot.jl:368 [inlined]
 [5] eval
   @ ./Base.jl:65 [inlined]
 [6] load(path::Nothing; context::Module)
   @ SearchLight.Configuration ~/.julia/packages/SearchLight/Ps2Js/src/Configuration.jl:92
 [7] load
   @ ~/.julia/packages/SearchLight/Ps2Js/src/Configuration.jl:89 [inlined]
 [8] (::SearchLight.Configuration.var"#load##kw")(::NamedTuple{(:context,), Tuple{Module}}, ::typeof(SearchLight.Configuration.load))
   @ SearchLight.Configuration ~/.julia/packages/SearchLight/Ps2Js/src/Configuration.jl:89
 [9] top-level scope
   @ ~/Desktop/TestApp/Toot/config/initializers/searchlight.jl:12
in expression starting at /Users/abhi/Desktop/TestApp/Toot/config/initializers/searchlight.jl:12

Ready!

┌ Info: 2022-10-28 22:23:34
└ Web Server starting at http://127.0.0.1:8000

julia>
@AbhimanyuAryan AbhimanyuAryan self-assigned this Oct 28, 2022
@essenciary essenciary added the bug label Dec 20, 2022
@essenciary essenciary added the v6 label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants