← Back to team overview

schooltool-developers team mailing list archive

Re: New Update available (Server Error)

 

HI Glenda and Mike,

This one is mysterious.  Everything works until you try to fetch that
report?  Same for all reports or just that one?  School firewalls can cause
strange things to happen with SSL (encrypted) connections.  Can you test
this from outside the school to see if the same thing happens?  Also, could
you try it from a different browser?

--Tom


On Thu, May 23, 2013 at 4:33 PM, Glenda Lewis <glewis@xxxxxxxxxxxxxxx>wrote:

> They apparently never did the previous update to get the by section SCR
> report. Now they get this. Thanks for your help.
>
> ---------- Forwarded message ----------
> From: Mike Wagner <Mwagner@xxxxxxxxxxxxx>
> Date: Thu, May 23, 2013 at 3:06 PM
> Subject: New Update available (Server Error)
> To: Glenda Lewis <glewis@xxxxxxxxxxxxxxx>
> Cc: Teresa Madigan <tmadiga@xxxxxxxxxxxxx>
>
>
>  Glenda,
>
> The following happens when doing the following:
>
>  Click cando in the teal bar
> Under reports on the left side- open student competency report (section)
> Download and the error shows up.
>
> Exception
>
> IOError: [Errno socket error] [Errno 1] _ssl.c:504: error:140770FC:SSL
> routines:SSL23_GET_SERVER_HELLO:unknown protocol
>    handle_pageBegin args=()
>
>
> 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.StudentCompetencySectionReportPDFView_student_competency_section_report.pdf
> object at 0x7f3ae25c2950>
> 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/skin/flourish/report.py", line
> 161, in __call__
>   data = self.renderPDF(rml)
> File
> "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/report.py", line
> 110, in renderPDF
>   stream = rml2pdf.parseString(xml, filename=filename or None)
> File "/usr/lib/python2.7/dist-packages/z3c/rml/rml2pdf.py", line 41, in
> parseString
>   doc.process(output)
> File "/usr/lib/python2.7/dist-packages/z3c/rml/document.py", line 286, in
> process
>   self.doc.multiBuild(self.flowables)
> File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py",
> line 960, in multiBuild
>   self.build(tempStory, **buildKwds)
> File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py",
> line 877, in build
>   self.clean_hanging()
> File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py",
> line 510, in clean_hanging
>   self.handle_flowable(self._hanging)
> File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py",
> line 757, in handle_flowable
>   f.apply(self)
> File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py",
> line 140, in apply
>   getattr(doc,arn)(*args)
> File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py",
> line 535, in handle_pageBegin
>   self.pageTemplate.onPage(self.canv,self)
> File "/usr/lib/python2.7/dist-packages/z3c/rml/template.py", line 146, in
> drawOnCanvas
>   drawing.process()
> File "/usr/lib/python2.7/dist-packages/z3c/rml/directive.py", line 109, in
> process
>   self.processSubDirectives()
> File "/usr/lib/python2.7/dist-packages/z3c/rml/directive.py", line 102, in
> processSubDirectives
>   directive.process()
> File "/usr/lib/python2.7/dist-packages/z3c/rml/canvas.py", line 304, in
> process
>   kwargs = dict(self.getAttributeValues(attrMapping=self.attrMapping))
> File "/usr/lib/python2.7/dist-packages/z3c/rml/directive.py", line 59, in
> getAttributeValues
>   value = attr.bind(self).get()
> File "/usr/lib/python2.7/dist-packages/z3c/rml/attr.py", line 100, in get
>   return self.fromUnicode(value)
> File "/usr/lib/python2.7/dist-packages/z3c/rml/attr.py", line 308, in
> fromUnicode
>   fileObj = super(Image, self).fromUnicode(value)
> File "/usr/lib/python2.7/dist-packages/z3c/rml/attr.py", line 292, in
> fromUnicode
>   fileObj = self.open(value)
> File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
>   return opener.open(url)
> File "/usr/lib/python2.7/urllib.py", line 207, in open
>   return getattr(self, name)(url)
> File "/usr/lib/python2.7/urllib.py", line 436, in open_https
>   h.endheaders(data)
> File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
>   self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
>   self.send(msg)
> File "/usr/lib/python2.7/httplib.py", line 776, in send
>   self.connect()
> File "/usr/lib/python2.7/httplib.py", line 1161, in connect
>   self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
> File "/usr/lib/python2.7/ssl.py", line 381, in wrap_socket
>   ciphers=ciphers)
> File "/usr/lib/python2.7/ssl.py", line 143, in __init__
>   self.do_handshake()
> File "/usr/lib/python2.7/ssl.py", line 305, in do_handshake
>   self._sslobj.do_handshake()
>
> This is after running the upgrade procedure below.
>
> Mike
>
>
>
> Mike Wagner
> Network Engineer III
> Norfolk Public Schools>>> Glenda Lewis <glewis@xxxxxxxxxxxxxxx> 2/27/2013
> 3:54 PM >>>
>    A new update/upgrade is available now. The server should be updated
> using the following code:
>
> sudo apt-get update
> sudo apt-get upgrade
>
> Included in this release:
> 1. A Project bug has been fixed that did not allow scores entered into a
> project to display properly in the skills view.
>
> 2. Two new/printable reports for teachers.
>
>    - Section Competencies (SCR) - this report displays all skills with
>    ratings.
>    -- To Access: Click on a student name from the *Skills *view and
>    select *Score *from the drop-down menu. To print this report (PDF),
>    click on *Section Competencies* under the *Report *heading in the left
>    sidebar.
>    - Certification of Competency - A new report that can be printed, and
>    signed and dated by the instructor. This report can be used to verify
>    student achievement to a perspective employer. By adjusting the minimum
>    passing score, the report can display ALL tasks (choose Uninformed), or
>    only those tasks with one of the top three scores (choose Practicing).
>    -- To Access: Click on a student name from the *Skills *view and
>    select *Score *from the drop-down menu.To print this report (PDF),
>    click on *Certification of Competency* under the *Report *heading in
>    the left sidebar.
>
>    Even though we are in the second semester for this year, we are
> continuing to fix and enhance CanDo. Please let me know of any issues are
> bugs you encounter, and incorporate new updates as soon as they are
> announced.
>
> Thank you.
> --
> Glenda Lewis, Technology Support Specialist
> CTE Resource Center
> 2002 Bremo Road, Lower Level
> Richmond, VA 23226
> 804.673.3778
> glewis@xxxxxxxxxxxxxxx
> http://cteresource.org
> http://facebook.cteresource.org/
> http://www.twitter.com/VirginiaCTE
>  ------------------------------
> NOTE: This message was trained as non-spam. If this is wrong, please
> correct the training as soon as possible.
>
>
>
>  ------------------------------
>
> Spam<https://spamtrap1a.nps.k12.va.us/canit/b.php?i=02JDv7gCs&m=cd4e8eef5647&t=20130523&c=s>
> Not spam<https://spamtrap1a.nps.k12.va.us/canit/b.php?i=02JDv7gCs&m=cd4e8eef5647&t=20130523&c=n>
> Forget previous vote<https://spamtrap1a.nps.k12.va.us/canit/b.php?i=02JDv7gCs&m=cd4e8eef5647&t=20130523&c=f>
>
>
>
> --
> Glenda Lewis, Technology Support Specialist
> CTE Resource Center
> 2002 Bremo Road, Lower Level
> Richmond, VA 23226
> 804.673.3778
> glewis@xxxxxxxxxxxxxxx
> http://cteresource.org
> http://facebook.cteresource.org/
> http://www.twitter.com/VirginiaCTE
>