hack, learn, and ask questions along the way :-)

and have LOTS OF FUN! ;-)

On Sun, Apr 26, 2009 at 10:41 PM, Jason Brower <encomp...@gmail.com> wrote:

>
> Thanks,
> I will hack and it and see what I can learn. :D
> Regards,
> Jason Brower
>
>
> On Sun, 2009-04-26 at 13:37 -0500, Yarko Tymciurak wrote:
> > If I understand - you want to be able to have a link which will take
> > you to the line / code where an exception occurred.
> >
> > Break apart what you want to do something like this, I think:
> > 2 parts:  get admin to programmatically edit a desired line in a
> > desired file;
> >    parse a ticket, to get the interesting line / file name;
> >    connect the two, and consider what cases (general errors without
> > application files, e.g. gluon files or no files) need special
> > handling.
> >
> >       * first just create a page that will go to another page;
> >       * then add this to admin, something which will produce a link to
> >         go to the (?) editor with the right file, the right line
> >         number;
> >       * then add dynamically generating the file and line from some
> >         action (doesn't matter what - start by putting constants in
> >         variables);
> >       * then finally parse the dump to connect the two - that is, get
> >         the right file and line from the ticket, and put it in the
> >         "meaningless" variables you used to get the admin to "go to
> >         the correct file / line".
> >
> > I think the first part will get you the "more understanding of web2py"
> > you want;
> >
> > The latter part will get you to read the 'd' of the string from the
> > pickled code, output, and traceback (for that, look at the class
> > Restricted  in gluon/restricted.py)
> >
> > If you keep these as 2 separate "mini-projects" with the common
> > interface to be joined at of "filename / line number variables" you
> > might even have some fun.
> >
> > And it doesn't really matter if you ever finish one, or both -
> >
> > HAVE LOTS OF FUN! :-)
> >
> > On Sun, Apr 26, 2009 at 7:22 AM, Jason Brower <encomp...@gmail.com>
> > wrote:
> >
> >         I want to contribute to the development of web2py. :D
> >         I have an idea to add a feature.  This one, for one, makes it
> >         so there
> >         is an anchor on the line numbers when there is an error
> >         report.  So it
> >         can jump to the line where the error happened.
> >         You can do it if you like.  But I want to be a bigger part of
> >         web2py so
> >         I want to understand it's inner workings better.
> >         BR,
> >         Jason Brower
> >
> >
> >
> >         On Sat, 2009-04-25 at 21:50 -0700, mdipierro wrote:
> >         > I do not understand. Can you post an example?
> >         >
> >         > On Apr 25, 11:26 pm, Jason Brower <encomp...@gmail.com>
> >         wrote:
> >         > > I want to add a feature to the error reporting section of
> >         the code.
> >         > > Where is that part of the code?
> >         > > In specific, I would like to add something to where it
> >         prints out the
> >         > > final code before running. (When an error happens.)
> >         > > ---
> >         > > Best Regards,
> >         > > Jason Brower
> >         > >
> >
> >
> >
> >
> >
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to