[FLASH-BUGS] A setup internal error

Klaus Weide klaus at flash.uchicago.edu
Tue Nov 1 09:05:51 CDT 2011


On Tue, 1 Nov 2011, Li-Jun Hu wrote:

> Hi! 
> I have an error when typing ./setup Sedov -auto 
> Do you know how to resolve this problem?
> Best,
> Lijun
> 
> A setup internal error has occured, if possible please email the following
> debugging info to flash-bugs at flash.uchicago.edu
> Arguments: ['/disk2/hulj/flash/bin/setup.py', 'Sedov', '-auto']
> Python Version: 2.3.4
> Platform Details: linux2
> Traceback (most recent call last):
>   File "/disk2/hulj/flash/bin/setup.py", line 238, in ?
>     main()
>   File "/disk2/hulj/flash/bin/setup.py", line 133, in main
>     linkList.reallyLink()
>   File "/disk2/hulj/flash/bin/linkFiles.py", line 212, in reallyLink
>     if not os.path.exists(link) and  os.path.lexists(link) and  os.path.islink(link):
> AttributeError: 'module' object has no attribute 'lexists'

This problem may occur when older versions of python are used to run 
./setup.

Two ways to work around this:
(1) Use a more up to date version of python.

(2) Change line 212 in bin/linkFiles.py to

             if not os.path.exists(link) and  os.path.islink(link) and os.path.lexists(link):

i.e., change the order of the 2nd and 3rd test on that line.


Klaus


More information about the flash-bugs mailing list