Ticket #3463 (assigned task)

Opened 7 months ago

Last modified 7 months ago

[with patch, not ready for review] notebook -- create a resource folder and move AnonymousToplevel to it

Reported by: TimothyClemans Assigned to: TimothyClemans (accepted)
Priority: major Milestone: sage-3.4
Component: notebook Keywords:
Cc:

Description

This is a first step in making the Notebook code more modular like Knoboo's.

Attachments

3463_1.patch (4.3 kB) - added by TimothyClemans on 06/18/2008 01:45:48 PM.
3463_2.patch (3.3 kB) - added by TimothyClemans on 06/19/2008 01:57:07 AM.

Change History

06/18/2008 12:32:33 PM changed by TimothyClemans

  • owner changed from boothby to TimothyClemans.
  • status changed from new to assigned.

06/18/2008 01:45:48 PM changed by TimothyClemans

  • attachment 3463_1.patch added.

06/18/2008 01:50:47 PM changed by TimothyClemans

  • summary changed from notebook -- create a resource folder and move AnonymousToplevel to it to [with patch, not ready for review] notebook -- create a resource folder and move AnonymousToplevel to it.

I'm getting the following import error and haven't been able to figure it out.

  File "/home/tclemans/sage-3.0.3.alpha0/local/lib/python2.5/site-packages/twisted/application/app.py", line 412, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/home/tclemans/sage-3.0.3.alpha0/local/lib/python2.5/site-packages/twisted/application/service.py", line 340, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/home/tclemans/sage-3.0.3.alpha0/local/lib/python2.5/site-packages/twisted/persisted/sob.py", line 214, in loadValueFromFile
    exec fileObj in d, d
  File "sage_notebook/twistedconf.tac", line 47, in <module>
    import sage.server.notebook.avatars as avatars
  File "/home/tclemans/sage-3.0.3.alpha0/local/lib/python2.5/site-packages/sage/server/notebook/avatars.py", line 20, in <module>
    import resources.toplevels as toplevels
  File "/home/tclemans/sage-3.0.3.alpha0/local/lib/python2.5/site-packages/sage/server/notebook/resources/toplevels.py", line 3, in <module>
    import sage.server.notebook.avatars as avatars
exceptions.AttributeError: 'module' object has no attribute 'avatars'

Failed to load application: 'module' object has no attribute 'avatars'

06/19/2008 01:57:07 AM changed by TimothyClemans

  • attachment 3463_2.patch added.