Re: xcrysden on Ventura

2023-03-11 Thread David Strubbe
Hello Jianxin,

Did you try running the testsuite (port test xcrysden) or trying some other
examples?

David

On Sat, Mar 11, 2023 at 4:14 PM Zhu, Jianxin via macports-users <
macports-users@lists.macports.org> wrote:

> Hello,
>
>
>
> I recently upgraded my Macbook computer (intel processor) OS to Ventura
> and reinstalled MacPorts.
>
> After I port installed xcrysden (1.6.2), I try to visualize a Wien2k
> struct file.
>
> But the program is stuck at the following and no image comes up.
>
> Any help is appreciated.
>
>
>
> Thanks,
>
>
>
> Jianxin
>
>
>
> +-+
>
> |*|
>
> |*   *|
>
> |*  XCrySDen -- (X-Window) CRYstalline Structures and DENsities  *|
>
> |*   = === =  ===*|
>
> |*---*|
>
> |*   *|
>
> |*Anton Kokalj (tone.kok...@ijs.si)  *|
>
> |*Jozef Stefan Institute, Ljubljana, Slovenia*|
>
> |*   *|
>
> |*Copyright (c) 1996--2019 by Anton Kokalj   *|
>
> |*   *|
>
> |*|
>
> +-+
>
>
>
>   Version: 1.6.2
>
>
>
>   Please report bugs to: tone.kok...@ijs.si
>
>
>
>
>
>   TERMS OF USE:
>
>   -
>
>   XCRYSDEN is released under the GNU General Public License.
>
>
>
>   Whenever graphics generated by XCRYSDEN are used in scientific
>
>   publications, it shall be greatly appreciated to include an explicit
>
>   reference. The preferred form is the following:
>
>
>
>   [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.
>
> Code available from http://www.xcrysden.org/.
>
>
>
>
>
> XCRYSDEN_TOPDIR=/opt/local/share/xcrysden-1.6.2
>
> XCRYSDEN_SCRATCH=/var/folders/d6/987tghwd307_6djp3bhs765cgp/T/
>
>
>
> Running on platform : unix
>
>Operating system : Darwin
>
> Package ImageMagick's convert: /opt/local/bin/convert
>
> Package ImageMagick's import: /opt/local/bin/import
>
> Package Gifsicle: /opt/local/bin/gifsicle
>
> Package Whirlgif: /opt/local/bin/whirlgif
>
> Package Mencoder: /opt/local/bin/mencoder
>
> Package Ppmtompeg: /opt/local/bin/ppmtompeg
>
> Package Xwd: /opt/X11/bin/xwd
>
> Executing: /opt/local/lib/xcrysden-1.6.2/ftnunit
>
> Viewer: mesaWid = .mesa
>
> Executing: /opt/local/lib/xcrysden-1.6.2/str2xcr TiC
>
> SetWatchCursor: .menu
>
> SetWatchCursor: .mesa
>
> SetWatchCursor: .ctrl
>
> SetWatchCursor: .mea
>
> SetWatchCursor: .close
>
> SetWatchCursor: .#BWidget
>
> SetWatchCursor: .__tk_filedialog
>
> Executing: /opt/local/lib/xcrysden-1.6.2/gengeom 0 1 21 1 1 1 1
> /var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_gengeom.95436
> /var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_str2xcr.95436
>
> SetWatchCursor: .menu
>
> SetWatchCursor: .mesa
>
> SetWatchCursor: .ctrl
>
> SetWatchCursor: .mea
>
> SetWatchCursor: .close
>
> SetWatchCursor: .#BWidget
>
> SetWatchCursor: .__tk_filedialog
>
> Executing: /opt/local/lib/xcrysden-1.6.2/gengeom 2 1 21 5 1 1 1
> /var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_struc.95436
> /var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_str2xcr.95436
>
> SetWatchCursor: .menu
>
> SetWatchCursor: .mesa
>
> SetWatchCursor: .ctrl
>
> SetWatchCursor: .mea
>
> SetWatchCursor: .close
>
> SetWatchCursor: .#BWidget
>
> SetWatchCursor: .__tk_filedialog
>
> reading PRIMCOORD
>
> reading CONVCOORD
>
> Number of Atoms:  27
>
> Number of Frames: 12
>
> natoms: 27 , ndel: 0
>
> Filtered number of atoms: 27
>
> Estimated number of bonds = 108
>
> sInfo(dim) = 3; periodic(dim) = 3
>
>
>
>
>
>
>


xcrysden on Ventura

2023-03-11 Thread Zhu, Jianxin via macports-users
Hello,

I recently upgraded my Macbook computer (intel processor) OS to Ventura and 
reinstalled MacPorts.
After I port installed xcrysden (1.6.2), I try to visualize a Wien2k struct 
file.
But the program is stuck at the following and no image comes up.
Any help is appreciated.

Thanks,

Jianxin


+-+

|*|

|*   *|

|*  XCrySDen -- (X-Window) CRYstalline Structures and DENsities  *|

|*   = === =  ===*|

|*---*|

|*   *|

|*Anton Kokalj (tone.kok...@ijs.si)  
*|

|*Jozef Stefan Institute, Ljubljana, Slovenia*|

|*   *|

|*Copyright (c) 1996--2019 by Anton Kokalj   *|

|*   *|

|*|

+-+



  Version: 1.6.2



  Please report bugs to: tone.kok...@ijs.si





  TERMS OF USE:

  -

  XCRYSDEN is released under the GNU General Public License.



  Whenever graphics generated by XCRYSDEN are used in scientific

  publications, it shall be greatly appreciated to include an explicit

  reference. The preferred form is the following:



  [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.

Code available from http://www.xcrysden.org/.



XCRYSDEN_TOPDIR=/opt/local/share/xcrysden-1.6.2

XCRYSDEN_SCRATCH=/var/folders/d6/987tghwd307_6djp3bhs765cgp/T/



Running on platform : unix

   Operating system : Darwin

Package ImageMagick's convert: /opt/local/bin/convert

Package ImageMagick's import: /opt/local/bin/import

Package Gifsicle: /opt/local/bin/gifsicle

Package Whirlgif: /opt/local/bin/whirlgif

Package Mencoder: /opt/local/bin/mencoder

Package Ppmtompeg: /opt/local/bin/ppmtompeg

Package Xwd: /opt/X11/bin/xwd

Executing: /opt/local/lib/xcrysden-1.6.2/ftnunit

Viewer: mesaWid = .mesa

Executing: /opt/local/lib/xcrysden-1.6.2/str2xcr TiC

SetWatchCursor: .menu

SetWatchCursor: .mesa

SetWatchCursor: .ctrl

SetWatchCursor: .mea

SetWatchCursor: .close

SetWatchCursor: .#BWidget

SetWatchCursor: .__tk_filedialog

Executing: /opt/local/lib/xcrysden-1.6.2/gengeom 0 1 21 1 1 1 1 
/var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_gengeom.95436 
/var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_str2xcr.95436

SetWatchCursor: .menu

SetWatchCursor: .mesa

SetWatchCursor: .ctrl

SetWatchCursor: .mea

SetWatchCursor: .close

SetWatchCursor: .#BWidget

SetWatchCursor: .__tk_filedialog

Executing: /opt/local/lib/xcrysden-1.6.2/gengeom 2 1 21 5 1 1 1 
/var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_struc.95436 
/var/folders/d6/987tghwd307_6djp3bhs765cgp/T//xc_95436/xc_str2xcr.95436

SetWatchCursor: .menu

SetWatchCursor: .mesa

SetWatchCursor: .ctrl

SetWatchCursor: .mea

SetWatchCursor: .close

SetWatchCursor: .#BWidget

SetWatchCursor: .__tk_filedialog

reading PRIMCOORD

reading CONVCOORD

Number of Atoms:  27

Number of Frames: 12

natoms: 27 , ndel: 0

Filtered number of atoms: 27

Estimated number of bonds = 108

sInfo(dim) = 3; periodic(dim) = 3





Re: ruby

2023-03-11 Thread Austin Ziegler
Change that toexport PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/opt/local/share/man:/usr/X11/bin:$PATH-aOn Mar 11, 2023, at 14:03, chilli.names...@gmail.com wrote:Thank you, I will check thatI haveexport PATH=$PATH:$HOME/bin:/opt/local/bin:/opt/local/sbin:/opt/local/share/man:/usr/X11/binin my .bash_profile, but echo $PATH shows what you expected:dude@mac:~$ echo $PATH/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dude/bin:/opt/local/bin:/opt/local/sbin...ok, I have something new to work out.On Mar 11, 2023, at 13:49, Austin Ziegler  wrote:No problem. The system ruby showing up instead of MacPorts-installed Ruby would be *probably* because your $PATH has `/opt/local/bin` *after* `/usr/bin`. Typically, one wants to have Macports (or other third-party package systems) *before* /usr/local/bin and /usr/bin.-aOn Sat, Mar 11, 2023 at 1:46 PM chilli.names...@gmail.com  wrote:root@mac:~$ ruby -S gem install coltraneERROR:  Error installing coltrane:activesupport requires Ruby version >= 2.7.0.Unfortunately, Mojave:ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]So I install ruby 2.7.7root@mac:~$ port -vsN install ruby27--->  Cleaning ruby27--->  Removing work directory for ruby27--->  Updating database of binaries--->  Scanning binaries for linking errors--->  No broken files found.--->  No broken ports found.--->  Some of the ports you installed have notes:  ruby27 has the following notes:To make this the default Ruby (i.e., the version run by the 'ruby', 'gem' or 'bundle' commands), run:sudo port select --set ruby ruby27root@mac:~$ port select --set ruby ruby27Selecting 'ruby27' for 'ruby' succeeded. 'ruby27' is now active.root@mac:~$ ruby -S gem install coltraneERROR:  Error installing coltrane:activesupport requires Ruby version >= 2.7.0.grrr... it's still trying to use /usr/bin/rubybutroot@mac:~$ /opt/local/bin/ruby -S gem install coltraneinstalled it.idky my ruby $PATH seems stuck on /usr/bin/ruby, but thanks to your tip, I was able to  install coltrane, and it seems to be working. Neato CLI music utility.Thank you, Austin!On Mar 11, 2023, at 13:14, Austin Ziegler  wrote:I don’t use Macports Ruby (I use `ruby-install`), but try this:sudo ruby -S gem install coltraneRuby since Ruby 2.x has included Rubygems, and since a bit later than that, Bundler.-aOn Sat, Mar 11, 2023 at 1:06 PM chilli.names...@gmail.com  wrote:Hi,I need a quick ruby primer, please.I'd like to install this,https://github.com/pedrozath/coltranesudo gem install coltranewon't work because I'm on Mojave with an an ancient ruby and this requires ruby 2.7 or above.sudo port -vsN install rubyinstalls ruby18 by defaultsudo port -vsN install ruby27sudo port select --set ruby ruby27installs, but gem still complains.just guessing at this point:port -vsN install rb-rubygemsreinstalls ruby18 >

Re: ruby

2023-03-11 Thread chilli.names...@gmail.com
They all point to the old system versions

My $PATH is pretty screwed up.

Thanks.

> On Mar 11, 2023, at 13:50, Bill Cole 
>  wrote:
> 
> On 2023-03-11 at 13:05:54 UTC-0500 (Sat, 11 Mar 2023 13:05:54 -0500)
> 
> is rumored to have said:
> 
>> Hi,
>> I need a quick ruby primer, please.
>> 
>> I'd like to install this,
>> https://github.com/pedrozath/coltrane
>> 
>>> sudo gem install coltrane
>> 
>> 
>> won't work because I'm on Mojave with an an ancient ruby and this requires 
>> ruby 2.7 or above.
>> 
>> 
>>> sudo port -vsN install ruby
>> 
>> 
>> installs ruby18 by default
>> 
>>> sudo port -vsN install ruby27
>>> sudo port select --set ruby ruby27
>> 
>> installs, but gem still complains.
> 
> What does 'which ruby' say?
> How about 'sudo which ruby' ?
> How about 'sudo which gem' ?
> 
> Make sure /opt/local/bin comes before /usr/bin in your $PATH.
> 
>> just guessing at this point:
>>> port -vsN install rb-rubygems
>> 
>> 
>> reinstalls ruby18 ><
> 
> Yes. The "ruby" port appears to be pegged at 1.8.7.
> 
>> Help, please.
> 
> Worst case: The ruby?? ports each install their executable binaries in 
> /opt/local/bin, so if for some reason reinstalling a recent ruby port and 
> 'port select'ing it doesn't work, you can try:
> 
> sudo /opt/local/bin/gem3.0 install coltrane
> 
> Or whatever version of ruby you choose.
> 
> 
> -- 
> Bill Cole
> b...@scconsult.com or billc...@apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire


Re: ruby

2023-03-11 Thread chilli.names...@gmail.com
Thank you, I will check that

I have

> export 
> PATH=$PATH:$HOME/bin:/opt/local/bin:/opt/local/sbin:/opt/local/share/man:/usr/X11/bin


in my .bash_profile, but echo $PATH shows what you expected:

> dude@mac:~$ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dude/bin:/opt/local/bin:/opt/local/sbin...

ok, I have something new to work out.

> On Mar 11, 2023, at 13:49, Austin Ziegler  wrote:
> 
> 
> No problem. The system ruby showing up instead of MacPorts-installed Ruby 
> would be *probably* because your $PATH has `/opt/local/bin` *after* 
> `/usr/bin`. Typically, one wants to have Macports (or other third-party 
> package systems) *before* /usr/local/bin and /usr/bin.
> 
> -a
> 
>> On Sat, Mar 11, 2023 at 1:46 PM chilli.names...@gmail.com 
>>  wrote:
>> 
>> 
>>> root@mac:~$ ruby -S gem install coltrane
>>> ERROR:  Error installing coltrane:
>>> activesupport requires Ruby version >= 2.7.0.
>> 
>> 
>> Unfortunately, Mojave:
>> ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
>> 
>> So I install ruby 2.7.7
>> 
>>> root@mac:~$ port -vsN install ruby27
>>> 
>>> --->  Cleaning ruby27
>>> --->  Removing work directory for ruby27
>>> --->  Updating database of binaries
>>> --->  Scanning binaries for linking errors
>>> --->  No broken files found.
>>> --->  No broken ports found.
>>> --->  Some of the ports you installed have notes:
>>> ruby27 has the following notes:
>>> To make this the default Ruby (i.e., the version run by the 'ruby', 'gem' 
>>> or 'bundle' commands), run:
>>> sudo port select --set ruby ruby27
>>> root@mac:~$ port select --set ruby ruby27
>>> Selecting 'ruby27' for 'ruby' succeeded. 'ruby27' is now active.
>>> root@mac:~$ ruby -S gem install coltrane
>>> ERROR:  Error installing coltrane:
>>> activesupport requires Ruby version >= 2.7.0.
>> 
>> grrr... it's still trying to use /usr/bin/ruby
>> 
>> but
>> 
>>> root@mac:~$ /opt/local/bin/ruby -S gem install coltrane
>> 
>> installed it.
>> 
>> idky my ruby $PATH seems stuck on /usr/bin/ruby, but thanks to your tip, I 
>> was able to  install coltrane, and it seems to be working. Neato CLI music 
>> utility.
>> 
>> Thank you, Austin!
>> 
 On Mar 11, 2023, at 13:14, Austin Ziegler  wrote:
 
>>> 
>>> I don’t use Macports Ruby (I use `ruby-install`), but try this:
>>> 
>>> sudo ruby -S gem install coltrane
>>> 
>>> Ruby since Ruby 2.x has included Rubygems, and since a bit later than that, 
>>> Bundler.
>>> 
>>> -a
>>> 
 On Sat, Mar 11, 2023 at 1:06 PM chilli.names...@gmail.com 
  wrote:
 Hi,
 I need a quick ruby primer, please.
 
 I'd like to install this,
 https://github.com/pedrozath/coltrane
 
> sudo gem install coltrane
 
 
 won't work because I'm on Mojave with an an ancient ruby and this requires 
 ruby 2.7 or above.
 
> sudo port -vsN install ruby
 
 
 installs ruby18 by default
 
> sudo port -vsN install ruby27
> sudo port select --set ruby ruby27
 
 installs, but gem still complains.
 
 just guessing at this point:
> port -vsN install rb-rubygems
 
 
 reinstalls ruby18 ><
 
 
 Help, please.
>>> 
>>> 
>>> -- 
>>> Austin Ziegler • halosta...@gmail.com • aus...@halostatue.ca
>>> http://www.halostatue.ca/ • http://twitter.com/halostatue
> 
> 
> -- 
> Austin Ziegler • halosta...@gmail.com • aus...@halostatue.ca
> http://www.halostatue.ca/ • http://twitter.com/halostatue


Re: ruby

2023-03-11 Thread Bill Cole

On 2023-03-11 at 13:05:54 UTC-0500 (Sat, 11 Mar 2023 13:05:54 -0500)
 
is rumored to have said:


Hi,
I need a quick ruby primer, please.

I'd like to install this,
https://github.com/pedrozath/coltrane


sudo gem install coltrane



won't work because I'm on Mojave with an an ancient ruby and this 
requires ruby 2.7 or above.




sudo port -vsN install ruby



installs ruby18 by default


sudo port -vsN install ruby27
sudo port select --set ruby ruby27


installs, but gem still complains.


What does 'which ruby' say?
How about 'sudo which ruby' ?
How about 'sudo which gem' ?

Make sure /opt/local/bin comes before /usr/bin in your $PATH.


just guessing at this point:

port -vsN install rb-rubygems



reinstalls ruby18 ><


Yes. The "ruby" port appears to be pegged at 1.8.7.


Help, please.


Worst case: The ruby?? ports each install their executable binaries in 
/opt/local/bin, so if for some reason reinstalling a recent ruby port 
and 'port select'ing it doesn't work, you can try:


sudo /opt/local/bin/gem3.0 install coltrane

Or whatever version of ruby you choose.


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


Re: ruby

2023-03-11 Thread Austin Ziegler
No problem. The system ruby showing up instead of MacPorts-installed Ruby
would be *probably* because your $PATH has `/opt/local/bin` *after*
`/usr/bin`. Typically, one wants to have Macports (or other third-party
package systems) *before* /usr/local/bin and /usr/bin.

-a

On Sat, Mar 11, 2023 at 1:46 PM chilli.names...@gmail.com <
chilli.names...@gmail.com> wrote:

> 
>
> root@mac:~$ ruby -S gem install coltrane
> ERROR:  Error installing coltrane:
> activesupport requires Ruby version >= 2.7.0.
>
>
> Unfortunately, Mojave:
> ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
>
> So I install ruby 2.7.7
>
> root@mac:~$ port -vsN install ruby27
>
> 
> --->  Cleaning ruby27
> --->  Removing work directory for ruby27
> --->  Updating database of binaries
> --->  Scanning binaries for linking errors
> --->  No broken files found.
> --->  No broken ports found.
> --->  Some of the ports you installed have notes:
> ruby27 has the following notes:
> To make this the default Ruby (i.e., the version run by the 'ruby', 'gem'
> or 'bundle' commands), run:
> sudo port select --set ruby ruby27
> root@mac:~$ port select --set ruby ruby27
> Selecting 'ruby27' for 'ruby' succeeded. 'ruby27' is now active.
> root@mac:~$ ruby -S gem install coltrane
> ERROR:  Error installing coltrane:
> activesupport requires Ruby version >= 2.7.0.
>
>
> grrr... it's still trying to use /usr/bin/ruby
>
> but
>
> root@mac:~$ /opt/local/bin/ruby -S gem install coltrane
>
>
> installed it.
>
> idky my ruby $PATH seems stuck on /usr/bin/ruby, but thanks to your tip, I
> was able to  install coltrane, and it seems to be working. Neato CLI music
> utility.
>
> Thank you, Austin!
>
> On Mar 11, 2023, at 13:14, Austin Ziegler  wrote:
>
> 
> I don’t use Macports Ruby (I use `ruby-install`), but try this:
>
> sudo ruby -S gem install coltrane
>
> Ruby since Ruby 2.x has included Rubygems, and since a bit later than
> that, Bundler.
>
> -a
>
> On Sat, Mar 11, 2023 at 1:06 PM chilli.names...@gmail.com <
> chilli.names...@gmail.com> wrote:
>
>> Hi,
>> I need a quick ruby primer, please.
>>
>> I'd like to install this,
>> https://github.com/pedrozath/coltrane
>>
>> sudo gem install coltrane
>>
>>
>> won't work because I'm on Mojave with an an ancient ruby and this
>> requires ruby 2.7 or above.
>>
>> sudo port -vsN install ruby
>>
>>
>> installs ruby18 by default
>>
>> sudo port -vsN install ruby27
>> sudo port select --set ruby ruby27
>>
>>
>> installs, but gem still complains.
>>
>> just guessing at this point:
>>
>> port -vsN install rb-rubygems
>>
>>
>> reinstalls ruby18 ><
>>
>>
>> Help, please.
>>
>
>
> --
> Austin Ziegler • halosta...@gmail.com • aus...@halostatue.ca
> http://www.halostatue.ca/ • http://twitter.com/halostatue
>
>

-- 
Austin Ziegler • halosta...@gmail.com • aus...@halostatue.ca
http://www.halostatue.ca/ • http://twitter.com/halostatue


Re: ruby

2023-03-11 Thread chilli.names...@gmail.com


> root@mac:~$ ruby -S gem install coltrane
> ERROR:  Error installing coltrane:
> activesupport requires Ruby version >= 2.7.0.


Unfortunately, Mojave:
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]

So I install ruby 2.7.7

> root@mac:~$ port -vsN install ruby27
> 
> --->  Cleaning ruby27
> --->  Removing work directory for ruby27
> --->  Updating database of binaries
> --->  Scanning binaries for linking errors
> --->  No broken files found.
> --->  No broken ports found.
> --->  Some of the ports you installed have notes:
> ruby27 has the following notes:
> To make this the default Ruby (i.e., the version run by the 'ruby', 'gem' 
> or 'bundle' commands), run:
> sudo port select --set ruby ruby27
> root@mac:~$ port select --set ruby ruby27
> Selecting 'ruby27' for 'ruby' succeeded. 'ruby27' is now active.
> root@mac:~$ ruby -S gem install coltrane
> ERROR:  Error installing coltrane:
> activesupport requires Ruby version >= 2.7.0.

grrr... it's still trying to use /usr/bin/ruby

but

> root@mac:~$ /opt/local/bin/ruby -S gem install coltrane

installed it.

idky my ruby $PATH seems stuck on /usr/bin/ruby, but thanks to your tip, I was 
able to  install coltrane, and it seems to be working. Neato CLI music utility.

Thank you, Austin!

> On Mar 11, 2023, at 13:14, Austin Ziegler  wrote:
> 
> I don’t use Macports Ruby (I use `ruby-install`), but try this:
> 
> sudo ruby -S gem install coltrane
> 
> Ruby since Ruby 2.x has included Rubygems, and since a bit later than that, 
> Bundler.
> 
> -a
> 
> On Sat, Mar 11, 2023 at 1:06 PM chilli.names...@gmail.com 
>  wrote:
>> Hi,
>> I need a quick ruby primer, please.
>> 
>> I'd like to install this,
>> https://github.com/pedrozath/coltrane
>> 
>>> sudo gem install coltrane
>> 
>> 
>> won't work because I'm on Mojave with an an ancient ruby and this requires 
>> ruby 2.7 or above.
>> 
>>> sudo port -vsN install ruby
>> 
>> 
>> installs ruby18 by default
>> 
>>> sudo port -vsN install ruby27
>>> sudo port select --set ruby ruby27
>> 
>> installs, but gem still complains.
>> 
>> just guessing at this point:
>>> port -vsN install rb-rubygems
>> 
>> 
>> reinstalls ruby18 ><
>> 
>> 
>> Help, please.
> 
> 
> -- 
> Austin Ziegler • halosta...@gmail.com • aus...@halostatue.ca
> http://www.halostatue.ca/ • http://twitter.com/halostatue


ruby

2023-03-11 Thread chilli.names...@gmail.com
Hi,
I need a quick ruby primer, please.

I'd like to install this,
https://github.com/pedrozath/coltrane

> sudo gem install coltrane


won't work because I'm on Mojave with an an ancient ruby and this requires ruby 
2.7 or above.

> sudo port -vsN install ruby


installs ruby18 by default

> sudo port -vsN install ruby27
> sudo port select --set ruby ruby27

installs, but gem still complains.

just guessing at this point:
> port -vsN install rb-rubygems


reinstalls ruby18 ><


Help, please.

Re: MacPorts borg is broken?

2023-03-11 Thread Kenneth Wolcott
Thank you for the info.

On Sat, Mar 11, 2023 at 3:44 AM Clemens Lang  wrote:
>
> Hi,
>
> On Fri, Mar 10, 2023 at 10:25:33PM -0800, Kenneth Wolcott wrote:
> > Hi;
> >
> > A script that I wrote which calls borg reported the following:
> > ***
> > You do not have a supported version of the msgpack python package
> > installed. Terminating.
> > This should never happen as specific, supported versions are required
> > by our setup.py.
> > Do not contact borgbackup support about this.
> > ***
> >
> >  which borg
> > /opt/local/bin/borg
> >
> > borg --version
> > borg 1.2.3
> >
> > port installed | grep msgpack
> >   py310-msgpack @1.0.4_2
> >   py310-msgpack @1.0.5_0 (active)
> >
> > port installed | grep borg
> >   borgbackup @1.2.3_0 (active)
> >
> >   I
> >
> > I was successfully using my backup script based on borg for several
> > months now (running it every time I go a local git commit), but
> > tonight it fails with the above error message.
> >
> > I tried to fix this problem by uninstalling borg and reinstalling it,
> > but still get the same error.
> >
> > I was using borg from homebrew last year, but I moved completely to
> > MacPorts for some while now.
> >
> > I'd rather use MacPorts than going back to homebrew, or trying to
> > build from source (not sure if a compatible downloadable binary
> > exists).
>
> See https://github.com/macports/macports-ports/pull/17934. Borg upstream
> seems to think the devil lurks behind every new minor release of the
> msgpack library upstream and wants to whitelist them manually. Upstream
> did that yesterday in
>
>   
> https://github.com/borgbackup/borg/commit/2842463f21499e3cb0258283ba4f0e349e46678e,
>
> and the PR above backports this change, since upstream has not yet
> released a new version of borg with this change merged.
>
> --
> Clemens
>


Re: MacPorts borg is broken?

2023-03-11 Thread Clemens Lang
Hi,

On Fri, Mar 10, 2023 at 10:25:33PM -0800, Kenneth Wolcott wrote:
> Hi;
> 
> A script that I wrote which calls borg reported the following:
> ***
> You do not have a supported version of the msgpack python package
> installed. Terminating.
> This should never happen as specific, supported versions are required
> by our setup.py.
> Do not contact borgbackup support about this.
> ***
> 
>  which borg
> /opt/local/bin/borg
> 
> borg --version
> borg 1.2.3
> 
> port installed | grep msgpack
>   py310-msgpack @1.0.4_2
>   py310-msgpack @1.0.5_0 (active)
> 
> port installed | grep borg
>   borgbackup @1.2.3_0 (active)
> 
>   I
> 
> I was successfully using my backup script based on borg for several
> months now (running it every time I go a local git commit), but
> tonight it fails with the above error message.
> 
> I tried to fix this problem by uninstalling borg and reinstalling it,
> but still get the same error.
> 
> I was using borg from homebrew last year, but I moved completely to
> MacPorts for some while now.
> 
> I'd rather use MacPorts than going back to homebrew, or trying to
> build from source (not sure if a compatible downloadable binary
> exists).

See https://github.com/macports/macports-ports/pull/17934. Borg upstream
seems to think the devil lurks behind every new minor release of the
msgpack library upstream and wants to whitelist them manually. Upstream
did that yesterday in

  
https://github.com/borgbackup/borg/commit/2842463f21499e3cb0258283ba4f0e349e46678e,

and the PR above backports this change, since upstream has not yet
released a new version of borg with this change merged.

-- 
Clemens