Reinteract 0.5.10 released

80 views
Skip to first unread message

Owen Taylor

unread,
Feb 11, 2012, 8:53:32 AM2/11/12
to reint...@googlegroups.com
I've put up a new release of Reinteract. The main point of this release is
that I hope the Windows installer works now, and would like people to test it:

http://www.reinteract.org/download/windows/Reinteract-0.5.10-python2.7.msi

I think the problem was simply some missing files that I didn't notice because I
never tested without removing the libraries I was using to build the installer
from my system. There are still some other remaining issues that need to be
fixed before 0.6.0, so I didn't bother with a Mac binary for 0.5.10.

- Owen

Detailed changes:

* Add export to PDF - new "Page Setup" and "Export to PDF..." menu items
* Allow figure objects to have a set_sidebar_width() method and resize
to the width of the sidebar.
* Store page setup options persistently in ~/.reinteract
* When completing in a statement that has already been executed, complete
to the variables from the current statement, not the previous statement.
* Clear error indications as soon as you start editing a statement.
* Fix file lists for Windows installer
* Emulate the Python core behavior more exactly in some complex import
situations (Reported by Alain Kalker, fixed by Robert Schroll, Me)
* Use a custom documentation formatter to avoid useless, extremely
long module docs (Robert Schroll)
* Miscellaneous bug fixes (Robert Schroll, Me)

Rainer Schuster

unread,
Feb 13, 2012, 8:24:33 AM2/13/12
to reint...@googlegroups.com
The download link doesn't exist. I tried to figure out where the download is located but your fishsoup repo doesn't list any 0.5.10 msi ...

Owen Taylor

unread,
Feb 13, 2012, 11:02:24 AM2/13/12
to reint...@googlegroups.com
Oops, forgot that once I moved www.reinteract.org to github pages I
had to use a different link for downloads. Try:

http://download.reinteract.org/windows/Reinteract-0.5.10-python2.7.msi

Sorry about that,

- Owen

On Mon, Feb 13, 2012 at 8:24 AM, Rainer Schuster <Schuste...@web.de> wrote:
> The download link doesn't exist. I tried to figure out where the download is
> located but your fishsoup repo doesn't list any 0.5.10 msi ...
>

> --
> You received this message because you are subscribed to the Google Groups
> "Reinteract" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/reinteract/-/j1DdLK4ATBgJ.
> To post to this group, send email to reint...@googlegroups.com.
> To unsubscribe from this group, send email to
> reinteract+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/reinteract?hl=en.

Rainer Schuster

unread,
Feb 13, 2012, 2:40:45 PM2/13/12
to reint...@googlegroups.com
Installed in on a Win7 x64. Started the shell. Works like a charm so far ... will give more feedback if there are any issues

Rainer Schuster

unread,
Feb 13, 2012, 3:47:53 PM2/13/12
to reint...@googlegroups.com
Found an issue. I can't acces my modules installed unter %USERPROFILE%\.reinteract\modules.
so after adding it to the path

reinteract_modules = os.path.join(os.environ['USERPROFILE'], r".reinteract\modules")
sys.path.append(reinteract_modules)

now my path looks like:
pprint(sys.path)
[u'C:\\Program Files (x86)\\Reinteract\\python',
 u'C:\\Program Files (x86)\\Reinteract\\external',
 'C:\\Program Files (x86)\\Reinteract\\bin',
 'C:\\Python27\\lib\\site-packages\\distribute-0.6.19-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\pyzmq-2.1.10-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\greenlet-0.3.3-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\numpy-1.6.1-py2.7-win32.egg',
 'C:\\Windows\\system32\\python27.zip',
 'C:\\Python27\\Lib',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\Lib\\lib-tk',
 'C:\\Program Files (x86)\\Reinteract\\bin',
 'C:\\Python27',
 'C:\\Python27\\lib\\site-packages',
 'C:\\Python27\\lib\\site-packages\\win32',
 'C:\\Python27\\lib\\site-packages\\win32\\lib',
 'C:\\Python27\\lib\\site-packages\\Pythonwin',
 'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg-info',
 'C:\\Users\\rainer_s\\.reinteract\\modules']

After adding the modules to the path they're accessible again.

Is there a known working solution for  using rehtml with gtkhtml2 on windows? I searched for a solution but only found a hint to a compiled file working with python25

Owen Taylor

unread,
Feb 13, 2012, 4:45:22 PM2/13/12
to reint...@googlegroups.com
On Mon, Feb 13, 2012 at 3:47 PM, Rainer Schuster <Schuste...@web.de> wrote:
> Found an issue. I can't acces my modules installed unter
> %USERPROFILE%\.reinteract\modules.
> so after adding it to the path
>
> reinteract_modules = os.path.join(os.environ['USERPROFILE'],
> r".reinteract\modules")
> sys.path.append(reinteract_modules)

Reinteract does:

user_ext_path = os.path.expanduser(os.path.join('~', '.reinteract',
'modules'))
if os.path.exists(user_ext_path):
sys.path[0:0] = [user_ext_path]

So, check where os.path.expanduser("~") gives you - the docs for
expanduser say "On Windows, HOME and USERPROFILE will be used if set"
- so maybe HOME is pointing somewhere else?

> Is there a known working solution for  using rehtml with gtkhtml2 on
> windows? I searched for a solution but only found a hint to a compiled file
> working with python25

gtkhtml2 is pretty much entirely unmaintained and unloved. Most people
doing Web embedding these days use WebkitGtk instead, but I'm not
immediately aware of a easy solution for python+webkitgtk+windows,
though you'll find some references if you google around for it.

- Owen

Rainer Schuster

unread,
Feb 13, 2012, 5:29:14 PM2/13/12
to reint...@googlegroups.com
You made my day. My os.environ['HOME'] was set to '%USERPROFILE%' ... fixed it. Thx.

syont

unread,
Feb 13, 2012, 11:19:05 PM2/13/12
to Reinteract
installed on Windows 7 Home Premium (32 bit), printing & export PDF
works fine. thanx so much..

Reinteract:
http://download.reinteract.org/windows/Reinteract-0.5.10-python2.7.msi

Python:
http://www.python.org/ftp/python/2.7/python-2.7.msi


On Feb 13, 11:02 pm, Owen Taylor <otay...@fishsoup.net> wrote:
> Oops, forgot that once I movedwww.reinteract.orgto github pages I
> >http://groups.google.com/group/reinteract?hl=en.- Hide quoted text -
>
> - Show quoted text -

Rainer Schuster

unread,
Feb 15, 2012, 10:52:03 AM2/15/12
to reint...@googlegroups.com
Found another issue:

I've a lot of print statements and would like them to appear on the PDF report, but the printing of the output stops after the current page has ended.
There should be a page measurement for the output in order calculate the neccesarry space needed to be printed.

Owen Taylor

unread,
Feb 15, 2012, 10:59:00 AM2/15/12
to reint...@googlegroups.com
I think what you are running into is described in a comment in
worksheet_print.py

if start_line == self.page_start_line:
# current chunk overflows the page, nothing we can do
without more sophisticated
# logic to break up a single chunk when paginating,
just let the overflow happen
return

So known issue, but feel free to put a bug into bugzilla.gnome.org about it.

- Owen

> --
> You received this message because you are subscribed to the Google Groups
> "Reinteract" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/reinteract/-/fmRlD_DXRz8J.

Reply all
Reply to author
Forward
0 new messages