Awesome. I got the error log. It appears to be in line 401 in migration.py
self.sql.createCategoryAndTemplateTables()
There is the function call that breaks it. I see that sql only creating tables, not inserting any, so I wonder if its a postgresql syntax issue or something. Where would you like me to create the bug report?
Exception traceback
| Time | 2006/09/06 08:57:30.031 GMT-6 |
|---|---|
| User Name (User Id) | admin (admin) |
| Request URL | http://pbr-media-1:8080/mail/migrate |
| Exception Type | KeyError |
| Exception Value | 'sql_integer' |
Traceback (innermost last):
- Module ZPublisher.Publish, line 101, in publish
- Module ZPublisher.mapply, line 88, in mapply
- Module ZPublisher.Publish, line 39, in call_object
- Module Products.MailManager.migration, line 401, in migrate
- Module Products.MailManager.sql, line 70, in __call__
- Module Shared.DC.ZRDB.DA, line 441, in __call__
<FSZSQLWrapper instance at 01DDB290> - Module DocumentTemplate.DT_String, line 474, in __call__
REQUEST
form
cookies
| tree-s | 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnW2cgRJGvGlQgEegD/0w/S' |
|---|---|
| __ac_name | 'manager' |
lazy items
| SESSION | <bound method SessionDataManager.getSessionData of <SessionDataManager instance at 01B8ECB0>> |
|---|
other
| TraversalRequestNameStack | [] |
|---|---|
| AUTHENTICATED_USER | admin |
| URL | 'http://pbr-media-1:8080/mail/migrate' |
| SERVER_URL | 'http://pbr-media-1:8080' |
| AUTHENTICATION_PATH | '' |
| PUBLISHED | <bound method MailManager.migrate of <MailManager instance at 01B8EDD0>> |
| ACTUAL_URL | 'http://pbr-media-1:8080/mail/migrate' |
| URL0 | http://pbr-media-1:8080/mail/migrate |
| URL1 | http://pbr-media-1:8080/mail |
| URL2 | http://pbr-media-1:8080 |
| BASE0 | http://pbr-media-1:8080 |
| BASE1 | http://pbr-media-1:8080 |
| BASE2 | http://pbr-media-1:8080/mail |
| BASE3 | http://pbr-media-1:8080/mail/migrate |
environ
| HTTP_COOKIE | '__ac_name="manager"; tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnW2cgRJGvGlQgEegD/0w/S"' |
|---|---|
| SERVER_SOFTWARE | 'Zope/(Zope 2.7.5-final, python 2.3.5, win32) ZServer/1.1' |
| SCRIPT_NAME | '' |
| REQUEST_METHOD | 'POST' |
| PATH_INFO | '/mail/migrate' |
| SERVER_PROTOCOL | 'HTTP/1.1' |
| channel.creation_time | 1157554616 |
| CONNECTION_TYPE | 'Keep-Alive' |
| HTTP_USER_AGENT | 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)' |
| HTTP_REFERER | 'http://pbr-media-1:8080/mail/manage_migrateForm' |
| SERVER_NAME | 'pbr-media-1' |
| REMOTE_ADDR | '192.168.1.34' |
| PATH_TRANSLATED | '\\mail\\migrate' |
| SERVER_PORT | '8080' |
| CONTENT_LENGTH | '0' |
| HTTP_HOST | 'pbr-media-1:8080' |
| HTTP_CACHE_CONTROL | 'no-cache' |
| HTTP_ACCEPT | '*/*' |
| GATEWAY_INTERFACE | 'CGI/1.1' |
| HTTP_ACCEPT_LANGUAGE | 'en-us' |
| CONTENT_TYPE | 'application/x-www-form-urlencoded' |
| HTTP_ACCEPT_ENCODING | 'gzip, deflate' |
On 9/5/06, Kevin Campbell <[EMAIL PROTECTED]
> wrote:
On Tue, Sep 05, 2006 at 08:39:53AM -0600, Dan Baughman wrote:
> Hello,
>
>
> I was using 2.0.7 and was suffering a few bugs. I copied the mail manager
> folder of 2.0.10 over the old one and restarted zope (after backing
> everything up, of course) and restarted the service ok.
>
> When I try to use the migrate tab it says that my internal version is 10 and
> the latest is 16 and I should click the migrate button. I click the migrate
> button and get an sql integer error.
>
> Does anyone know how to enable debugging so I can find where this error is
> occuring?
Dan,
Log in to the zope management interface, and check out the error_log (in the
root). This should give you a traceback, which you can raise as a bug report.
Regards,
Kevin
--
Kevin Campbell
Logicalware Ltd
GPG Key: F480EC23
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Mailmanager-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mailmanager-users
