Latest update broke py-ranger
Kubilay Kocak
koobs.freebsd at gmail.com
Tue Nov 26 03:32:17 UTC 2013
On 13/11/2013 10:59 PM, Claudio wrote:
> Hello,
>
> Sorry to bother with such a trivial question but since the last update (2.7.5_4)on FreeBSD-10.0-BETA3 py-ranger does not work propery anymore:
>
> ranger version: 1.6.1, executed with python 2.7.5
> Locale: en_US.UTF-8
> Current file: /usr/home/clod/Desktop
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/site-packages/ranger/core/main.py", line 133, in main
> fm.loop()
> File "/usr/local/lib/python2.7/site-packages/ranger/core/fm.py", line 310, in loop
> ui.redraw()
> File "/usr/local/lib/python2.7/site-packages/ranger/gui/ui.py", line 250, in redraw
> self.poke()
> File "/usr/local/lib/python2.7/site-packages/ranger/gui/displayable.py", line 238, in poke
> displayable.poke()
> File "/usr/local/lib/python2.7/site-packages/ranger/gui/widgets/browserview.py", line 364, in poke
> self.resize(self.y, self.x, self.hei, self.wid)
> File "/usr/local/lib/python2.7/site-packages/ranger/gui/widgets/browserview.py", line 277, in resize
> DisplayableContainer.resize(self, y, x, hei, wid)
> File "/usr/local/lib/python2.7/site-packages/ranger/gui/displayable.py", line 161, in resize
> x, y, hei, wid), bad=True)
> File "/usr/local/lib/python2.7/site-packages/ranger/core/actions.py", line 121, in notify
> raise Exception(str(text))
> Exception: Warning: Subwindow size out of bounds for <BrowserView> (x = 0, y = 30196640, hei = 22, wid = 80)
>
>
> What could the cause be?
Hi Claudio, thanks for your report :)
Can I suggest the following:
1) Updating to 2.7.6 (the lang/python27 port was recently updated) and
reproducing the issue on that version
2) Get in touch with the ranger authors to help isolate the issue if
its still reproducible: https://github.com/hut/ranger/
It may be:
a) A regression in recent Python versions
b) An issue with FreeBSD-curses compatibility
c) An issue with the FreeBSD Python port(s)
d) A change in Python curses support that broke ranger
e) A local configuration quirk that only now highlights a problem
Let us know how you go isolating, and we're also available on IRC at
#freebsd-python on FreeNode.
--
koobs
More information about the freebsd-python
mailing list