<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Console error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585268#M597741</link>
    <description>&lt;P&gt;thanks Rob again.&lt;/P&gt;&lt;P&gt;I attached my log , &lt;SPAN&gt;I don't understand what it's happening,&amp;nbsp;&lt;/SPAN&gt;because in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;QVW it work properly and from the&amp;nbsp;management console&amp;nbsp;doesn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;my script:&lt;/P&gt;&lt;P&gt;Sub GetFiles(vPath)&lt;/P&gt;&lt;P&gt;For each vFile in FileList('$(vPath)*.*')&lt;BR /&gt;ARCHIVOS_Indacor:&lt;BR /&gt;Load&lt;BR /&gt;UPPER(RIGHT('$(vFile)', LEN( TRIM('$(vFile)')) - INDEX('$(vFile)', '.', -1))) AS EXTENSION ,&lt;BR /&gt;RIGHT('$(vFile)', LEN( TRIM('$(vFile)')) - INDEX('$(vFile)', '\', -1)) AS ARCHIVO_CORTO ,&lt;BR /&gt;'$(vPath)' AS CARPETA ,&lt;BR /&gt;'$(vFile)' AS ARCHIVO_LARGO ,&lt;BR /&gt;NUM(FileSize('$(vFile)') / 1024, '#.##0 kB') AS TAMAÑO ,&lt;BR /&gt;FileTime('$(vFile)') AS FECHA&lt;BR /&gt;AutoGenerate(1) ;&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;Call GetFiles('\\192.168.10.152\Fotos\Compras\dbIndacor\');&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 22:09:52 GMT</pubDate>
    <dc:creator>nahuel04</dc:creator>
    <dc:date>2019-05-27T22:09:52Z</dc:date>
    <item>
      <title>Console error</title>
      <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585104#M597737</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance ,&lt;/P&gt;&lt;P&gt;I have the next problem with script and reload a qvw from a console.&lt;/P&gt;&lt;P&gt;my script in a .qvw:&lt;/P&gt;&lt;P&gt;Sub GetFiles(vPath)&lt;BR /&gt;For each vFile in FileList('$(vPath)\*.*')&lt;BR /&gt;ARCHIVOS_Gaviport:&lt;BR /&gt;Load&lt;BR /&gt;UPPER(RIGHT('$(vFile)', LEN( TRIM('$(vFile)')) - INDEX('$(vFile)', '.', -1))) AS EXTENSION_G ,&lt;BR /&gt;RIGHT('$(vFile)', LEN( TRIM('$(vFile)')) - INDEX('$(vFile)', '\', -1)) AS ARCHIVO_CORTO_G ,&lt;BR /&gt;'$(vPath)' AS CARPETA_G ,&lt;BR /&gt;'$(vFile)' AS ARCHIVO_LARGO_G ,&lt;BR /&gt;NUM(FileSize('$(vFile)') / 1024, '#.##0 kB') AS TAMAÑO_G ,&lt;BR /&gt;FileTime('$(vFile)') AS FECHA_G&lt;BR /&gt;AutoGenerate(1)&lt;BR /&gt;;&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;Call GetFiles('\\192.168.10.152\Fotos\Compras\');&lt;/P&gt;&lt;P&gt;when I running it from qlikview desktop works properly , but when&amp;nbsp; I try to running this from&amp;nbsp; qlikview management console I have next console error(attach a word).&lt;/P&gt;&lt;P&gt;In addition I checked folder security and it is ok.&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585104#M597737</guid>
      <dc:creator>nahuel04</dc:creator>
      <dc:date>2024-11-16T20:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Console error</title>
      <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585141#M597738</link>
      <description>&lt;P&gt;You will want to look at the document script log to find out what the specific reload error was.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 14:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585141#M597738</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-05-27T14:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Console error</title>
      <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585257#M597739</link>
      <description>&lt;P&gt;Thanks Rob ,&lt;/P&gt;&lt;P&gt;But where can I find it ?&lt;/P&gt;&lt;P&gt;I found this folder&amp;nbsp; C:\ProgramData\QlikTech\DistributionService\1\Log\20190527 and I checked the log and it is the same that attached. I don't know whats appened .&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Attached a log.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 21:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585257#M597739</guid>
      <dc:creator>nahuel04</dc:creator>
      <dc:date>2019-05-27T21:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Console error</title>
      <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585259#M597740</link>
      <description>&lt;P&gt;if Document Log is enabled, in that same folder you should have a file named "DocumentLog.txt".&amp;nbsp; Also in the same folder as the QVW will be a file named same as qvw with ".log" suffix. E.g. for "sales.qvw" will be "sales.qvw.log".&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't find the document log in either location, it means it is not enabled for the document. Open the QVW, Settings, Document Properties, General, check "Generate Logfile".&amp;nbsp; You will have to rerun the task at this point to get a logfile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every document should have a logfile. It drives me crazy that it's not the default.&amp;nbsp; You can make it your default for future new qvws by updating Settings, User Preferences, Design, "Always use logfile for new documents".&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 21:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585259#M597740</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-05-27T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Console error</title>
      <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585268#M597741</link>
      <description>&lt;P&gt;thanks Rob again.&lt;/P&gt;&lt;P&gt;I attached my log , &lt;SPAN&gt;I don't understand what it's happening,&amp;nbsp;&lt;/SPAN&gt;because in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;QVW it work properly and from the&amp;nbsp;management console&amp;nbsp;doesn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;my script:&lt;/P&gt;&lt;P&gt;Sub GetFiles(vPath)&lt;/P&gt;&lt;P&gt;For each vFile in FileList('$(vPath)*.*')&lt;BR /&gt;ARCHIVOS_Indacor:&lt;BR /&gt;Load&lt;BR /&gt;UPPER(RIGHT('$(vFile)', LEN( TRIM('$(vFile)')) - INDEX('$(vFile)', '.', -1))) AS EXTENSION ,&lt;BR /&gt;RIGHT('$(vFile)', LEN( TRIM('$(vFile)')) - INDEX('$(vFile)', '\', -1)) AS ARCHIVO_CORTO ,&lt;BR /&gt;'$(vPath)' AS CARPETA ,&lt;BR /&gt;'$(vFile)' AS ARCHIVO_LARGO ,&lt;BR /&gt;NUM(FileSize('$(vFile)') / 1024, '#.##0 kB') AS TAMAÑO ,&lt;BR /&gt;FileTime('$(vFile)') AS FECHA&lt;BR /&gt;AutoGenerate(1) ;&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;Call GetFiles('\\192.168.10.152\Fotos\Compras\dbIndacor\');&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 22:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585268#M597741</guid>
      <dc:creator>nahuel04</dc:creator>
      <dc:date>2019-05-27T22:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Console error</title>
      <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585272#M597742</link>
      <description>&lt;P&gt;It looks to me like zero files are being found in the FileList() function when run on the server.&amp;nbsp; Best guess is that the account running the Distribution Service does not have permission to list files in that directory.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 23:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585272#M597742</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-05-27T23:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Console error</title>
      <link>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585276#M597743</link>
      <description>thanks so much,&lt;BR /&gt;I have been trying to fix it for more than 6 hours and the problem was a permission in the directory, but this has permission. I do not know what it is, but I solved it copy all files to another directory and it works properly.&lt;BR /&gt;&lt;BR /&gt;thanks for your time..</description>
      <pubDate>Mon, 27 May 2019 23:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Console-error/m-p/1585276#M597743</guid>
      <dc:creator>nahuel04</dc:creator>
      <dc:date>2019-05-27T23:43:26Z</dc:date>
    </item>
  </channel>
</rss>

