From: Sergi R. <sr...@ce...> - 2016-02-10 10:25:24
|
I'm in favour of this last solution, having yacctab/lextab generated on runtime at user's home. Many of the portability problems we had with these files would have been avoided if they were user-specific. Thanks, Sergi Rubio On 02/10/2016 10:12 AM, Carlos Pascual wrote: > > I had a look, and this one is tricky... > > If you avoid generating the lex/yacc tab files during build time, you > end up with an installation that lacks those files in the installation > dir. The problem with this is that if the user running a GUI that uses > jdraw (i.e. containing a synoptic) does not have write permissions to > the installation dir (which is a quite standard situation), she will > get the following WARNING: > > JDraw Parser: Couldn't create 'taurus.qt.qtgui.graphic.jdraw.jdraw_yacctab'. [Errno 13] Permission denied > > This happens *even if the PLY_OPTIMIZE is set to 0 in the > tauruscustomsettings* (and if PLY_OPTIMIZE is set to 1, an additional > complain occurs for jdraw_lextab) > > Proposal: we can change so that the lex/yacc tab files are created > only at run time, and only in the home dir (e.g. as > ~/.taurus/lextab.py and ~/.taurus/yacctab.py) > > ------------------------------------------------------------------------ > > *[tickets:#262] <http://sourceforge.net/p/tauruslib/tickets/262/> Set > PLY optimization in build time* > > *Status:* waiting > *Milestone:* unassigned > *Labels:* setup PLY > *Created:* Wed Feb 10, 2016 07:22 AM UTC by Carlos Falcon > *Last Updated:* Wed Feb 10, 2016 07:22 AM UTC > *Owner:* nobody > > Hi, > I would like to setup the PLY (lex/tacc) optimization in "build time" > . So, Could be possible to add this option in the setup?. > > Meanwhile, Could be changed the default mode in the > tauruscustomsettings ? Move from Active to disabled. > > Thanks, > C.Falcon > > ------------------------------------------------------------------------ > > Sent from sourceforge.net because > tau...@li... is subscribed to > https://sourceforge.net/p/tauruslib/tickets/ > > To unsubscribe from further messages, a project admin can change > settings at https://sourceforge.net/p/tauruslib/admin/tickets/options. > Or, if this is a mailing list, you can unsubscribe from the mailing list. > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > _______________________________________________ > Tauruslib-devel mailing list > Tau...@li... > https://lists.sourceforge.net/lists/listinfo/tauruslib-devel |