tag:support.baseworks.nl,2011-05-09:/discussions/sassee/10-no-setter-functionBaseworks: Discussion 2012-03-27T21:05:36Ztag:support.baseworks.nl,2011-05-09:Comment/147317342012-03-23T20:12:59Z2012-03-23T20:13:00ZNo setter function<div><p>Actually, I've now managed to fix this problem by copying over
the SASSee php files directly from the other site (as opposed to
using the downloaded source files), which suggests that I must have
hacked some kind of fix into place on the other site and forgot
about it.</p>
<p>I'd still be curious if you have any official thoughts on the
error though.</p></div>Marktag:support.baseworks.nl,2011-05-09:Comment/147317342012-03-23T20:18:24Z2012-03-23T20:18:24ZNo setter function<div><p>Hi Mark,</p>
<p>It is possible that the SASS parser I'm using is somewhat
outdated, as development for it stopped just after I implemented it
in Sassee. Only recently some promising replacements for Phamlp
(the parser I'm using) started popping up, so I'm looking into
those to keep Sassee up to date.</p>
<p>Could you perhaps send a copy of the files you are using now so
I can see what you've changed?</p>
<p>– Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/147317342012-03-26T13:08:13Z2012-03-26T13:08:14ZNo setter function<div><p>I just inspected the files, and it looks like the only the only
change I made was to comment out the line that was throwing the
exception, line 88 of SassNode.php:</p>
<p>//throw new SassNodeException('No setter function for {what}',
array('{what}'=>$name), $this);</p>
<p>Which certainly explains why the problem went away. FWIW, I
haven't had any trouble after this point, which would seem to
indicate that the exception is being thrown unnecessarily in some
cases.</p></div>Marktag:support.baseworks.nl,2011-05-09:Comment/147317342012-03-26T21:22:30Z2012-03-26T21:22:30ZNo setter function<div><p>Are you sure all your SASS is being parsed to CSS?</p>
<p>Like I said, the parser I'm using at the moment is somewhat
outdated, so it could be that not all current features are
implemented.</p>
<p>– Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/147317342012-03-26T21:26:31Z2012-03-26T21:26:33ZNo setter function<div><p>AFAIK everything is working as expected. The only quirk I
noticed is that I can't use the unitless zero, though this may be a
fact about SASS itself, I've never used it before using it with
SASSee. Aside from that, everything works as expected, and this is
after building an entire site with it.</p></div>Marktag:support.baseworks.nl,2011-05-09:Comment/147317342012-03-27T21:05:35Z2012-03-27T21:05:35ZNo setter function<div><p>I'll look into it either way. Thanks for reporting the
problem..</p>
<p>– Wouter</p></div>Wouter Vervloet