Hi Ricardo, Just one thought, make sure that there is a copy of Sweave.sty installed in your LaTeX path (and make sure that LyX can find it). I was having some troubles with Sweave and LyX 2.0 on Mac a while ago, and this is what ultimately fixed it.
But, to be honest, I haven't really played with LyX 2.0 on my Mac recently. I've been on a book deadline and it just felt to unstable to any real work. On Linux, though, it's been very reliable. Cheers, Rob On Tue, 2010-05-11 at 00:13 +0200, [Ricardo Rodriguez] eBioTIC. wrote: > Hi! > > Jean-Marc LASGOUTTES wrote: > > > Without doing any other step, if I create a new document and go to > > > Document>Settings>Modules and try to add Sweave module, LyX crashes. I > > > am nevertheless able to add other modules like Braille or EndNote. > > > > > > > This is bad. However, I do not see where it comes from. Do you have > > messages in the console (launch Console.app and look for messages that > > may come from LyX). > > > > > > Sorry, I've not been able to regain access to the concerned box until > late in the afternoon. Here what I've found: > > These are the lines recorded in the console log each time LyX crashes > after trying to load Sweave module: > > ***** > 5/10/10 7:06:09 PM [0x0-0x57057].org.lyx.lyx[685] terminate called > after throwing an instance of 'lyx::support::ExceptionMessage' > 5/10/10 7:06:09 PM [0x0-0x57057].org.lyx.lyx[685] what(): Package > not available > 5/10/10 7:06:09 PM [0x0-0x57057].org.lyx.lyx[685] The module sweave > requires a package that is > 5/10/10 7:06:09 PM [0x0-0x57057].org.lyx.lyx[685] not available in > your LaTeX installation. LaTeX output > 5/10/10 7:06:09 PM [0x0-0x57057].org.lyx.lyx[685] may not be possible. > 5/10/10 7:06:09 PM com.apple.launchd.peruser.501[121] > ([0x0-0x57057].org.lyx.lyx[685]) Job appears to have crashed: Abort > trap > 5/10/10 7:06:09 PM ReportCrash[907] Saved crash report for lyx[685] > version 2.0.0alpha2 (???) > to > /Users/rrodriguez/Library/Logs/DiagnosticReports/lyx_2010-05-10-190609_Ricardo-Rodriguezs-Mac-Pro.crash > ***** > > For easier reference... > > http://xen.net/onLyX/lyxCrashConsoleMessages.html > > The full report generated by Mac OS X is available here... > > http://xen.net/onLyX/lyxCrashProbReport.html > > The box has a fresh and fully updated Mac OS X 10.6.3 (10D573) > > I've installed MacTeX (as per section 2.2 at > http://www.lyx.org/Download) prior to install LyX 1.6.5, then to > install LyX 2.0.0 alpha2 > > The link at the LyX download page drove me to... > http://www.tug.org/mactex/2009/ > [ approximately 1.3G - 12 March 2010 ] > MacTeX-2009.mpkg > MacTeX.mpkg.zip > > Please, does this make any sense for you? Let me know how I can be of > any further help. Thanks! > > Cheers, > > Ricardo > -- > Ricardo RodrÃguez > CTO > eBiotic. > Life Sciences, Data Modeling and Information Management Systems