r1 - 06 Jun 2007 - 06:40:43 - VeraSheinmanYou are here: OSAF >  Journal Web  >  TWikiUsers > VeraSheinman > VeraSheinmanNotes > GettingStarted
In order to get started, I followed the Tutorial for writing a parcel.

My environment MacOSX? 10.4.9

Steps until the first error

  • Checked out the latest chandler (0.7 r14561):
     svn co http://svn.osafoundation.org/chandler/trunk/chandler chandler 
  • Installed and ran it successfully:
    • make install
    •  ./release/RunChandler --create -W 
  • Uninstalled the existing parcel for feeds and created a new directory for a new version
    •  cd projects/Chandler-FeedsPlugin/ 
    •  PYTHONPATH=../../ ../../release/RunPython setup.py develop -u --install-dir=../../ 
    •  cd ../../ 
    •  mkdir ~/Chandler-FeedsPlugin 
    •  cd ~/Chandler-FeedsPlugin 
  • Created setup.py file in
     ~/Chandler-FeedsPlugin
    and init.py following the directions
    •  mkdir feeds 
    •  cat > feeds/__init__.py ^D
  • Ran the setup in develop mode as instructed
    •  ~/chandler/release/RunPython setup.py develop
  • Created and updated
    feeds/channels.py
    by the instructions
  • Tried to run Chandler with the new feed parcel
    • ~/chandler/release/RunChandler --create -W

Error: Please unset the CHANDLERHOME environment variable or set it to point to the directory that contains Chandler.py

Solution: unsetting CHANDLERHOME did not help. Setting CHANDLERHOME=~/chandler worked. No further settings were required for this environment variable in later stages.

Confusing:The command --create runs chandler with new repository. It was not clear for me how to run chandler with fresh repository from the instructions.

Further steps

  • Tried to run chandler and check the repository.
    • ~/chandler/release/RunChandler --create -W
    • feeds is not listed in the repository, as opposed to the tutorial instructions
  • Tried to run chandler after installing the changes for feeds:
    • from ~/Chandler-FeedsPlugin run ~/chandler/debug/RunPython setup.py install
    • ~/chandler/release/RunChandler --create -W
    • feeds is not listed in the repository, as opposed to the tutorial instructions
  • Following the tutorial created blocks.py
    •  ~/chandler/release/RunPython setup.py develop
    •  ~/chandler/release/RunPython setup.py install
    •  ~/chandler/release/RunChandler --create -W
    • Chandler crushed on load. Sent error to OSAF.
  • Copied the code from the latest version of chandler
    •  code from setup.py, __init.py__, blocks.py and channels.py to files in ~/Chandler-FeedsPlugin
    •  ~/chandler/release/RunPython setup.py develop
    •  ~/chandler/release/RunPython setup.py install
    •  ~/chandler/release/RunChandler --create -W
    • Chandler runs and feeds may be seen in repository.

-- VeraSheinman - 06 Jun 2007

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.