ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?
Date: Fri, 3 Jul 2009 09:44:53 +0200	[thread overview]
Message-ID: <fe8d59da0907030044g7284c236j4b08c1a09ec64d1f@mail.gmail.com> (raw)
In-Reply-To: <4A4DB43B.1020600@elvenkind.com>


[-- Attachment #1.1: Type: text/plain, Size: 830 bytes --]

On Fri, Jul 3, 2009 at 9:33 AM, Taco Hoekwater <taco@elvenkind.com> wrote:

>
>
> luigi scarso wrote:
> >
> > we need something like a stack trace;
> > also a lua "try/except" construct should be nice .
>
> stack trace of tex?
>
No no, sorry -- I mean traceback, something like  this
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module OFS.ObjectManager, line 569, in manage_exportObject
  Module OFS.XMLExportImport, line 56, in exportXML
  Module OFS.XMLExportImport, line 31, in XMLrecord
  Module Shared.DC.xml.ppml, line 263, in load
  Module pickle, line 872, in load
  Module Shared.DC.xml.ppml, line 418, in load_binput
AttributeError: 'unicode' object has no attribute 'id'


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1287 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-07-03  7:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01 18:18 ivo welch
2009-07-01 18:40 ` Hans Hagen
2009-07-02 21:52 ` Mojca Miklavec
2009-07-03  6:56   ` Taco Hoekwater
2009-07-03  7:05     ` luigi scarso
2009-07-03  7:14       ` Taco Hoekwater
2009-07-03  7:30         ` luigi scarso
2009-07-03  7:33           ` Taco Hoekwater
2009-07-03  7:44             ` luigi scarso [this message]
2009-07-03  7:47               ` Taco Hoekwater
2009-07-03  7:51                 ` luigi scarso
2009-07-03  8:06                   ` Taco Hoekwater
2009-07-03  8:13                     ` luigi scarso
2009-07-03  8:18                       ` Taco Hoekwater
2009-07-03  8:24                         ` luigi scarso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fe8d59da0907030044g7284c236j4b08c1a09ec64d1f@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).