Export fails because of deleted timetable

Bug #1281335 reported by mark mcdougall
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
SchoolTool
Fix Released
Critical
Gediminas Paulauskas

Bug Description

having a problem with exporting the school data
here is the message;;;;;;;;;;;;;
 System failure.

Ticket nr. 56bbbe49-346d-45af-85d5-eb58f3cc2d1e.

Please contact your administrator.
;;;;;;;;;;;;;;;;;;;;;;;;;;on the server errors page;;;;;;;;;;
Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool Administrator,
NotFound: Object: <schooltool.app.app.SchoolToolApplication object at 0xeb43c2c>...
Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool Administrator,
NotFound: Object: <schooltool.app.app.SchoolToolApplication object at 0xeb43c2c>...
;;;;;;;;;;;;;;;the first being;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Exception traceback
Time Tue Feb 18 10:18:35 2014
User unauthenticated, sb.person.manager, SchoolTool Administrator,
Request URL http://192.168.2.71:7080/favicon.ico
Exception Type NotFound
Exception Value Object: <schooltool.app.app.SchoolToolApplication object at 0xeb43c2c>, name: u'favicon.ico'
Traceback

Traceback (most recent call last):

    Module zope.publisher.publish, line 129, in publish
    obj = request.traverse(obj)
    Module zope.publisher.browser, line 540, in traverse
    ob = super(BrowserRequest, self).traverse(obj)
    Module zope.publisher.http, line 457, in traverse
    ob = super(HTTPRequest, self).traverse(obj)
    Module zope.publisher.base, line 260, in traverse
    obj = publication.traverseName(self, obj, entry_name)
    Module zope.app.publication.zopepublication, line 200, in traverseName
    ob2 = adapter.publishTraverse(request, nm)
    Module schooltool.traverser.traverser, line 79, in publishTraverse
    raise NotFound(self.context, name, request)

NotFound: Object: <schooltool.app.app.SchoolToolApplication object at 0xeb43c2c>, name: u'favicon.ico'<br />

Display traceback as text
Request
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
wsgi.multiprocess: True
HTTP_COOKIE: zope3_cs_16dc3325=R3TcTl-ySBY7Q7CTtyHs0dwOfgIAyLWplMCtrYeFBGjGX3L11.WAt8
wsgi.multithread: True
SERVER_SOFTWARE: zope.server.http (zope.server.http)
SCRIPT_NAME:
CHANNEL_CREATION_TIME: 1392679045.69
wsgi.input:
REQUEST_METHOD: GET
HTTP_HOST: 192.168.2.71:7080
PATH_INFO: /favicon.ico
SERVER_PROTOCOL: HTTP/1.1
QUERY_STRING:
CONNECTION_TYPE: keep-alive
wsgi.url_scheme: http
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
wsgi.version: (1, 0)
SERVER_NAME: 0.0.0.0
REMOTE_ADDR: 192.168.2.61
wsgi.run_once: False
wsgi.errors: ', mode 'w' at 0xb734c0d0>
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
zope3_cs_16dc3325: R3TcTl-ySBY7Q7CTtyHs0dwOfgIAyLWplMCtrYeFBGjGX3L11.WAt8
zserver.proxy.scheme:
zserver.proxy.host:
SERVER_PORT: 7080
HTTP_ACCEPT_ENCODING: gzip, deflate
;;;;;;;;;;;;;;;;;;;;;;;;;the second being;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Exception traceback
Time Tue Feb 18 10:18:35 2014
User unauthenticated, sb.person.manager, SchoolTool Administrator,
Request URL http://192.168.2.71:7080/favicon.ico
Exception Type NotFound
Exception Value Object: <schooltool.app.app.SchoolToolApplication object at 0xeb43c2c>, name: u'favicon.ico'
Traceback

Traceback (most recent call last):

    Module zope.publisher.publish, line 129, in publish
    obj = request.traverse(obj)
    Module zope.publisher.browser, line 540, in traverse
    ob = super(BrowserRequest, self).traverse(obj)
    Module zope.publisher.http, line 457, in traverse
    ob = super(HTTPRequest, self).traverse(obj)
    Module zope.publisher.base, line 260, in traverse
    obj = publication.traverseName(self, obj, entry_name)
    Module zope.app.publication.zopepublication, line 200, in traverseName
    ob2 = adapter.publishTraverse(request, nm)
    Module schooltool.traverser.traverser, line 79, in publishTraverse
    raise NotFound(self.context, name, request)

NotFound: Object: <schooltool.app.app.SchoolToolApplication object at 0xeb43c2c>, name: u'favicon.ico'<br />

Display traceback as text
Request
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
wsgi.multiprocess: True
HTTP_COOKIE: zope3_cs_16dc3325=R3TcTl-ySBY7Q7CTtyHs0dwOfgIAyLWplMCtrYeFBGjGX3L11.WAt8
wsgi.multithread: True
SERVER_SOFTWARE: zope.server.http (zope.server.http)
SCRIPT_NAME:
CHANNEL_CREATION_TIME: 1392679045.69
wsgi.input:
REQUEST_METHOD: GET
HTTP_HOST: 192.168.2.71:7080
PATH_INFO: /favicon.ico
SERVER_PROTOCOL: HTTP/1.1
QUERY_STRING:
CONNECTION_TYPE: keep-alive
wsgi.url_scheme: http
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
wsgi.version: (1, 0)
SERVER_NAME: 0.0.0.0
REMOTE_ADDR: 192.168.2.61
wsgi.run_once: False
wsgi.errors: ', mode 'w' at 0xb734c0d0>
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
zope3_cs_16dc3325: R3TcTl-ySBY7Q7CTtyHs0dwOfgIAyLWplMCtrYeFBGjGX3L11.WAt8
zserver.proxy.scheme:
zserver.proxy.host:
SERVER_PORT: 7080
HTTP_ACCEPT_ENCODING: gzip, deflate
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
do you get these reports anyway? or is it important I send them?
We have entered thirty new students yesterday. All our students carry about fifteen extra fields for demographics.
Can I extract the data by various means using sudo commands on the terminal?
Thanks
Mark

Changed in schooltool:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Douglas Cerna (replaceafill)
milestone: none → 2.7.0
Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Unfortunately, report or export errors are not written to any of the logs. You can see all tasks in

Server -> Server Information -> Scheduled Tasks

 (On local computer this would lead to http://localhost:7080/schooltool.tasks/ )

Some of them have a FAILURE status. Click on it and you will see an exception. Copy it here.

Revision history for this message
mark mcdougall (mmcdouga) wrote :

Heres the most recent;;;;;;;;;;;;;;;
ID 56bbbe49-346d-45af-85d5-eb58f3cc2d1e
Task pending or removed
Persisted traceback
Exception

sequence item 0: expected string, NoneType found

Traceback

File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 184, in runTransaction
  result = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 448, in execute
  report_file = self.renderToFile(renderer, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 497, in renderToFile
  self.renderReport(renderer, stream, *args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 883, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 869, in __call__
  self.export_section_timetables(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 768, in export_section_timetables
  timetables.append(','.join(parts))

Exception

<ExceptionWithTraceback (TypeError('sequence item 0: expected string, NoneType found',))>

Traceback

File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 211, in __call__
  result = self.runTransaction('execute', True, self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 201, in runTransaction
  raise failure

Internal state PENDING
;;;;;;;;;;;;;;;;;;;;;;;;;;heres the one prior;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ID d74fb20a-1b12-4000-8c27-e5708c226942
Task pending or removed
Persisted traceback
Exception

sequence item 0: expected string, NoneType found

Traceback

File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 184, in runTransaction
  result = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 448, in execute
  report_file = self.renderToFile(renderer, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 497, in renderToFile
  self.renderReport(renderer, stream, *args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 883, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 869, in __call__
  self.export_section_timetables(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 768, in export_section_timetables
  timetables.append(','.join(parts))

Exception

<ExceptionWithTraceback (TypeError('sequence item 0: expected string, NoneType found',))>

Traceback

File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 211, in __call__
  result = self.runTransaction('execute', True, self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 201, in runTransaction
  raise failure

Internal state PENDING
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
would that mean it occurred whilst doing timetable export both times?
Should I delete the timetables? Start again?
thanks for the help so far,
Mark

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (3.4 KiB)

Deleted all the timetables, this year and last, still export fails.
Is there any way to access the data other than export function?
Might it be hard to make an export link for the different parts of schooltool instead of only the whole school?
I mean like one can import just a contacts or people csv, have an export people link on the people page just as there is an import people link?
This might mean at least most all is accessible (exportable) should a bug block one section,..?
;;;;;;;;;;;;;;;;;;;;;;;;;
heres the latest failure traceback

''''''''''''''''''
' Id 4a7440af-56bc-4b8d-9a5c-90901e80935e
Failed
Traceback Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, in trace_task R = retval = fun(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 231, in __call__ raise failure FormattedTraceback:
Exception

sequence item 0: expected string, NoneType found

Traceback

File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 184, in runTransaction
  result = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 448, in execute
  report_file = self.renderToFile(renderer, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 497, in renderToFile
  self.renderReport(renderer, stream, *args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 883, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 869, in __call__
  self.export_section_timetables(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 768, in export_section_timetables
  timetables.append(','.join(parts))

Exception

<ExceptionWithTraceback (TypeError('sequence item 0: expected string, NoneType found',))>

Traceback

File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 211, in __call__
  result = self.runTransaction('execute', True, self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 201, in runTransaction
  raise failure

Persisted traceback
Exception

sequence item 0: expected string, NoneType found

Traceback

File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 184, in runTransaction
  result = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 448, in execute
  report_file = self.renderToFile(renderer, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 497, in renderToFile
  self.renderReport(renderer, stream, *args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 883, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 869, in __call__
  self.export_section_timetables(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 768, in export_section_timetables
  timetables.append(','.join(parts))

Exception

<ExceptionWithTraceback (TypeError('sequence item 0: expected string, NoneTyp...

Read more...

Changed in schooltool:
importance: High → Critical
Revision history for this message
mark mcdougall (mmcdouga) wrote :

There are a few peculiarities that may play into this- In the attendance journal page under dot"School Attendance" we have a dropdown choice of two categories(group? or Section?) but cant see how to add any more nor delete these.
Have just gotten the function for dot "Homeroom" and dot "Attendance" to accept new sections.
I had had troubles with this see bug #1289646.

Possibly my data file has been corrupted with all the complications changing to 2.7dev months back then returning to 2.6.2 lately?
I remember seeing in a previous school export the yellow fill at the top line (titles) of each page wasnt continuous.
Schooltool still works but just wondering whats the chances of not ever being able to access/export the data again?

Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

We're going to make export more fault-tolerant, but it is hard to say what weird corruption may be in your database.

Revision history for this message
Serwano Wycliffe (wyclex05) wrote :

An internal server error has occurred. This most likely means that you have found a bug in SchoolTool. Please report it on the issue tracker.
Exception

TypeError: sequence item 0: expected string, NoneType found

Traceback

File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 132, in publish
  result = publication.callObject(request, obj)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 207, in callObject
  return mapply(ob, request.getPositionalArguments(), request)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 107, in mapply
  return debug_call(obj, args)
Extra information: <schooltool.skin.flourish.zcml_content.MegaExporter_export.xls object at 0x7fadb90470d0>
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 113, in debug_call
  return obj(*args)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 757, in __call__
  self.export_section_timetables(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 708, in export_section_timetables
  timetables.append(','.join(parts))

i need to know what happened to my school tool export
can i get some help

Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

Serwano,

Did you delete any timetables?

Revision history for this message
mark mcdougall (mmcdouga) wrote : Re: [Bug 1281335] Re: export fails
Download full text (6.1 KiB)

I think I did, yes

On Thu, Mar 27th, 2014 at 9:34 AM, Tom Hoffman <email address hidden> wrote:

> Serwano,
>
> Did you delete any timetables?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1281335
>
> Title:
> export fails
>
> Status in SchoolTool:
> Triaged
>
> Bug description:
> having a problem with exporting the school data
> here is the message;;;;;;;;;;;;;
> System failure.
>
> Ticket nr. 56bbbe49-346d-45af-85d5-eb58f3cc2d1e.
>
> Please contact your administrator.
> ;;;;;;;;;;;;;;;;;;;;;;;;;;on the server errors page;;;;;;;;;;
> Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool
> Administrator,
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>...
> Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool
> Administrator,
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>...
> ;;;;;;;;;;;;;;;the first being;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> Exception traceback
> Time Tue Feb 18 10:18:35 2014
> User unauthenticated, sb.person.manager, SchoolTool Administrator,
> Request URL http://192.168.2.71:7080/favicon.ico
> Exception Type NotFound
> Exception Value Object: <schooltool.app.app.SchoolToolApplication
> object at 0xeb43c2c>, name: u'favicon.ico'
> Traceback
>
> Traceback (most recent call last):
>
> Module zope.publisher.publish, line 129, in publish
> obj = request.traverse(obj)
> Module zope.publisher.browser, line 540, in traverse
> ob = super(BrowserRequest, self).traverse(obj)
> Module zope.publisher.http, line 457, in traverse
> ob = super(HTTPRequest, self).traverse(obj)
> Module zope.publisher.base, line 260, in traverse
> obj = publication.traverseName(self, obj, entry_name)
> Module zope.app.publication.zopepublication, line 200, in
> traverseName
> ob2 = adapter.publishTraverse(request, nm)
> Module schooltool.traverser.traverser, line 79, in publishTraverse
> raise NotFound(self.context, name, request)
>
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>, name: u'favicon.ico'<br />
>
>
> Display traceback as text
> Request
> HTTP_ACCEPT:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> wsgi.multiprocess: True
> HTTP_COOKIE:
> zope3_cs_16dc3325=R3TcTl-ySBY7Q7CTtyHs0dwOfgIAyLWplMCtrYeFBGjGX3L11.WAt8
> wsgi.multithread: True
> SERVER_SOFTWARE: zope.server.http (zope.server.http)
> SCRIPT_NAME:
> CHANNEL_CREATION_TIME: 1392679045.69
> wsgi.input:
> REQUEST_METHOD: GET
> HTTP_HOST: 192.168.2.71:7080
> PATH_INFO: /favicon.ico
> SERVER_PROTOCOL: HTTP/1.1
> QUERY_STRING:
> CONNECTION_TYPE: keep-alive
> wsgi.url_scheme: http
> HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0)
> Gecko/20100101 Firefox/27.0
> wsgi.version: (1, 0)
> SERVER_NAME: 0.0.0.0
> REMOTE_ADDR: 192.168.2.61
> wsgi.run_once: False
> wsgi.errors: ', mode 'w' at 0xb734c0d0>
> GATEWAY_INTERFACE: CGI/1.1
> HTTP_ACCEPT_LANGUAGE: e...

Read more...

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (6.4 KiB)

Hi Tom and Serwano,
thanks for looking into this again.,
by memory I had a problem in that importing the timetables into the new year,
they didnt work, possibly due to their having start and end dates that didnt
fit into the new year, but there was no way I could find to change them to
make them work,...?

On Thu, Mar 27th, 2014 at 9:34 AM, Tom Hoffman <email address hidden> wrote:

> Serwano,
>
> Did you delete any timetables?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1281335
>
> Title:
> export fails
>
> Status in SchoolTool:
> Triaged
>
> Bug description:
> having a problem with exporting the school data
> here is the message;;;;;;;;;;;;;
> System failure.
>
> Ticket nr. 56bbbe49-346d-45af-85d5-eb58f3cc2d1e.
>
> Please contact your administrator.
> ;;;;;;;;;;;;;;;;;;;;;;;;;;on the server errors page;;;;;;;;;;
> Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool
> Administrator,
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>...
> Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool
> Administrator,
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>...
> ;;;;;;;;;;;;;;;the first being;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> Exception traceback
> Time Tue Feb 18 10:18:35 2014
> User unauthenticated, sb.person.manager, SchoolTool Administrator,
> Request URL http://192.168.2.71:7080/favicon.ico
> Exception Type NotFound
> Exception Value Object: <schooltool.app.app.SchoolToolApplication
> object at 0xeb43c2c>, name: u'favicon.ico'
> Traceback
>
> Traceback (most recent call last):
>
> Module zope.publisher.publish, line 129, in publish
> obj = request.traverse(obj)
> Module zope.publisher.browser, line 540, in traverse
> ob = super(BrowserRequest, self).traverse(obj)
> Module zope.publisher.http, line 457, in traverse
> ob = super(HTTPRequest, self).traverse(obj)
> Module zope.publisher.base, line 260, in traverse
> obj = publication.traverseName(self, obj, entry_name)
> Module zope.app.publication.zopepublication, line 200, in
> traverseName
> ob2 = adapter.publishTraverse(request, nm)
> Module schooltool.traverser.traverser, line 79, in publishTraverse
> raise NotFound(self.context, name, request)
>
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>, name: u'favicon.ico'<br />
>
>
> Display traceback as text
> Request
> HTTP_ACCEPT:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> wsgi.multiprocess: True
> HTTP_COOKIE:
> zope3_cs_16dc3325=R3TcTl-ySBY7Q7CTtyHs0dwOfgIAyLWplMCtrYeFBGjGX3L11.WAt8
> wsgi.multithread: True
> SERVER_SOFTWARE: zope.server.http (zope.server.http)
> SCRIPT_NAME:
> CHANNEL_CREATION_TIME: 1392679045.69
> wsgi.input:
> REQUEST_METHOD: GET
> HTTP_HOST: 192.168.2.71:7080
> PATH_INFO: /favicon.ico
> SERVER_PROTOCOL: HTTP/1.1
> QUERY_STRING:
> CONNECTION_TYPE: keep-alive
> wsgi.url_scheme: http
> HTTP_USER_A...

Read more...

Revision history for this message
Tom Hoffman (tom-hoffman) wrote : Re: export fails

There are two levels to the fix. First, just making the exporter ignore the particular error it is running into and continue. Second, tightening up the timetable implementation some to prevent it from coming up in the first place.

Revision history for this message
mark mcdougall (mmcdouga) wrote : Re: [Bug 1281335] Re: export fails
Download full text (6.5 KiB)

The more major issue for me is whats wrong with the Data.Fs and how to fix it
when I can see it? Is it a salvage and rebuild when we can export parts?
Mark

On Thu, Mar 27th, 2014 at 9:42 PM, Tom Hoffman <email address hidden> wrote:

> There are two levels to the fix. First, just making the exporter ignore
> the particular error it is running into and continue. Second,
> tightening up the timetable implementation some to prevent it from
> coming up in the first place.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1281335
>
> Title:
> export fails
>
> Status in SchoolTool:
> Triaged
>
> Bug description:
> having a problem with exporting the school data
> here is the message;;;;;;;;;;;;;
> System failure.
>
> Ticket nr. 56bbbe49-346d-45af-85d5-eb58f3cc2d1e.
>
> Please contact your administrator.
> ;;;;;;;;;;;;;;;;;;;;;;;;;;on the server errors page;;;;;;;;;;
> Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool
> Administrator,
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>...
> Tue Feb 18 10:18:35 2014 unauthenticated, sb.person.manager, SchoolTool
> Administrator,
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>...
> ;;;;;;;;;;;;;;;the first being;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> Exception traceback
> Time Tue Feb 18 10:18:35 2014
> User unauthenticated, sb.person.manager, SchoolTool Administrator,
> Request URL http://192.168.2.71:7080/favicon.ico
> Exception Type NotFound
> Exception Value Object: <schooltool.app.app.SchoolToolApplication
> object at 0xeb43c2c>, name: u'favicon.ico'
> Traceback
>
> Traceback (most recent call last):
>
> Module zope.publisher.publish, line 129, in publish
> obj = request.traverse(obj)
> Module zope.publisher.browser, line 540, in traverse
> ob = super(BrowserRequest, self).traverse(obj)
> Module zope.publisher.http, line 457, in traverse
> ob = super(HTTPRequest, self).traverse(obj)
> Module zope.publisher.base, line 260, in traverse
> obj = publication.traverseName(self, obj, entry_name)
> Module zope.app.publication.zopepublication, line 200, in
> traverseName
> ob2 = adapter.publishTraverse(request, nm)
> Module schooltool.traverser.traverser, line 79, in publishTraverse
> raise NotFound(self.context, name, request)
>
> NotFound: Object: <schooltool.app.app.SchoolToolApplication object at
> 0xeb43c2c>, name: u'favicon.ico'<br />
>
>
> Display traceback as text
> Request
> HTTP_ACCEPT:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> wsgi.multiprocess: True
> HTTP_COOKIE:
> zope3_cs_16dc3325=R3TcTl-ySBY7Q7CTtyHs0dwOfgIAyLWplMCtrYeFBGjGX3L11.WAt8
> wsgi.multithread: True
> SERVER_SOFTWARE: zope.server.http (zope.server.http)
> SCRIPT_NAME:
> CHANNEL_CREATION_TIME: 1392679045.69
> wsgi.input:
> REQUEST_METHOD: GET
> HTTP_HOST: 192.168.2.71:7080
> PATH_INFO: /favicon.ico
> SERVER_PROTOCOL: HTTP/1.1
> QUERY_STRING:
> CONNECTION_TYPE: keep-aliv...

Read more...

Changed in schooltool:
milestone: 2.7.0 → 2.6.3
assignee: Douglas Cerna (replaceafill) → Gediminas Paulauskas (menesis)
status: Triaged → Fix Committed
summary: - export fails
+ Export fails because of deleted timetable
Changed in schooltool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.