Syntax error: Mixin columns takes 1 argument but 2 were passed - sass

I'm getting this error when trying to [compass compile]:
Syntax error: Mixin columns takes 1 argument but 2 were passed.
Everybody else on my team do not get this error. The offending line of code is:
#include columns(9,9);
Please assist.

Ok, what fixed this problem is installing the [compass-susy-plugin] gem.

Related

Go compiler: error line number is incorrect giving 1048575 i.e. 0xFFFFF when problem is further on in the file

I am testing code-generation functionality and deliberately creating very large .go source files.
However I see errors with go compiler at line 1048575 (which is 0xFFFFF) such as:
generated.go:1048575:75: invalid character U+0040 '#'
generated.go:1048575:76: const declaration cannot have type without expression
generated.go:1048575:88: syntax error: unexpected E_Blah_Blah, expecting semicolon or newline or )
Is this a known limitation?
EDIT-1: Commenters asked for more info on content of generated file; further tests show when I deliberately introduce a new error at line 1048573 or 1048574 it gets reported as I'd expect, but if I introduced one at 1048575 or higher line number the file I always get the error reported at 1048575.
EDIT-2: I realise now the original issue invalid character U+0040 '#' was indeed a bug in my generated file but it was further down that line number the compiler tells me.
EDIT-3: So I guess the question should really have been:
is there a way to have the go-compiler give the correct line number for a problem if error further down than line 0xFFFFF?
Is this a known limitation ?
No.
The root cause was:
https://github.com/golang/go/issues/36850
i.e. Compiler bug: error line number is capped at 0xFFFFF
as per comment from #icza

Hive error when declaring hivevar

Trying to declare a variable in Hive using Hue online. Using the following code:
SET hivevar:TABLE1=location.tablename;
I am getting the following error message:
Error while compiling statement: FAILED: ParseException line 1:12 missing KW_ROLE at 'hivevar' near 'hivevar' line 1:19 missing EOF at ':' near 'hivevar'.
Can anyone tell me what this error message means or even what the KW_ROLE statement means?
Do you by any chance have a comment above that instruction ? Are you running that line and that line only ?
For example, the following will raise a similar Exception :
--This is a comment
SET hivevar:TABLE1=location.tablename;
But it works fine without the comment.
I guess you are making changes in MAC/Windows and moving the script to the server, Double dash "--" in MAC is a different from double dash "--" on Linux server, make changes on server itself and run the script...

Error in Genetic Algorithm (Octave)

I am trying to implement a genetic algorithm in octave.
My code is http://codepad.org/NeaWqa90
I get the following error:
>> run("a.m")
parse error near line 31 of file /home/teron/a.m
nested functions not implemented in this context
>>> function [x,y]=crossover(x,y)
^
error: called from 'run' in file /usr/share/octave/4.0.0/m/miscellaneous/run.m near line 84, column 5
>>
I do not know how to resolve this error
The error is rather informative, namely the part about "nested functions". For instance, the following gives us the same error.
function fun1
function fun2
end
end
Save this into a text file (eg. temp.m), and run it.
octave:2> run('temp.m')
parse error near line 3 of file /home/me/temp.m
nested functions not implemented in this context
>>> function fun2
^
error: called from 'run' in file /usr/share/octave/3.8.1/m/miscellaneous/run.m near line 80, column 5
I suspect you're missing an end around line 13, but well-formatted code would go a long way.

error after installing magento

Parse error: syntax error, unexpected 'Sns_Avaz_Model_Observer'
(T_STRING) in
/home/ganyobiclothing/public_html/app/code/local/Sns/Avaz/Model/Observer.php
on line 1
If this is the sns-avaz-responsive-magento-theme you should check the following page: http://themeforest.net/item/sns-avaz-responsive-magento-theme/11951628/comments
Hi,
This issue only happen with some hosting/server – it compress content file
We’ve fixed this issue on v1.0.1. Please try go to file: >/app/code/local/Sns/Avaz/Model/Observer.php open it and add space after re-save.
Ex: "<?php" ==> "<?php "
P/S: See my screenshot: http://take.ms/v8G03 and If your issue still … please
Thanks!
Source: http://themeforest.net/item/sns-avaz-responsive-magento-theme/11951628/comments
Good luck!
Parse error: syntax error, unexpected 'Sns_Avaz_Model_Observer' (T_STRING) in /home/ganyobiclothing/public_html/app/code/local/Sns/Avaz/Model/Observer.php on line 1
As its saying on line 1 so probably there is some white space or special character thats resulting in this.

MongoDB depends on ruby?

I tried to startup mongod and I get this type of errors:
/Users/myuser/.rvm/bin/ruby: line 6: /Users/myuser/.rvm/bin/ruby: Argument list too long
/Users/myuser/.rvm/bin/ruby: line 6: /Users/myuser/.rvm/bin/ruby: Undefined error: 0
Why does mongoDB need ruby? and what does this mean exactly...
Can you clarify what you mean by "simply running mongod"? What command line options are you specifying? Where are you seeing these errors - on stdout? In a log? What else are you seeing before you get these errors? A little more context like this will help us better understand the problem you're experiencing.

Resources