Skip to content

Borschik throws an error when processing absolute URL in CSS file #55

Closed
ruslankerimov opened this Issue Dec 25, 2012 · 7 comments

4 participants

@ruslankerimov

b-showcase__browser-update.ie6.css:

.b-showcase__browser-update .b-link
{
    background: none;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://yandex.st/lego/_/PhHTjJXKovljV4SIW-wp1OlsXww.png',sizingMethod=crop);
}

.borschik:

{
    "paths" : {
        "./": "//yandex.st/auto2/{{DEBIAN_VERSION}}/",
        "freeze/": "//yandex.st/auto2/_/"
    },

    "freeze_paths" : {
        "./": "freeze/"
    }
}

error:

Error
    at /home/orion/www/auto2/node_modules/borschik/lib/freeze.js:65:49
    at Object.processImage (/home/orion/www/auto2/node_modules/borschik/lib/freeze.js:22:12)
    at [object Object].processLink (/home/orion/www/auto2/node_modules/borschik/lib/techs/css-base.js:29:37)
    at [object Object].process (/home/orion/www/auto2/node_modules/borschik/lib/tech.js:70:54)
    at SpecificTranslator.$borschik [as borschik] (/home/orion/www/auto2/node_modules/borschik/lib/techs/css.ometajs.js:169:24)
    at SpecificTranslator.invoke (/home/orion/www/auto2/node_modules/borschik/node_modules/ometajs/lib/ometajs/core/grammar.js:162:17)
    at SpecificTranslator.cache [as _cache] (/home/orion/www/auto2/node_modules/borschik/node_modules/ometajs/lib/ometajs/core/parser.js:123:16)
    at SpecificTranslator._invoke (/home/orion/www/auto2/node_modules/borschik/node_modules/ometajs/lib/ometajs/core/grammar.js:168:17)
    at SpecificTranslator.rule [as _rule] (/home/orion/www/auto2/node_modules/borschik/node_modules/ometajs/lib/ometajs/core/grammar.js:269:16)
    at SpecificTranslator.<anonymous> (/home/orion/www/auto2/node_modules/borschik/lib/techs/css.ometajs.js:157:21)
From previous event:
    at Cmd._do (/home/orion/www/auto2/node_modules/borschik/node_modules/coa/lib/cmd.js:424:14)
    at Cmd.do (/home/orion/www/auto2/node_modules/borschik/node_modules/coa/lib/cmd.js:471:17)
    at Cmd.run (/home/orion/www/auto2/node_modules/borschik/node_modules/coa/lib/cmd.js:459:21)
    at Object.<anonymous> (/home/orion/www/auto2/node_modules/borschik/bin/borschik:3:23)

@arikon
Collaborator
arikon commented Dec 25, 2012

Could you please provide full error message, not just stack trace?

@afelix afelix was assigned Dec 27, 2012
@arikon
Collaborator
arikon commented Dec 27, 2012

@afelix Have a look at this, please

@Flackus
Flackus commented Dec 29, 2012

Ping.

@arikon
Collaborator
@afelix
Collaborator
afelix commented Dec 29, 2012

Я занимаюсь этой проблемой, сегодня будет костыльный фикс. После него именно эта бага будет исправлена. Сам же issue не закрывайте, проблема глубже.

@afelix afelix referenced this issue Mar 8, 2013
Merged

Fixpack #72

@afelix
Collaborator
afelix commented Mar 8, 2013

Fixed in 0.2.6.

@afelix afelix closed this Mar 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.