[chandler-users] Prototype Ubuntu package available

Grant Baillie grant at osafoundation.org
Thu Nov 6 08:51:28 PST 2008


On 3 Nov, 2008, at 20:40, Heikki Toivonen wrote:

> Jared Rhine wrote:
>> A very first prototype of an Ubuntu native package repository for
>> Chandler Desktop is available.
>
> Way cool, installed without a hitch on my 32 bit hardy.
>
> For some reason it gives me an import error when trying to use an
> existing repo: ImportError: No module named repository.util.URL

How old is that repo? The repository package moved into chandlerdb  
quite some time ago (December of 2007, IIRC).

> Also it seems like you can't pass in a relative path to -P:
>
> ~$ chandler -P newrepo
> Traceback (most recent call last):
>  File "Chandler.py", line 172, in <module>
>    sys.exit(main())
>  File "Chandler.py", line 26, in main
>    Globals.options = Utility.initOptions()
>  File "/usr/lib/chandler/application/Utility.py", line 444, in  
> initOptions
>    initProfileDir(options)
>  File "/usr/lib/chandler/application/Utility.py", line 508, in
> initProfileDir
>    createProfileDir(options.profileDir)
>  File "/usr/lib/chandler/application/Utility.py", line 42, in
> createProfileDir
>    os.makedirs(profileDir, 0700)
>  File "/usr/lib/python2.5/os.py", line 171, in makedirs
>    mkdir(name, mode)
> OSError: [Errno 13] Permission denied: 'newrep'

That actually is a bug in the chandler script that has been around a  
while (it does a cd right at the end).

> I noticed some things in the deb that I believe you can remove:
>
> /usr/lib/chandler/release/db/bin
> /usr/lib/chandler/release/site-packages/pylint
> /usr/lib/chandler/release/site-packages/logilab
> /usr/lib/chandler/release/site-packages/epydoc
> /usr/lib/chandler/tools

Oh, right ... I'm not 100% sure about tools ... (I have a vague  
recollection of hidden dependencies there).

> Maybe also:
>
> /usr/lib/chandler/release/j2re-image/bin
>
> I think you should be able to use system M2Crypto.
>
>> Then just "aptitude install chandler" or use Synaptic again to  
>> install.
>> The repository is not signed so you'll have to accept whatever
>> "untrusted" warning come up until I can provide a signed Release  
>> for the
>> repository.
>
> If you need your builder GPG key signed by people, let me know...
>
>> I've heard the issues with getting 64-bit Ubuntu packages running; I
>> don't have a machine to hack on that right now, but maybe we can make
>> that happen somehow soon.
>
> I have 64 bit system available, so I can run some tests although won't
> have time for development at the moment.

I've also been tweaking things to run against system openjdk, rather  
than a pre-installed image. Hopefully this will help the 64 bit build  
process somewhat.

--Grant




More information about the chandler-users mailing list