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

Errors when trying to start Genie #33

Closed
mbeltagy opened this issue Mar 19, 2018 · 6 comments
Closed

Errors when trying to start Genie #33

mbeltagy opened this issue Mar 19, 2018 · 6 comments

Comments

@mbeltagy
Copy link
Contributor

I just installed Genie by

Pkg.clone("https://github.com/essenciary/Genie.jl")

When try start it, I get

julia> using Genie
ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: config not defined
Stacktrace:
 [1] is_dev() at /home/user/.julia/Genie/src/configuration.jl:41
 [2] include_from_node1(::String) at ./loading.jl:576
 [3] eval(::Module, ::Any) at ./boot.jl:235
 [4] _require(::Symbol) at ./loading.jl:490
 [5] require(::Symbol) at ./loading.jl:405
 [6] include_from_node1(::String) at ./loading.jl:576
 [7] eval(::Module, ::Any) at ./boot.jl:235
 [8] _require(::Symbol) at ./loading.jl:490
 [9] require(::Symbol) at ./loading.jl:405
 [10] include_from_node1(::String) at ./loading.jl:576
 [11] include(::String) at ./sysimg.jl:14
 [12] include_from_node1(::String) at ./loading.jl:576
 [13] eval(::Module, ::Any) at ./boot.jl:235
 [14] _require(::Symbol) at ./loading.jl:490
 [15] require(::Symbol) at ./loading.jl:405
while loading /home/user/.julia/Genie/src/App.jl, in expression starting on line 8
while loading /home/user/.julia/Genie/src/Inflector.jl, in expression starting on line 6
while loading /home/user/.julia/Genie/src/file_templates.jl, in expression starting on line 6
while loading /home/user/.julia/Genie/src/Genie.jl, in expression starting on line 32

I am using

julia> versioninfo()
Julia Version 0.6.3-pre.0
Commit 93168a6 (2017-12-18 07:11 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
@grandtiger
Copy link

I ran into the same problem, on both Windows and Linux. A fix would be great. Thanks!

@mbeltagy
Copy link
Contributor Author

It is a single line fix. See the pull request. Hopefully, it gets merged.

@essenciary
Copy link
Member

Thanks - I can't reproduce the error but I see no problem setting the default. Merged, thanks for your contribution!

@mbeltagy
Copy link
Contributor Author

Perhaps we need to set up testing and travis integration. I would be happy to help.

@essenciary
Copy link
Member

Yes, definitely! The framework is quite rich now in terms of features, so I'm putting more of my time into consolidation of other areas. Top priorities are:

  • user documentation - I'm working on a series of guides and tutorials for using Genie
  • code documentation - planning on going over the docstrings, updating and rebuilding docs
  • tests - adding extensive tests for the framework
  • setting up CI (running tests, building docs, etc)
  • registering the package

Help with any of these is greatly appreciated. However CI won't be useful unless there's a proper testing suite. And that is tricky - I've been thinking about it lately, in preparation for this. A lot of the functionality is about running requests through the web server, generating and loading files, etc - so a significant amount of integration testing. But of course, some things are better candidates for unit testing so that's a good start.

@precis19
Copy link

Please what is the problem if search feature doesn't work Genie julia ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants