[racket-users] raco pkg install failing inside Virtualbox. OpenSSL issue?

2016-10-19 Thread phil jones
Hi,

I'm trying to get my development environments across different machines more 
consistent by running a standard Ubuntu image inside a Vagrant / Virtualbox Box.

I'm trying to set up racket inside this environment (on Windows 10), but I'm 
getting the following error trying to install libraries with raco.

ssl-connect: connect failed (error:14077438:SSL 
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error)

context...:
 /usr/share/racket/collects/openssl/mzssl.rkt:1207:8: loop
 ... rest of stack trace.

I'm guessing that this is because of some configuration either of the Virtual 
Machine itself or of my new Ubuntu environment.

Anyone got any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Racket 6.5 on Ubuntu broke my sxml library?

2016-05-05 Thread phil jones
Ah . OK. That seems to work. 

Many thanks.

One question. Does this import older versions of the libraries? If the 
libraries have also been updated, does it get the newest versions? Or does that 
need a different installation?

cheers

Phil

On Thursday, 5 May 2016 11:05:32 UTC-3, Alex Knauth  wrote:
> > On May 5, 2016, at 9:55 AM, phil jones <inters...@gmail.com> wrote:
> > 
> >> Ubuntu just upgraded me to Racket 6.5.
> >> 
> >> However my program which uses sxml is now broken.
> 
> >> Is this a library / package I need to reinstall after the 6.5 upgrade? Is 
> >> the sxml library itself not working in 6.5?
> 
> > Frog also isn't working. Or rather, raco no longer recognises the "raco 
> > frog" instruction.
> > 
> > Does this mean we basically have to re-install all our racket packages and 
> > tools after an upgrade?
> 
> Yes *but*, if you go into the DrRacket package manager, and click on the 
> "copy from version" tab, you should be able to see your previous 
> installations (if they're still around and not deleted) and be able to copy 
> all of the installed packages to the new version. I think there's also a 
> `raco pkg migrate` tool, but I haven't used that.
> 
> When you do that, it should install the sxml package, the frog package, and 
> the others onto your racket 6.5 installation.
> 
> Alex Knauth

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: Racket 6.5 on Ubuntu broke my sxml library?

2016-05-05 Thread phil jones
Actually it's looking like the Ubuntu upgrade killed a bunch of stuff. 

Frog also isn't working. Or rather, raco no longer recognises the "raco frog" 
instruction.

Does this mean we basically have to re-install all our racket packages and 
tools after an upgrade? Is that a racket thing or a Ubuntu thing?

Phil

On Thursday, 5 May 2016 10:48:13 UTC-3, phil jones  wrote:
> Hi,
> 
> Ubuntu just upgraded me to Racket 6.5.
> 
> However my program which uses sxml is now broken.
> 
> I get this error message : 
> 
> standard-module-name-resolver: collection not found
>   for module path: sxml
>   collection: "sxml"
>   in collection directories:
> 
> Anyone got any ideas? 
> 
> Is this a library / package I need to reinstall after the 6.5 upgrade? Is the 
> sxml library itself not working in 6.5?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Racket 6.5 on Ubuntu broke my sxml library?

2016-05-05 Thread phil jones
Hi,

Ubuntu just upgraded me to Racket 6.5.

However my program which uses sxml is now broken.

I get this error message : 

standard-module-name-resolver: collection not found
  for module path: sxml
  collection: "sxml"
  in collection directories:

Anyone got any ideas? 

Is this a library / package I need to reinstall after the 6.5 upgrade? Is the 
sxml library itself not working in 6.5?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Re: Alternatives for installing packages?

2016-03-11 Thread phil jones
Yep. Worked :-)

Thanks Sam Tobin-Hichstadt, Asumu Takikawa.

Phil

On Friday, 11 March 2016 12:38:44 UTC-3, phil jones  wrote:
> OK. Thanks, I'm trying the new PPA
> 
> On Friday, 11 March 2016 12:19:30 UTC-3, Sam Tobin-Hochstadt  wrote:
> > Ok, in that case I think I know why it fails, and the solution is to
> > upgrade to a more recent version of Racket, perhaps using the PPA that
> > Asumu pointed out.
> > 
> > The problem was that we weren't passing quite the right options to
> > openssl, leading to the error you see.
> > 
> > Sam
> >

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Re: Alternatives for installing packages?

2016-03-11 Thread phil jones
OK. Thanks, I'm trying the new PPA

On Friday, 11 March 2016 12:19:30 UTC-3, Sam Tobin-Hochstadt  wrote:
> Ok, in that case I think I know why it fails, and the solution is to
> upgrade to a more recent version of Racket, perhaps using the PPA that
> Asumu pointed out.
> 
> The problem was that we weren't passing quite the right options to
> openssl, leading to the error you see.
> 
> Sam
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Re: Alternatives for installing packages?

2016-03-11 Thread phil jones

raco pkg config catalogs

raco pkg config: unsupported config key
  key: "catalogs"


On Friday, 11 March 2016 12:09:47 UTC-3, phil jones  wrote:
> DrRacket, version 5.3.6
> 
> It's the one that comes as standard with Ubuntu 14.04 (LTS)
> 
> Yes, I seem to be able to get both of those pkgs files with wget.
> 
> Phil
> 
> 
> 
> On Friday, 11 March 2016 11:33:24 UTC-3, Sam Tobin-Hochstadt  wrote:
> > Hi Phil,
> > 
> > First, which version of Racket do you have, and where did you download it 
> > from?
> > 
> > Second, can you try running the following:
> > 
> > - wget https://download.racket-lang.org/releases/6.4/catalog/pkgs
> > - wget https://pkgs.racket-lang.org/pkgs
> > 
> > And report what happens?
> > 
> > Third, can you run `raco pkg config catalogs` and report the output?
> > 
> > Thanks,
> > Sam
> > 
> > On Fri, Mar 11, 2016 at 9:20 AM, phil jones <inters...@gmail.com> wrote:
> > > Sam,
> > >
> > > From reading through those comments (or maybe on another page) it 
> > > definitely seems to pop up more generally than just Tomcat.
> > >
> > > Here's the complete dialogue :
> > >
> > > phil@hawksmoor:~$ raco pkg install sxml
> > > ssl-connect: connect failed (error:14077438:SSL 
> > > routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error)
> > >
> > > cheers
> > >
> > > Phil
> > >
> > >
> > > On Friday, 11 March 2016 03:46:14 UTC-3, phil jones  wrote:
> > >> I have this problem with openssl on my Ubuntu development machine :
> > >>
> > >> https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1475228
> > >>
> > >> Unfortunately it's preventing me from installing new packages with
> > >>
> > >> raco pkg install
> > >>
> > >> Trying to do that just triggers the bug.
> > >>
> > >> Is there any other way to get and install these packages?
> > >>
> > >> cheers
> > >>
> > >> Phil
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Racket Users" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to racket-users+unsubscr...@googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Re: Alternatives for installing packages?

2016-03-11 Thread phil jones
DrRacket, version 5.3.6

It's the one that comes as standard with Ubuntu 14.04 (LTS)

Yes, I seem to be able to get both of those pkgs files with wget.

Phil



On Friday, 11 March 2016 11:33:24 UTC-3, Sam Tobin-Hochstadt  wrote:
> Hi Phil,
> 
> First, which version of Racket do you have, and where did you download it 
> from?
> 
> Second, can you try running the following:
> 
> - wget https://download.racket-lang.org/releases/6.4/catalog/pkgs
> - wget https://pkgs.racket-lang.org/pkgs
> 
> And report what happens?
> 
> Third, can you run `raco pkg config catalogs` and report the output?
> 
> Thanks,
> Sam
> 
> On Fri, Mar 11, 2016 at 9:20 AM, phil jones <inters...@gmail.com> wrote:
> > Sam,
> >
> > From reading through those comments (or maybe on another page) it 
> > definitely seems to pop up more generally than just Tomcat.
> >
> > Here's the complete dialogue :
> >
> > phil@hawksmoor:~$ raco pkg install sxml
> > ssl-connect: connect failed (error:14077438:SSL 
> > routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error)
> >
> > cheers
> >
> > Phil
> >
> >
> > On Friday, 11 March 2016 03:46:14 UTC-3, phil jones  wrote:
> >> I have this problem with openssl on my Ubuntu development machine :
> >>
> >> https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1475228
> >>
> >> Unfortunately it's preventing me from installing new packages with
> >>
> >> raco pkg install
> >>
> >> Trying to do that just triggers the bug.
> >>
> >> Is there any other way to get and install these packages?
> >>
> >> cheers
> >>
> >> Phil
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: Alternatives for installing packages?

2016-03-11 Thread phil jones
Sam,

>From reading through those comments (or maybe on another page) it definitely 
>seems to pop up more generally than just Tomcat.

Here's the complete dialogue :

phil@hawksmoor:~$ raco pkg install sxml
ssl-connect: connect failed (error:14077438:SSL 
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error)

cheers

Phil


On Friday, 11 March 2016 03:46:14 UTC-3, phil jones  wrote:
> I have this problem with openssl on my Ubuntu development machine :
> 
> https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1475228
> 
> Unfortunately it's preventing me from installing new packages with 
> 
> raco pkg install
> 
> Trying to do that just triggers the bug.
> 
> Is there any other way to get and install these packages?
> 
> cheers
> 
> Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Alternatives for installing packages?

2016-03-11 Thread phil jones
So far I was just trying

raco pkg install PKGNAME

where I assume the package is coming from the online repository

Thanks I'll try the github / install from local suggestion. That's exactly
the kind of thing I was looking for.

Phil

On 11 March 2016 at 10:51, Asumu Takikawa <as...@ccs.neu.edu> wrote:

> Hi Phil,
>
> On 2016-03-10 22:46:14 -0800, phil jones wrote:
> > Unfortunately it's preventing me from installing new packages with
> >
> > raco pkg install
>
> Are you saying that running `raco pkg install` with any arguments causes
> this
> issue? Or just with the package catalog?
>
> If it's the latter, you can manually download the package and install it.
> Like this:
>
>   git clone git://github.com/takikawa/drracket-vim-tool
>   raco pkg install drracket-vim-tool/
>
> (if the package source is git, otherwise you may have to download it some
>  other way)
>
> Cheers,
> Asumu
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Alternatives for installing packages?

2016-03-10 Thread phil jones
I have this problem with openssl on my Ubuntu development machine :

https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1475228

Unfortunately it's preventing me from installing new packages with 

raco pkg install

Trying to do that just triggers the bug.

Is there any other way to get and install these packages?

cheers

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] html->xexp and parsing Stack Overflow

2016-03-08 Thread phil jones
Yes. That certainly seems helpful, thanks.

So the best way to query something created from your html->xexp function
would be to use http://docs.racket-lang.org/sxml/sxpath.html rather than
xml/path?

many thanks again.

regards

Phil

On 8 March 2016 at 20:42, Neil Van Dyke  wrote:

> Phil, can you let me know whether this new document clears up everything?
> http://www.neilvandyke.org/racket/sxml-intro/
>
> Neil V.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] html->xexp and parsing Stack Overflow

2016-03-08 Thread phil jones
Hi everyone,

I'm trying to write a little program to extract some data from a web-page.

But when I hit Stack Overflow with it, I'm getting some strange errors (I 
documented them here : 
http://stackoverflow.com/questions/35879617/some-xexpressions-in-racket-dont-pass-xexpr
 )

Now I stumbled across 
https://groups.google.com/forum/#!searchin/racket-users/couple$20of$20questions$20/racket-users/yaOtPkd_qvs/sfTHQ1KrYOcJ
 and I'm now confused.

Is the neil/html-parsing library intended to work with other parts of the xml 
standard library? Or are there different XML formats in Racket? And if so, did 
anyone ever write converters between sxml and xexpr formats? Is this the cause 
of the problem I describe in my Stack Overflow question?

cheers

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.