Latest news 2024-09-23: new blog post "Tales for Our Times: Raising Funds and Awareness for St Martins Housing Trust".

Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 11🔗
Date: 2012-12-27 18:22:24
Status Closed (Fixed)
Category datatool
Version 2.11
Summary typo in source (should be \PackageError instead of \PackageErrors)

Sign in to subscribe to notifications about this report.

Description

Hello Dr. Talbot,

when compiling the minimal example above, I'd expect to get the following message about a package error:

| ! Package datatool Error: Can't add new row to database `database': database do
| esn't exist.
|
| See the datatool package documentation for explanation.
| Type  H <return>  for immediate help.
But the following TeX-error-message is delivered:
! Undefined control sequence.
<argument> \PackageErrors 
                          {datatool}{Can't add new row to database `database...
l.5 \DTLnewrow{database}

I think, there is a typo somewhere in the datatool-bundle and instead of "\PackageErrors" it should be "\PackageError" (without a trailing "s" in the name of the control-sequence).

According to the .log-file

Package: datatool 2012/09/25 v2.11 (NLCT)
was in use when encountering this.

Sincerely

Ulrich

MWE

Download (132B)

\documentclass{minimal}
\usepackage{datatool}
\begin{document}
%%%%%\DTLnewdb{database}%
\DTLnewrow{database}%
\end{document}

Evaluation

Fixed in v2.13 (2013-01-15).

Comments

0 comments.


Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=11