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

Error running under elixir 0.15 #206

Open
guiloyins opened this issue Aug 1, 2014 · 8 comments
Open

Error running under elixir 0.15 #206

guiloyins opened this issue Aug 1, 2014 · 8 comments

Comments

@guiloyins
Copy link

Running a webster app under elixir 0.15, got the following errors:

** (Mix) Could not start application weber_test2: exited in: WeberTest2.start(:normal, [])
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, {:already_started, :compiler}}
lib/weber.ex:29: anonymous fn/1 in Weber.start/2
(elixir) lib/enum.ex:977: Enum."-map/2-lc$^0/1-0-"/2
lib/weber.ex:29: Weber.start/2
(kernel) application_master.erl:272: :application_master.start_it_old/4

@teodor-pripoae
Copy link
Contributor

I'm getting the same issue.

@2kodes
Copy link
Contributor

2kodes commented Aug 13, 2014

Any update on this issue? Since there have been many changes in elixir core I'm guessing making weber work with the current elixir v0.15.x will require a substantial rewrite of weber ?

@teodor-pripoae
Copy link
Contributor

It seems there is a problem with [:compiler, :syntax_tools, :goldrush, :lager, :exlager] applications, as they are already started.

Actually, I think only compiler and syntax_tools applications are already started, and I successfully managed to start the server after removing them.

After I removed them, it seems that code reloading doesn't work anymore. Any ideas ?

@0xAX
Copy link
Member

0xAX commented Aug 13, 2014

Hello all,

First of all thank you for report. I'm not updating weber for actual elixir version now, it breaks compability too often now. I will continue after stable release.

If somebody want to contribute to weber for actual elixir version, Welcome.

If you will have any questions please ping me here or in #WeberMVC at irc.freenode.net

@teodor-pripoae
Copy link
Contributor

I can see that compiler and syntax_tools were added in this commit from elixir: elixir-lang/elixir@9ba77e1.

I think we are safe to remove them if running on elixir 0.15.0+, but what happens if the code is running on older elixir versions ?

Maybe we should wait as you said until elixir gets to a stable release and then it will be a good idea to bump version compatibility. The problem is that I cannot use it with older versions as well, since a lot of dependencies require different elixir versions. As I said, the code reloader is broken when running in 0.15.0 so I can't do productive development using weber.

When I will get some free time, I will try to create a PR with fixes for 0.15.0 and hopefully a fix for code reloading.

warning: the dependency exlager requires Elixir "> 0.14.0" but you are running on v0.13.3
warning: the dependency weberContrib requires Elixir "~> 0.14.1" but you are running on v0.13.3
warning: the dependency plug requires Elixir "~> 0.15.0-dev" but you are running on v0.13.3

@2kodes
Copy link
Contributor

2kodes commented Oct 5, 2014

Hi,

Any chance of a new release of weber now that elixir has reached 1.0.0 status??

@vjustov
Copy link

vjustov commented Nov 21, 2014

+1

1 similar comment
@alg
Copy link

alg commented Dec 8, 2014

+1

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

6 participants