{5} Assigned, Active Tickets by Owner (Full Description) (21 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

antont

Ticket Summary Component Milestone Type Severity Created
Description
#2 Notebook file format validator nbdoc defect normal 08/14/05

I need something that can find errors in the notebook file and give sufficient information for the user to correct them. It should find xml syntax errors, and errors in the structure of the file. Can it be done? The first part is probably hard, the lxml tracebacks give very little info on the error, so probably some modifications in lxml are required.


#10 reST <-> DocBook conversion nbdoc defect normal 09/05/05

reST is much easier to use than DocBook? and it since it is plain text it's easy to make a control for editing it. So do you know anything about DocBook?->reST convertion? I found a reST->DocBook? convertor at http://docutils.sourceforge.net/sandbox/oliverr/docbook, but I need both. I'll study some XML, DocBook? and Docutils to see if it can be done, but I have little experience in that matter.


bgranger

Ticket Summary Component Milestone Type Severity Created
Description
#218 Move ipython1 to the new coding convention ipython1 0.9.0 task normal 02/04/08

Up until now we were using lowerCamelCase in ipython1. We have decided to move to lowercase_with_underscores. We now need to go through ipython1 and move to this new convention. We should however, provide shadow names to the old convention for public interfaces (RemoteController? and TaskController?).


#222 Get paging working for PB. ipython1 0.9.0 enhancement normal 02/04/08

We really need to be able to take advantage of PBs paging capabilities. But they are broken. Here is a discussions of the problems:

Overview of PB Paging =====================

There are two sides involved, the sender and the receiver.

There are three basic Twisted classes involved:

* Pager: Instantiated on sender side with reference to remote collector. * CallbackPageCollector?: Instantiated on receiver side. * Broker: Manages things on both sides.

First, a collector is created on the receiver. It has two methods::

def remote_gotPage(self, page):

self.pages.append(page)

def remote_endedPaging(self):

self.callback(self.pages)

The first methods, remote_gotPage, is called by the sender to send a page. The second, remote_endedPaging, is called by the sender when there are no more pages.

Second, the sender creates a Pager with a reference to the remote collector. This causes the Pager to be registered with the collectors broker in registerPageProducer. This appends the pager to a list of producers (pageProducers). Also, if there is exactly one pageProducer in this list, the Broker is registered as a producer with its transport.

From this point on, it is really the Producer machinery that runs the show. The main method that gets triggered is::

def resumeProducing(self):

for pageridx in xrange(len(self.pageProducers)-1, -1, -1):

pager = self.pageProducers[pageridx] pager.sendNextPage() if not pager.stillPaging():

del self.pageProducers[pageridx]

if not self.pageProducers:

self.transport.unregisterProducer()

The important thing here is the this calls sendNextPage when needed. This looks like this::

def sendNextPage(self):

self.collector.callRemote("gotPage", self.nextPage())

This is one source of dangling deferreds. These should probably be collected::

def sendNextPage(self):

d = self.collector.callRemote("gotPage", self.nextPage())

self.deferreds.append(d)

Then the stillPaging method gets called to see if the Pager still has pages. Here is that method::

def stillPaging(self):

if not self._stillPaging:

self.collector.callRemote("endedPaging") if self.callback is not None:

self.callback(*self.callbackArgs, **self.callbackKeyword)

return self._stillPaging

This calls endedPaging, which create another dangling deferred.


#224 Move standalone tests to new location ipython1 0.9.0 task normal 02/04/08

Some of our tests are written using the stuff in testutils. These test files tend to be named with *tst* and are typically standalone test scripts. These need to be moved into 1) forms that nose can understand or 2) some other location where they are not run by nose (like docs).


#226 Complete work on tconfig ipython1 0.9.0 enhancement normal 02/04/08

Currently the ipython1 configuration system uses ConfigObj? and .ini files. Fernando has completed a prototype of a higher level interface to this in sandbox/tconfig. The problem with tconfig is that it uses enthought.traits, which has C extension code. Per our new policy of keeping the ipython1 core pure python, we need to get rid of the actual usage of traits. Our thought is to build a very simple traits-like module that does 3 things:

1) validation 2) exposes configuration attributes as attributes rather than dictionaries. 3) Has events on attribute changes.

We need to make this traitslite module and then port tconfig to use it. Finally we need to write tests for tconfig and then move it into place where subpackages can begin to use it for configuration.


#230 changed behavior when push function object in r3021? ipython1 defect normal 02/15/08

With r2914, when a function object is pushed into engines, I get really the same function object on engines:

In [31]: runfunc
Out[31]: <function do_submit_func at 0x888033c>

n [33]: rc.execute(1, "print runfunc")
Out[33]: 
<Results List>
[1] In [46]: print runfunc
[1] Out[46]: <function runfunc at 0xb4f49d4c>

However, the newest r3021 either doesn't push function objects at all, or push them as a ipython1.kernel.pickleutil.CannedFunction? object which cannot be called directly:

In [32]: rc.execute(13, "print runfunc")
Out[32]: 
<Results List>
[13] In [66]: print runfunc
[13] Out[66]: <ipython1.kernel.pickleutil.CannedFunction object at 0x907b70c>

Is this a planned feature or a bug? it looks to me that the old behavior is more pleasant and easy to use.


#181 More aggressive scheduling? ipython1 0.9.0 enhancement normal 08/28/07

Hi!

In a heterogenous cluster, when only a few tasks are left, it often happens that most of the nodes are idle and wait for one or two nodes before the full job is done. This can get annoying if a very slow machine manages to receive the last task.

It would be great if the scheduler could be switched to a more aggressive setting, i.e. whenever it runs out of "fresh" tasks it would send out tasks which are already in progress to idle nodes. Whoever finishes the job first wins and all other nodes processing the same task are interrupted.


fperez

Ticket Summary Component Milestone Type Severity Created
Description
#139 Different behaviour: python vs. ipython when using a C module ipython 0.9.0 defect normal 04/03/07

In summary, it seems like when extension modules are loaded inside of ipython, those extension modules have problems making imports themselves.

See

http://lists.ipython.scipy.org/pipermail/ipython-dev/2006-October/002394.html

for details. I'm not sure what the solution is at all, so feedback is welcome.


#140 IPythonShellEmbed() disturbs regular (embedded) Python traceback ipython 0.9.0 defect normal 04/03/07

Original report:

From: "Remy X.O. Martin" <rmvsxop at gmail.com>
Date: Sat, 30 Sep 2006 15:13:24 +0200

I am embedding Python in one of my C apps, and use IPythonShellEmbed to support an interactive Python shell, using

      if( !called ){
           PyRun_SimpleString( "from IPython.Shell import IPythonShellEmbed" );
           PyRun_SimpleString( "xgraph.ipshell=IPythonShellEmbed()" );
           PyRun_SimpleString( "xgraph.ipshell.set_banner('Entering
xgraph.ipshell IPython shell')" );
           PyRun_SimpleString( "xgraph.ipshell.set_exit_msg('Leaving
xgraph.ipshell IPython shell')" );
            // Not clear if this is needed or actually does anything:
           PyRun_SimpleString( "xgraph.ipshell.restore_system_completer()" );
           called= 1;
      }

If I call this upon initialising the embedded interpreter, (some) syntax errors in user code no longer generate useful error messages:

def RedrawNow:
      return None

---------------------------------------------------------------------------
None                                      Traceback (most recent call last)


None: None

If I do *not* initialise the interactive shell, I get the usual message

def RedrawNow:
      return None

   File "<string>", line 1
     def RedrawNow:
                  ^
SyntaxError: invalid syntax

This is of course quite annoying: execution of the Python code stops at the offending statement, but there is no way to find out what that statement was.

To be honest, I don't see why IPython would become active outside an eventual call to xgraph.ipshell() as defined above...?!

End of original report.


See

http://lists.ipython.scipy.org/pipermail/ipython-dev/2006-October/002425.html

for the email report and possible replies.


#142 Exception with normal usage (v0.8.0) ipython 0.9.0 defect normal 04/11/07
In [24]: lib.listReaders()
ERROR: Internal Python error in the inspect module.
Below is the traceback from this internal error.

Traceback (most recent call last):
  File "/Users/martin/Library/Python/2.5/site-packages/ipython-0.8.0-py2.5.egg/IPython/ultraTB.py", line 491, in text
    records = _fixed_getinnerframes(etb, context,self.tb_offset)
  File "/Users/martin/Library/Python/2.5/site-packages/ipython-0.8.0-py2.5.egg/IPython/ultraTB.py", line 124, in _fixed_getinnerframes
    records  = inspect.getinnerframes(etb, context)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/inspect.py", line 862, in getinnerframes
    framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/inspect.py", line 826, in getframeinfo
    lines, lnum = findsource(frame)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/inspect.py", line 495, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range

Unfortunately, your original traceback can not be constructed.

This happens with PyCSC.

Also, you could either delete the dummy 1.0 and 2.0 versions from trac or add common versions of other software..


#61 IPShellEmbed crashes when psyco is in use ipython defect minor 05/13/06

Note: this is a port of issue 27 from the old roundup tracker.

Original information follows.


This bug was reported by Michael Foord <mike at pcblokes.com>, he ran into it in his moveable python project.

All the details are in this thread:

http://www.scipy.net/pipermail/ipython-user/2005-January/000624.html

Unfortunately fixing this will take a lot of architectural work, so for now I'm deferring it.


#145 Coloured output prompt ipython defect minor 04/19/07

This is a "follow-up" bug report as advised by Fernando Perez in the thread http://thread.gmane.org/gmane.comp.python.ipython.user/2361/focus=2377

Cygwin IPython (meaning Python and GNU readline under Cygwin) shows the colour escape sequences as coloured faces in the output prompt. This happens in all Windows consoles.

The paradox thing is that prompt_in1 and prompt_in2 display fine - it's just prompt_out that has this mistake.

This is what I already found out: Removing the \001/\002 from "class InputTermColors?" in ColorANSI.py solves the mistake (of course now readline doesn't wrap lines anymore so this is not the solution - just a hint where the problem lies)

This raises another interesting question: if the error lies in the class InputTermColors? why do the input prompts display fine but the output prompt is garbled?! I guess if we solve this problem then we have the solution for the problem.

I have discussed this problem in the Cygwin mailing list (because there were two other applications that had the same problem and I wondered whether readline is at fault)

The thread is at http://news.gmane.org/find-root.php?message_id=%3cetlt2v%24aq0%241% 40sea.gmane.org%3e

Eric (the Cygwin readline maintainer) answered an pointed out the bugs in those two apps

Eric's answer is at http://permalink.gmane.org/gmane.os.cygwin/88008

He couldn't correct the Python code but he guessed

"In other words, I wonder if IPython is adding extra \1 somewhere else in the sequence of things, which is then resulting in the spurious \1 to the cmd terminal."

Thorsten


#60 FakeModule causes unittests with embedded ipython to fail ipython defect normal 05/13/06

Note: this is a port of issue 2 from the old roundup tracker.

Original information follows.


Currently, unittesting with embedded ipython breaks becausea FakeModule instance overwrites __main__. Maybe python should revert back to using __main__ directly as the user namespace? Handling a separate namespace is proving very tricky in all corner cases.


#125 Hook for logstart output ipython 0.9.0 enhancement normal 03/07/07

Could it be possible to add some hooks to directly connect the logstart output to a custom recorder, instead of the output file?


#126 Tracebacks in logstart ipython 0.9.0 enhancement normal 03/07/07

Could it also be possible to add an option to log the exceptions and tracebacks in the output of logstart?


#47 crash IPython with wxPython and BBEdit on OS X (Intel) ipython defect normal 03/09/06

I'm just starting with IPython, but here's what I get (Mac Python 2.4.1, wxPython 2.6, OS 10.4.5 on Intel iMac): I set up bbedit as my editor. From IPython(with -wthread) I call it, type a skeleton wxP script into the temp file, save it under new name. Back in IPython I use %run to run it. It runs to completion. Then IPython crashes ("The application Python quit suddenly") with a "Bus error" message.


tzanko

Ticket Summary Component Milestone Type Severity Created
Description
#15 Help for the notebook shell as notebooks. nbshell defect normal 09/05/05

Tzanko has already added a basic description of the system to the ipython manual. For the long run, I think we should consider making the help system be a set of notebooks itself.

This way users could see the capabilities of the system by executing and modifying said notebooks. If we can get this to work well, it opens the door for all sorts of notebooks as a mechanism for distributing python-based tutorials in many fields.

Should we run the help against a separate kernel? This has pros and cons:

  • It shields the user from side-effects induced by executing the help code in his own namespace.
  • But the presence of two kernels may confuse some users.

In the end, I still think it's better to have a separate kernel for the help. Users can always reopen a help file in their own notebook, or copy/paste code, if they want it absorbed. This can be well explained to avoid confusion, but in the long run I think it's technically a much cleaner solution.


vivainio

Ticket Summary Component Milestone Type Severity Created
Description
#237 trying to get ipython running on N800 ipython task major 03/04/08

iphython fails to load on N800 nokia tablet. inport error at shell.py ,at init, ipython.py, import error. will try to attach crash report


#229 don't call object.trait_names() on arbitrary user objects ipython defect normal 02/15/08

Currently for every class that defines __getattr__ to retrun a callable, I have to define these to work around ipython: __repr__, _getAttributeNames, __methods__, trait_names.

First three could be worked around by disallowing underscore names in __getattr__, but there's hardly any generic logic that could exclude trait_names.

I think that if ipython thinks my object might be trait-able (whatever that is) it should first interrogate some underscore method or type or something else.

In any event ipython cannot arbitratily call an innocently named method like trait_names() because ipython doesn't know what side effects that might cause.

Example:

# usage:
# server = rpc_caller("http://....")
# rv = server.get_customer_info(arg1, arg2, ...)

class rpc_caller:
  def __init__(self, base):
    self.base = base

  def __getattr__(self, name):
    return lambda *args, **kwargs: do_rpc_call(self.base, name, args, kwargs)

# initialize some caller
rpc = rpc_caller("http://...")

after this, tab-expansion in ipython results in aweful side-effects, because ipython eventually calls rpc.trait_names() which the system is completely unprepared for.

also globals() may fail with exception

another case where this caused a serious bug for me was when __getattr__ returned a gtk widget

last checked against ipython 0.8.1


#248 magic commands inhibit autoflush of output to console ipython defect normal 05/19/08

It seems that the invocation of magic commands (e.g., ?, %pcat, etc.) causes ipython to delay writing output generated by any subsequently executed code to the console until the entire block of code in question is run. For instance, if one runs the following code

import time                                                                     
for i in xrange(3):                                                             
    print i                                                                     
    time.sleep(2)                                                               

from within ipython, accesses the help system with the ? command, and then attempts to run the above a second time, one will notice that no output is written to the console until the script finishes running.

I have observed this behavior using both ipython 0.8.2 and the latest development revision (104) on Linux with Python 2.5.2 (in both cases, I removed ~/.ipython prior to testing the behavior).


Note: See TracReports for help on using and creating reports.