[chandler-users] Putting repository somewhere other than C drive
Andi Vajda
vajda at osafoundation.org
Thu Jun 12 08:55:11 PDT 2008
On Jun 12, 2008, at 6:27 AM, Grant Baillie <grant at osafoundation.org>
wrote:
>
> On 10 Jun, 2008, at 15:48, Joy Rowe wrote:
>
>> That did work well. No more repository taking up space on the
>> C:drive and getting me in trouble. Thank you!
>>
>> The "Python Eggs" still appear under C:Documents & Settings/user/
>> Application Data when I run Chandler, though. So far, not a big
>> deal, but will this folder get bigger and land me in trouble with
>> the C:drive police? And if I run Chandler from my USB on another
>> computer, will I be missing data or a piece of the program?
>
> Right you are ... Inside there, I see a folder called
> chandlerdb-0.7_37-py2.5-win32.egg-tmp, and there are only a few
> actual files therein (they're all called "c.pyd").
>
> chandlerdb is one of the libraries the application uses: I'm not
> 100% sure why this folder is created, but so far as I can tell, it's
> not going to pile up tons of files on your hard drive. FWIW, I tried
> to delete that Python-Eggs folder, and it got recreated the next
> time I launched.
This is a setuptools feature. The chandlerdb egg is a zip archive and
setuptools has to unzip it before it can give the DLLs inside
(those .pyd files) to the OS. A way around this is to
tell setuptools to not make a zip archive out of the chandlerdb egg at
build time. Zipping it up is the default.
Andi..
>
>
> --Grant
>
>> ----- Original Message -----
>> From: "Grant Baillie" <grant at osafoundation.org>
>> To: "Joy Rowe" <jrowe at lib.ucdavis.edu>
>> Cc: chandler-users at osafoundation.org
>> Sent: Tuesday, June 10, 2008 11:18:45 AM (GMT-0800) America/
>> Los_Angeles
>> Subject: Re: [chandler-users] Putting repository somewhere other
>> than C drive
>>
>> Hi, Joy
>>
>> The instructions are a little terse (i.e. aimed at developers): it
>> turns out you don't need to use the Windows command line at all to do
>> what you want. Assuming your USB drive is the "D:" drive, here's what
>> you need to do:
>>
>> + Go to the Windows Control Panel (in the Start menu)
>> + Double-click "System"
>> + Click on the "Advanced" tab
>> + Click on the "Environment Variables" button in the bottom left of
>> the window that comes up
>> + In the upper part of the window, there's a box labelled "User
>> variables for <your user name>". Click on the "New" button there.
>> + In the resulting dialog, Set the "Variable name:" field to
>> "PROFILEDIR" (no quotes), and the "Variable value:" to "D:\profile".
>> + Keep clicking OK till all the dialogs have gone :)
>>
>> Now, you should be able to launch Chandler and have it create the
>> repository on your D drive. Do let us know if this works out.
>>
>> --Grant
>>
>> PS: A while back, Andi Vajda, one of our developers, made it possible
>> to build a Chandler-on-a-USB-stick, though you would need developer
>> tools and some help to do that. If there are more people like you out
>> there, we could consider releasing this as an official build in the
>> future.
>>
>> On 10 Jun, 2008, at 10:20, Joy Rowe wrote:
>>
>>> Hi all,
>>>
>>> Chandler sends me here to Get Help, so I hope I'm in the right
>>> place.
>>>
>>> Here's my problem:
>>>
>>> I want to try Chandler out at my work, but am not allowed to install
>>> things on the C drive of my Windows machine.
>>>
>>> I attempted to download Chandler entirely onto a USB flashdrive, but
>>> the repository (and other things) installed onto the C drive anyway.
>>>
>>> I noticed this message, which looks like it might help me, but I
>>> don't know how to use this information:
>>>
>>> http://chandlerproject.org/Projects/ProfileDirectory
>>>
>>>>>
>>> Overriding default
>>>
>>> There is a command line parameter and an environment variable that
>>> can be
>>>
>>> used to override the automatic directory:
>>>
>>> --profileDir=/path/to/foo
>>> -P /path/to/foo
>>> PROFILEDIR
>>>>>
>>>
>>> Can someone give instructions on how to install Chandler entirely
>>> onto USB?
>>>
>>> I apologize in advance for my need of extremely detailed
>>> instructions, including (if necessary) how to open the console. I'm
>>> very excited about Chandler, but have only just begun to understand
>>> how to use the command line to get programs to do what I want.
>>>
>>> Thanks,
>>> Joy
>>> _______________________________________________
>>> chandler-users mailing list
>>> chandler-users at osafoundation.org
>>> http://lists.osafoundation.org/mailman/listinfo/chandler-users
>>
>>
>
> _______________________________________________
> chandler-users mailing list
> chandler-users at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/chandler-users
More information about the chandler-users
mailing list