[FLASH-BUGS] setup failure on linux
Klaus Weide
klaus at flash.uchicago.edu
Wed Jan 14 19:45:48 CST 2015
On Wed, 14 Jan 2015, Thomas Haworth wrote:
> Hi,
>
> I have a message telling me to email debug info to flash-bugs at flash.uchicago.edu
> but it was automatically rejected.
Hello Thomas,
Thank you for the report.
(We generally assume that FLASH users are subscribed to the flash-users
and flash-bugs mailing lists, if yo uare subscribed your messages should
not get rejected.)
> >> A setup internal error has occured, if possible please email the following
> >> debugging info to flash-bugs at flash.uchicago.edu
> >> Arguments: ['/media/GEN/FLASH4.2.2/bin/setup.py', 'JM_Globulette', '-auto', '-objdir=./GlobTest']
> >> Python Version: 2.6.6
> >> Platform Details: linux2
> >> Traceback (most recent call last):
> >> File "/media/GEN/FLASH4.2.2/bin/setup.py", line 265, in <module>
> >> raise e
> >> TypeError: not all arguments converted during string formatting
I was not able to reproduce your problem on Linux (using Python version
2.6.6 like you). At first I suspected the "./" in your objdir might cause
problems (we would usually just use '-objdir=GlobTest', but that does not
seem to be the case.
Please try the following. It will not remove the cause of your problem,
but should result in a more useful message that should help locate the
problem.
At the end of file bin/setup.py, remove (or comment out) exactly the
following lines:
except Exception, e:
if hasattr(e, 'dumbuser'):
print '\nUser Error!!!\n%s' % e.message
else:
print '\nA setup internal error has occured, if possible please email the following\ndebugging info to flash-bugs at flash.uchicago.edu'
print 'Arguments:', sys.argv
print 'Python Version: %d.%d.%d' % sys.version_info[:3]
print 'Platform Details: %s' % sys.platform
raise e
Try your setup command again. You will probably get several lines of
traceback, including file names and line numbers. You may be able to
deduce the cause of the error from this. If not, please send me the
output you get. (If you do, use a standard example like Sedov so I can
try to reproduce your problem exactly.)
Klaus
>
> My original email is below.
>
>
> Regards,
>
> Thomas Haworth
>
>
> > From: Thomas Haworth <thaworth at ast.cam.ac.uk>
> > Date: 14 January 2015 16:27:39 GMT
> > To: flash-bugs at flash.uchicago.edu
> >
> >
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> > I have been running flash fine on my laptop (macbook air)
> > but am now trying to run on a linux desktop.
> >
> > The same setup command that worked on my desktop
> >
> >
> >> ./setup JM_Globulette -auto -objdir=./GlobTest
> >
> >
> > is now returning
> >
> >>
> >> A setup internal error has occured, if possible please email the following
> >> debugging info to flash-bugs at flash.uchicago.edu
> >> Arguments: ['/media/GEN/FLASH4.2.2/bin/setup.py', 'JM_Globulette', '-auto', '-objdir=./GlobTest']
> >> Python Version: 2.6.6
> >> Platform Details: linux2
> >> Traceback (most recent call last):
> >> File "/media/GEN/FLASH4.2.2/bin/setup.py", line 265, in <module>
> >> raise e
> >> TypeError: not all arguments converted during string formatting
> >
> >
> > so I am sending on the details as it tells me to.
> >
> >
> > I also get the same if I try any of the standard simulations (e.g. Sedov).
> >
> > I've updated my 'sites' since migrating to the desktop.
> >
> > Any help resolving this issue is much appreciated. Let me know if there
> > is anything more that I can provide.
> >
> > Best Regards,
> >
> > Thomas Haworth
> >
> > PDRA
> > IoA Cambridge, UK
>
More information about the flash-bugs
mailing list