[chora] annotate causing server error..

Liam Hoekenga liamr@umich.edu
Tue Nov 12 22:31:42 2002


> Is it possible that annotate.php is using the path_info when Chora is set
> not to?

The truss output is interesting..  It appears that Chora is able to
generate the annotations..

18926:  open("/var/tmp/chora0NaW9K", O_RDONLY)          = 7
18926:  lseek(7, 0, SEEK_CUR)                           = 0
18926:  fstat64(7, 0xFFBEB8F8)                          = 0
18926:  ioctl(7, TCGETA, 0xFFBEB884)                    Err#25 ENOTTY
18926:  read(7, 0x00204FE4, 8192)                       = 4986
18926:     E  \n E   A n n o t a t i o n s   f o r   c o s i g n / N O T E
18926:     S\n E   * * * * * * * * * * * * * * *\n M   1 . 1
18926:           ( c a n n a         1 5 - M a y - 0 2 ) :   M O D U L E :
18926:    \n M   1 . 1                     ( c a n n a         1 5 - M a y
18926:     - 0 2 ) :  \n M   1 . 7                     ( c a n n a
***snip***

It closes the temporary file, and then decides to spit out an error
message:

18926:  llseek(7, 0xFFFFFFFFFFFFEC89, SEEK_CUR)         = 3
18926:  close(7)                                        = 0
18926:
open("/usr/local/chora/html/horde/config/../chora/templates/error_page.i
nc", O_RDONLY) = 7
18926:  pathconf(".", _PC_PATH_MAX)                     = 1024
18926:  stat64("./", 0xFFBEBF40)                        = 0
18926:  stat64("/usr/local/chora/html/horde/chora", 0xFFBEBEA8) = 0
18926:
resolvepath("/usr/local/chora/html/horde/config/../chora/templates/error
_page.inc", "/usr/local/chora/html/horde/chora/templates/error_page.inc",
1024)
= 58
18926:  ioctl(7, TCGETA, 0xFFBECA64)                    Err#25 ENOTTY
18926:  fstat64(7, 0xFFBEB268)                          = 0
18926:  brk(0x00350AA8)                                 = 0
18926:  brk(0x00352AA8)                                 = 0
18926:  ioctl(7, TCGETA, 0xFFBEB1F4)                    Err#25 ENOTTY
18926:  read(7, 0x0035017C, 8192)                       = 482
18926:     < ! D O C T Y P E   h t m l   P U B L I C   " - / / W 3 C / / D
18926:     T D   X H T M L   1 . 0   T r a n s i t i o n a l / / E N "   "
18926:     D T D / x h t m l 1 - t r a n s i t i o n a l . d t d " >\n < h
18926:     t m l >\n < h e a d >\n < t i t l e > < ? =   _ ( " E r r o r "
18926:     )   ? >   < ? =   $ e r r c o d e   ? > < / t i t l e >\n < / h

If someone wants to see the complete truss output, I'll send it to them.

I'm not sure what's going on here, but that's prolly obvious by now.
Any ideas?

Liam



More information about the chora mailing list