Allows a nice interface to the Plone error log from ztc functional tests
Project description
Introduction
Adds the “errorlog” command to pdb sessions. This is only useful in functional test cases in PloneTestCase.:
(Pdb) errorlog
(Pdb) admin.open("http://nohost/plone/createObject")
*** HTTPError: HTTP Error 500: Internal Server Error
(Pdb) admin.open("http://nohost/plone/createObject")
*** HTTPError: HTTP Error 500: Internal Server Error
(Pdb) admin.open("http://nohost/plone/createObject")
*** HTTPError: HTTP Error 500: Internal Server Error
(Pdb) errorlog
Error: 1218794437.680.454937341407 ( Type name not specified )
Error: 1218794437.10.341611383065 ( Type name not specified )
Error: 1218794436.540.661922508086 ( Type name not specified )
(Pdb) errorlog 1218794437.10.341611383065
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
Module Products.CMFFormController.Script, line 145, in __call__
Module Products.CMFCore.FSPythonScript, line 108, in __call__
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 164, in _exec
Module None, line 10, in createObject
- <FSControllerPythonScript at /plone/createObject>
- Line 10
Exception: Type name not specified
Yay?
Pre-requisites
A Plone functional test case. This can work with zope in theory, but it’s written with plone assumptions in mind.
Changelog
1.1
Scraper is still quick and dirty, but now uses re, so is a little less dirty.
Fixed a parsing issue with some zopes
Added nose tests
1.0
Quick and dirty scraper. Replace with SGMLlib one!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file teamrubber.pdberrorlog-1.1.tar.gz.
File metadata
- Download URL: teamrubber.pdberrorlog-1.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e98b6d1a5d3c36c2de795d94a1e63b430500c222f1148147c9fb385ac85a26fd
|
|
| MD5 |
c55a6d68490655f8d5ec01f7e1b73632
|
|
| BLAKE2b-256 |
6f5ba8e42549c2856b8f1f99375557018ebb329ea25eaa187a2cf1dfa7761788
|
File details
Details for the file teamrubber.pdberrorlog-1.1-py2.4.egg.
File metadata
- Download URL: teamrubber.pdberrorlog-1.1-py2.4.egg
- Upload date:
- Size: 14.8 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe6662ef2c60832c9d88a4568cd3e856ff538ba5ee9ff7c5479528b31cc828b7
|
|
| MD5 |
ee03a297e60a7dc47ea6d7d476c35815
|
|
| BLAKE2b-256 |
b05a859dbcbb2632c2a51b05bce121722a81c69615601a7993e531165291fb85
|