Re: [racket-dev] Problem with planet and Windows shortcuts
Hi, On Sun, Sep 28, 2014 at 4:06 AM, Matthew Flatt wrote: > To catch up the list: Antonio sent me more information, and the problem > is that Racket was handling symbolic links but not junctions (which are > a different kind of link on Windows). > > Antonio: I've pushed a repair to handle junctions, so let me know if > it works for you. It works! Thanks a lot. BTW, there is a different problem that does not seem to be related to the previous one, where during installation of a planet package, an error/warning message is shown in DrRacket saying make-directory: forbidden (write) access to C:\Users\aml\AppData\Roaming\Racket\planet In spite of the message, the package seems to be correctly installed. As a result, I've been telling my students to ignore the message but, obviously, it would be preferable if the message didn't show up. Best, António. _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Problem with planet and Windows shortcuts
To catch up the list: Antonio sent me more information, and the problem is that Racket was handling symbolic links but not junctions (which are a different kind of link on Windows). Antonio: I've pushed a repair to handle junctions, so let me know if it works for you. At Thu, 18 Sep 2014 12:32:48 +0100, Antonio Menezes Leitao wrote: > Hi, > > On Thu, Sep 18, 2014 at 12:00 PM, Matthew Flatt wrote: > > > I think there must be a problem with v6.1's support for soft links on > > Windows, while previous versions of Racket were oblivious to links on > > Windows. > > > > What does > > > > (resolve-path "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > > > report? > > > > > > (resolve-path "C:\\Users\\aml\\AppData\\Roaming\\Racket") > "C:\\Users\\aml\\AppData\\Roaming\\Racket" > > > Best, > António. > > > At Wed, 17 Sep 2014 17:31:55 +0100, Antonio Menezes Leitao wrote: > > > Hi, > > > > > > Recent versions of Racket for Windows (at least, starting from 6.1.0.3) > > > cannot install packages from planet when Racket's AppData/Roaming/ folder > > > is a shortcut. I'm sure Racket could do it in previous versions. > > > > > > The output I get is: > > > > > > ..\..\Program Files\Racket-6.1.0.3\collects\racket\path.rkt:66:14: > > > normalize-path: element within the input path is not a directory or does > > > not exist > > > element: C:\Users\aml\AppData\Roaming\Racket > > > > > > Here are some additional tests: > > > > > > > (directory-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > > #f > > > > (file-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > > #f > > > > (link-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > > #t > > > > > > The reason why I use a shortcut is simply because I use several different > > > machines which synchronize that folder using Dropbox. > > > > > > Is there a workaround (besides making > > C:\Users\aml\AppData\Roaming\Racket a > > > regular folder)? > > > > > > Best, > > > António. > > > _ > > > Racket Developers list: > > > http://lists.racket-lang.org/dev > > > > _ > > Racket Developers list: > > http://lists.racket-lang.org/dev > > _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Problem with planet and Windows shortcuts
Hi, On Thu, Sep 18, 2014 at 12:00 PM, Matthew Flatt wrote: > I think there must be a problem with v6.1's support for soft links on > Windows, while previous versions of Racket were oblivious to links on > Windows. > > What does > > (resolve-path "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > report? > > > (resolve-path "C:\\Users\\aml\\AppData\\Roaming\\Racket") "C:\\Users\\aml\\AppData\\Roaming\\Racket" Best, António. At Wed, 17 Sep 2014 17:31:55 +0100, Antonio Menezes Leitao wrote: > > Hi, > > > > Recent versions of Racket for Windows (at least, starting from 6.1.0.3) > > cannot install packages from planet when Racket's AppData/Roaming/ folder > > is a shortcut. I'm sure Racket could do it in previous versions. > > > > The output I get is: > > > > ..\..\Program Files\Racket-6.1.0.3\collects\racket\path.rkt:66:14: > > normalize-path: element within the input path is not a directory or does > > not exist > > element: C:\Users\aml\AppData\Roaming\Racket > > > > Here are some additional tests: > > > > > (directory-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > #f > > > (file-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > #f > > > (link-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > > #t > > > > The reason why I use a shortcut is simply because I use several different > > machines which synchronize that folder using Dropbox. > > > > Is there a workaround (besides making > C:\Users\aml\AppData\Roaming\Racket a > > regular folder)? > > > > Best, > > António. > > _ > > Racket Developers list: > > http://lists.racket-lang.org/dev > > _ > Racket Developers list: > http://lists.racket-lang.org/dev > _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Problem with planet and Windows shortcuts
I think there must be a problem with v6.1's support for soft links on Windows, while previous versions of Racket were oblivious to links on Windows. What does (resolve-path "C:\\Users\\aml\\AppData\\Roaming\\Racket") report? At Wed, 17 Sep 2014 17:31:55 +0100, Antonio Menezes Leitao wrote: > Hi, > > Recent versions of Racket for Windows (at least, starting from 6.1.0.3) > cannot install packages from planet when Racket's AppData/Roaming/ folder > is a shortcut. I'm sure Racket could do it in previous versions. > > The output I get is: > > ..\..\Program Files\Racket-6.1.0.3\collects\racket\path.rkt:66:14: > normalize-path: element within the input path is not a directory or does > not exist > element: C:\Users\aml\AppData\Roaming\Racket > > Here are some additional tests: > > > (directory-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > #f > > (file-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > #f > > (link-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") > #t > > The reason why I use a shortcut is simply because I use several different > machines which synchronize that folder using Dropbox. > > Is there a workaround (besides making C:\Users\aml\AppData\Roaming\Racket a > regular folder)? > > Best, > António. > _ > Racket Developers list: > http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev
[racket-dev] Problem with planet and Windows shortcuts
Hi, Recent versions of Racket for Windows (at least, starting from 6.1.0.3) cannot install packages from planet when Racket's AppData/Roaming/ folder is a shortcut. I'm sure Racket could do it in previous versions. The output I get is: ..\..\Program Files\Racket-6.1.0.3\collects\racket\path.rkt:66:14: normalize-path: element within the input path is not a directory or does not exist element: C:\Users\aml\AppData\Roaming\Racket Here are some additional tests: > (directory-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") #f > (file-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") #f > (link-exists? "C:\\Users\\aml\\AppData\\Roaming\\Racket") #t The reason why I use a shortcut is simply because I use several different machines which synchronize that folder using Dropbox. Is there a workaround (besides making C:\Users\aml\AppData\Roaming\Racket a regular folder)? Best, António. _ Racket Developers list: http://lists.racket-lang.org/dev