Re: nrepl-ritz setup (missing dependency dynapath)

2013-02-18 Thread Hugo Duncan
Dima B dimath...@gmail.com 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

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
Toby Crawley t...@tcrawley.org 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

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 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 dima...@gmail.com javascript: 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 Hugo Duncan
Toby Crawley t...@tcrawley.org 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

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 to...@tcrawley.org javascript: 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.