Project

General

Profile

Actions

Bug #651

closed

MATLABPATH error when using setup.py install

Added by Scott Stagg almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
06/10/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Show in known bugs:
Workaround:

Description

When you use setup.py install to install appion, you still need to set the MATLABPATH environment variable to point to the appion ace directory. I don't think that it is currently in the documentation for users to update their rc files to include MATLABPATH.

Actions #1

Updated by Amber Herold almost 14 years ago

  • Category set to Documentation
  • Status changed from New to Assigned
  • Assignee set to Scott Stagg
  • Target version set to Appion/Leginon 2.0.1

Scott, would you mind adding a quick note about this in the wiki documentation?

Actions #2

Updated by Scott Stagg almost 14 years ago

I tried and failed to figure out which files to edit. I think the note should go after installation, but when I tried to edit that, this is what I see:

include(appion:Install Appion Packages Shared

How does one edit that file? Also, do the docs say something somewhere about making an alias to start.py for leginon? How do y'all do it there? It may make sense to have the install scripts copy or link start.py to usr/local/bin just like you do with the appion executables.

Actions #3

Updated by Amber Herold almost 14 years ago

I'm not sure about start.py for leginon. Jim, any comments?

Here is a link to the wiki page to edit: http://emg.nysbc.org/projects/appion/wiki/Install_Appion_Packages_Shared
To find included pages, look to the sidebar link for "Index by title". This gives a list of all the wiki pages in the project. In cases that a page applies to both leginon and appion, we put the information on a single wiki page then use the include macro to display it in a seperate wiki page that preserves the specific project navigation. We may do another iteration of the documentation that will hopefully simplify the relationship between appion and leginon and make organization easier.

Actions #4

Updated by Scott Stagg almost 14 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Scott Stagg to Amber Herold

What do you think?

Actions #5

Updated by Amber Herold almost 14 years ago

  • Status changed from In Code Review to Assigned
  • Assignee changed from Amber Herold to Jim Pulokas

Looks good Scott, thanks.
Jim, I'm assigning to you to address Scott's comment on start.py in leginon.

Actions #6

Updated by Jim Pulokas almost 14 years ago

  • Status changed from Assigned to In Test
  • Assignee changed from Jim Pulokas to Anchi Cheng

For a standard Leginon installation, it is not necessary to create an alias or modify the search path. A script called start-leginon.py is installed in /usr/bin, or whatever script path you specify to setup.py install (r3373). You may be recalling how we often set up aliases or path modifications for our local sandbox versions of Leginon. This ensures that the correct sandbox gets used instead of the officially installed version. Also, on Windows you need to create a shortcut to start.py if you want to launch it from the desktop or start menu.
Anchi can confirm this is all correct.

Actions #7

Updated by Anchi Cheng almost 14 years ago

  • Status changed from In Test to Closed

confirmed

Actions #8

Updated by Anchi Cheng almost 14 years ago

  • Status changed from Closed to In Test
  • Assignee changed from Anchi Cheng to Scott Stagg

Scott,
Reopen just so that you see Jim's comment. Close it after you've read it.

Actions #9

Updated by Scott Stagg almost 14 years ago

  • Status changed from In Test to Closed

Yep, start-leginon.py is in my path. Thanks!

Actions

Also available in: Atom PDF