Hi!

Has anyone build a package of the chandler desktop for debian squeeze
and could share his/her experiences?

I was not able to install the prebuild packages so I tried building
one myself. 

I was partially succesfull: 

Using the build scripts of ubuntu 'karmic' as a starting point I had to
do only small changes in the Makefile and the build succeeded. However
on startup I have now a python error message and no idea what went
wrong:

Seconds since last error: 11
Chandler Version: 1.0.4.dev
OS: posix
Platform Type: linux2
Platform Details: Linux-2.6.32-5-686-i686-with-debian-squeeze-sid
Architecture: i686
Python Version: 2.6.5+ (release26-maint, Jul  6 2010, 14:48:45) 
[GCC 4.4.4]
Traceback (most recent call last):
  File "Chandler.py", line 101, in main
    return realMain()
  File "Chandler.py", line 80, in realMain
    app = wxApplication(redirect=redirect, useBestVisual=useBestVisual)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7978, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib/chandler/application/Application.py", line 388, in OnInit
    restorePrefs = schema.ns("osaf.app", view).autoRestorePrefs
  File "/usr/lib/chandler/application/schema.py", line 1316, in __init__
    self.__module = importString(name)
  File "/usr/lib/chandler/application/schema.py", line 1287, in importString
    item = __import__('.'.join(path), globalDict, globalDict, ['__name__'])
  File "/usr/lib/chandler/parcels/osaf/app/__init__.py", line 23, in <module>
    from osaf.framework.blocks.calendar import CalendarUtility
  File "/usr/lib/chandler/parcels/osaf/framework/blocks/__init__.py", line 30, 
in <module>
    from ContainerBlocks import (
  File "/usr/lib/chandler/parcels/osaf/framework/blocks/ContainerBlocks.py", 
line 25, in <module>
    import MenusAndToolbars
  File "/usr/lib/chandler/parcels/osaf/framework/blocks/MenusAndToolbars.py", 
line 57, in <module>
    class BaseItem(Block.Block):
  File "/usr/lib/chandler/parcels/osaf/framework/blocks/MenusAndToolbars.py", 
line 63, in BaseItem
    event = schema.One(Block.BlockEvent, inverse = 
Block.BlockEvent.menuOrToolForEvent)
  File "/usr/lib/chandler/application/schema.py", line 143, in __init__
    setattr(self,k,v)
  File "/usr/lib/chandler/application/schema.py", line 189, in __setattr__
    self._setattr(attr, value)
  File "/usr/lib/chandler/application/schema.py", line 171, in _setattr
    super(Descriptor,self).__setattr__(attr,value)
  File "/usr/lib/chandler/application/schema.py", line 211, in __setInverse
    inverse.inverse = self
  File "/usr/lib/chandler/application/schema.py", line 182, in __setattr__
    % (attr,self)
TypeError: Descriptor objects are immutable; can't change 'inverse' of 
<Descriptor menuOrToolForEvent of <class 
'osaf.framework.blocks.Block.BlockEvent'>> once set

I am completely lost how I caused that! 

My starting point was svn Revision 16701. The changes I did to the build
 process were mostly related to using python 2.6 and treating
 debian/squeeze equally to ubuntu/karmic, basically skipping building
 the same dependencies..

kind regards
  Frank
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to