Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Dima B

I confirm that the issue is fixed. Thank you, guys!


On Monday, February 18, 2013 3:39:37 PM UTC-8, Hugo Duncan wrote:
>
> Toby Crawley > writes: 
>
> > Hugo Duncan writes: 
> >> 
> >> The latter is fine by me.  It is about time we had another ritz release 
> for 
> >> nrepl.el 1.6 anyway. 
> > 
> > I'll send you a PR in a few minutes. 
>
> Thanks. 
>
> Released in ritz 0.7.0 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Hugo Duncan
Toby Crawley  writes:

> Hugo Duncan writes:
>>
>> The latter is fine by me.  It is about time we had another ritz release for
>> nrepl.el 1.6 anyway.
>
> I'll send you a PR in a few minutes.

Thanks.

Released in ritz 0.7.0

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Dima B

> Which version of ritz?

Ritz is "0.6.0", emacs plug-in is also 0.6.0. Clojure 1.4.0. Lein 2.0.
I believe the midje plugin does have a dependency on dynapath 2.x that 
explains the mystery.

Thank you for looking into this!


On Monday, February 18, 2013 12:36:20 PM UTC-8, Hugo Duncan wrote:
>
> Dima B > writes: 
>
> > I've been going through all the instruction on the nrepl-ritz page 
> > (https://github.com/pallet/ritz/tree/develop/nrepl) as well as 
> nrepl-ritz 
> > threads and I can't seem to get it working due to a mysterious 
> dependency 
> > problem on dynapath. 
>
> Which version of ritz? 
>
> > Adding [org.tcrawley/dynapath "0.2.1"] explicitly into :dependencies 
> list 
> > into ~/.lein/profiles.clj doesn't help. 
>
> The dependency is [dynapath "0.1.0"], which is on clojars. 
>
> Hugo 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Toby Crawley

Hugo Duncan writes:
>
> The latter is fine by me.  It is about time we had another ritz release for
> nrepl.el 1.6 anyway.

I'll send you a PR in a few minutes.

-- 
Toby Crawley
http://immutant.org | http://torquebox.org

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Hugo Duncan
Toby Crawley  writes:

> * I can release a new version that is compatible with 0.1.0 and 0.2.x,
>   requiring you do depend on it (and possibly exclude other versions)
> * I can update ritz to use 0.2.1, and Hugo can make a new release (if he
>   is amenable to that). As far as I know, ritz is the only project that
>   depends on 0.1.0.
>
> I'd prefer to do the latter, because that would be the proper fix, but
> don't want to burden Hugo.

Thanks for finding the cause.

The latter is fine by me.  It is about time we had another ritz release for
nrepl.el 1.6 anyway.

Hugo

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Toby Crawley

Dima B writes:

> Hi,
>
> I've been going through all the instruction on the nrepl-ritz page 
> (https://github.com/pallet/ritz/tree/develop/nrepl) as well as nrepl-ritz 
> threads and I can't seem to get it working due to a mysterious dependency 
> problem on dynapath.
...
> error in process sentinel: nrepl-server-sentinel: Could not start nREPL 
> server: Exception in thread "main" java.io.FileNotFoundException: Could not 
> locate dynapath/core__init.class or dynapath/core.clj on classpath: 

This is caused by something else bringing in dynapath 0.2.1, which is
overriding the 0.1.0 version that ritz expects. 0.2.1 no longer has a
core ns, which is causing the above error.

Unfortunately, I didn't consider this issue when I removed the core ns
between 0.1.0 and 0.2.0, which I now regret.

There are a couple of options here, both of which probably require
action by me: 

* I can release a new version that is compatible with 0.1.0 and 0.2.x,
  requiring you do depend on it (and possibly exclude other versions)
* I can update ritz to use 0.2.1, and Hugo can make a new release (if he
  is amenable to that). As far as I know, ritz is the only project that
  depends on 0.1.0.

I'd prefer to do the latter, because that would be the proper fix, but
don't want to burden Hugo.

-- 
Toby Crawley
http://immutant.org | http://torquebox.org

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Hugo Duncan
Dima B  writes:

> I've been going through all the instruction on the nrepl-ritz page 
> (https://github.com/pallet/ritz/tree/develop/nrepl) as well as nrepl-ritz 
> threads and I can't seem to get it working due to a mysterious dependency 
> problem on dynapath.

Which version of ritz?

> Adding [org.tcrawley/dynapath "0.2.1"] explicitly into :dependencies list 
> into ~/.lein/profiles.clj doesn't help.

The dependency is [dynapath "0.1.0"], which is on clojars.

Hugo

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Dima B
Hi,

I've been going through all the instruction on the nrepl-ritz page 
(https://github.com/pallet/ritz/tree/develop/nrepl) as well as nrepl-ritz 
threads and I can't seem to get it working due to a mysterious dependency 
problem on dynapath.

M-x nrepl-ritz-jack-in results in

Starting nREPL ritz server...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL 
server: Exception in thread "main" java.io.FileNotFoundException: Could not 
locate dynapath/core__init.class or dynapath/core.clj on classpath: 
at clojure.lang.RT.load(RT.java:432)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at 
ritz.repl_utils.class_browse$eval1633$loading__4784__auto1634.invoke(class_browse.clj:13)
at ritz.repl_utils.class_browse$eval1633.invoke(class_browse.clj:13)
...
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.main.main(main.java:37)
Subprocess failed

Adding [org.tcrawley/dynapath "0.2.1"] explicitly into :dependencies list 
into ~/.lein/profiles.clj doesn't help.
nrepl-jack-in and "$ lein repl" works as expected.

Please help!

Thank you,
Dima

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.