Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2017 14:32:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 220596] [NEW PORT] shells/xonsh: Python-ish BASH-wards shell
Message-ID:  <bug-220596-21822-gK8DC93kOJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220596-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220596-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220596

Matthew Seaman <matthew@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #184232|0                           |1
        is obsolete|                            |

--- Comment #26 from Matthew Seaman <matthew@FreeBSD.org> ---
Created attachment 184957
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184957&action=
=3Dedit
Fix outstanding problems with the port

This adds:

   * BUILD_DEPENDS on the new devel/py-amalgamate port
   * Mark as NO_ARCH
   * Fix LICENSE

This compiles for me and seems to work, but it generates a nasty looking
exception on startup:

```
% xon.sh-3.6
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inn=
er
    self.run()
  File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py=
",
line 331, in run
    files =3D self.files(only_unlocked=3DTrue)
  File "/usr/local/lib/python3.6/site-packages/xonsh/history/__amalgam__.py=
",
line 353, in files
    boot =3D uptime.boottime()
  File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", =
line
270, in boottime
    up =3D uptime()
  File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", =
line
260, in uptime
    up =3D (_uptime_bsd() or _uptime_plan9() or _uptime_linux() or
  File "/usr/local/lib/python3.6/site-packages/xonsh/xoreutils/uptime.py", =
line
56, in _uptime_linux
    if xp.LIBC.sysinfo(buf) < 0:
AttributeError: 'NoneType' object has no attribute 'sysinfo'


                      Welcome to the xonsh shell (0.5.12)

                     ~ All that is and all that shell be ~

---------------------------------------------------------------------------=
-----
xonfig tutorial    ->    Launch the tutorial in the browser
xonfig wizard      ->    Run the configuration wizard and claim your shell
(Note: Run the Wizard or create a ~/.xonshrc file to suppress the welcome
screen)

matthew@lucid-nonsense ~/work/ports/shells/xonsh $
```

If you can confirm that it functions correctly and if possible come up with
a fix for the exception, then I think we're pretty close to having this
commitable.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220596-21822-gK8DC93kOJ>