Assets of stylechecker

16 views
Skip to first unread message

ramiro....@nievedechamoy.com

unread,
May 26, 2017, 8:05:11 PM5/26/17
to SciELO Development
Hi, I am wondering what does the false means in the assets section:

[
 
{
   
"_xml": "/home/nika-zhenya/Descargas/scielo/aop/aop.xml",
   
"assets": [
     
[
       
"img/img01.jpg",
       
false
     
],
     
[
       
"img/img02.jpg",
       
false
     
],
     
[
       
"img/img03.jpg",
       
false
     
],
     
[
       
"img/img04.jpg",
       
false
     
]
   
],
   
"dtd_errors": [],
   
"is_valid": true,
   
"style_errors": {}
 
}
]

I am guessing that is indicating that the asset wasn't localized, is that right? If yes, I am wondering what am I doing wrong, because the assets exists.

My project tree:

.
├── aop.docx
├── aop.md
├── aop.pdf
├── aop.xml
├── errores.txt
└── img
   
├── img01.jpg
   
├── img02.jpg
   
├── img03.jpg
   
└── img04.jpg

How I use stylechecker (implying I am in the parent project folder):

$ stylechecker aop.xml > errores.txt

or:

$ stylechecker --assetsdir img/ aop.xml > errores.txt

or even:

$ stylechecker --assetsdir ~/Descargas/scielo/aop/img/ aop.xml > errores.txt

I got the same false in the log.

Gustavo Fonseca

unread,
May 29, 2017, 9:27:33 AM5/29/17
to sciel...@googlegroups.com
Hi,

“false” means the target file could not be found in the base dir. The base dir is
either the XML file’s base dir or the one specified in the --assetsdir option.

Could you please fill an issue[1] in our issue tracker with a step-by-step on how
to reproduce the error? I would also like to have the output of the command:
``stylechecker --sysinfo``.

[1]https://github.com/scieloorg/packtools/issues/new

Regards,
-Gustavo
--
You received this message because you are subscribed to the Google Groups "SciELO Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scielo-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages