From owner-freebsd-python@FreeBSD.ORG Tue Nov 26 03:32:17 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46F2AE36 for ; Tue, 26 Nov 2013 03:32:17 +0000 (UTC) Received: from mail-pb0-x231.google.com (mail-pb0-x231.google.com [IPv6:2607:f8b0:400e:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 22D832DE5 for ; Tue, 26 Nov 2013 03:32:17 +0000 (UTC) Received: by mail-pb0-f49.google.com with SMTP id jt11so7163008pbb.36 for ; Mon, 25 Nov 2013 19:32:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=QjyWp+5xKYi4AWDLHmHBt9cS+DYtkULcRLPeihApRR8=; b=yBBYIkLPzwdkksKu0RFXmaHz9mqirKXgBqkzDrCSN7Tradlbp1fcsANGHWmR/ylgXQ xfExccukU5A+ShfJ5Cehf/uG4x9tTciLWaEqK04Olpg/1KnN9Rupuk7OFSZWYe8cqCI1 TfFmJVxIyBZ9uJold18tu+kkdh4G8IfFlk/LJTEVLFJWRUoCYf0+5ltHdmC4Q17CRVY9 YuTQfakD9yzfKsZj0j0qgkLpIc8/JA2Wabiqrs9fJcxuNRpXF0oCN7XsEr8hODu9wAbC INacpk9tW0E83A18E31BM+iWNWW4jlo+I4AW8ok+np+uoAFNbi+J512sgLSVLmr/pmK/ 3goQ== X-Received: by 10.66.170.138 with SMTP id am10mr30184531pac.51.1385436736820; Mon, 25 Nov 2013 19:32:16 -0800 (PST) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id p1sm76866806pbo.12.2013.11.25.19.32.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 19:32:16 -0800 (PST) Message-ID: <5294163A.7040608@FreeBSD.org> Date: Tue, 26 Nov 2013 14:32:10 +1100 From: Kubilay Kocak User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Thunderbird/26.0 MIME-Version: 1.0 To: Claudio , python@FreeBSD.org Subject: Re: Latest update broke py-ranger References: <20131113115915.GA14390@gmail.com> In-Reply-To: <20131113115915.GA14390@gmail.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: koobs@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 03:32:17 -0000 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 (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