9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] mercurial builds
@ 2007-04-14  5:20 ron minnich
  2007-04-14 15:30 ` Devon H. O'Dell
  0 siblings, 1 reply; 2+ messages in thread
From: ron minnich @ 2007-04-14  5:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Ain't I the sleaze:

cpu% touch Plan9/inttypes.h
cpu% mkdir -p Plan9/arpa
cpu% touch Plan9/arpa/inet.h
cpu%

and voila:

cpu% python
Python 2.4.3 (#0, Jan 17 2007, 19:49:53) [C] on unknown
Type "help", "copyright", "credits" or "license" for more information.
>>> from mercurial import commands
>>> commands.run()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/commands.py",
line 3000, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/commands.py",
line 3114, in dispatch
    num = getattr(signal, name, None)
  File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/demandload.py",
line 61, in __getattribute__
    module = object.__getattribute__(self, 'module')()
  File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/demandload.py",
line 54, in module
    return object.__getattribute__(self, 'importer').module()
  File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/demandload.py",
line 30, in module
    self.fromlist)
ImportError: No module named signal
>>>

So now we need signals. that are integers. But hey, the import
actually worked ...

ron


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] mercurial builds
  2007-04-14  5:20 [9fans] mercurial builds ron minnich
@ 2007-04-14 15:30 ` Devon H. O'Dell
  0 siblings, 0 replies; 2+ messages in thread
From: Devon H. O'Dell @ 2007-04-14 15:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

2007/4/14, ron minnich <rminnich@gmail.com>:
> Ain't I the sleaze:
>
> cpu% touch Plan9/inttypes.h
> cpu% mkdir -p Plan9/arpa
> cpu% touch Plan9/arpa/inet.h
> cpu%
>
> and voila:
>
> cpu% python
> Python 2.4.3 (#0, Jan 17 2007, 19:49:53) [C] on unknown
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from mercurial import commands
> >>> commands.run()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/commands.py",
> line 3000, in run
>     sys.exit(dispatch(sys.argv[1:]))
>   File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/commands.py",
> line 3114, in dispatch
>     num = getattr(signal, name, None)
>   File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/demandload.py",
> line 61, in __getattribute__
>     module = object.__getattribute__(self, 'module')()
>   File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/demandload.py",
> line 54, in module
>     return object.__getattribute__(self, 'importer').module()
>   File "/sys/lib/python2.4/lib/python2.4/site-packages/mercurial/demandload.py",
> line 30, in module
>     self.fromlist)
> ImportError: No module named signal
> >>>
>
> So now we need signals. that are integers. But hey, the import
> actually worked ...

This is as far as I got when I tried doing it the last couple of
times. Like I said, I didn't do more because I didn't feel like doing
signal -> note conversion (didn't have time at work). When I looked
into it earlier, the only reason it needs signals is in the case that
you signal it in the middle of an operation, it can clean up, if
necessary. It's not actually a requirement for Hg to work.

> ron

--dho


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-14 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-14  5:20 [9fans] mercurial builds ron minnich
2007-04-14 15:30 ` Devon H. O'Dell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).