<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Olá pessoal!</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Estou na tentativa de configurar o módulo do tesouro mas estou obtendo o erro "Undefined fetch-method tesouro passed to Finance::Quote::fetch at /usr/bin/gnc-fq-dump line 191. No results found for stock B_Principal_150535." quando eu executo o comando gnc-fq-dump
 Tesouro B_Principal_150535. Alguém consegue me ajudar?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Para configurar o módulo do tesouro eu segui os seguintes passos:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
1 - Baixei o arquivo (<a href="http://lists.gnucash.org/pipermail/gnucash-br/attachments/20180305/08ff692c/attachment.pl" id="LPlnk564123">http://lists.gnucash.org/pipermail/gnucash-br/attachments/20180305/08ff692c/attachment.pl</a>) que encontrei na lista
 de e-mails (<a href="https://lists.gnucash.org/pipermail/gnucash-br/2018-March/000754.html" id="LPlnk516048">https://lists.gnucash.org/pipermail/gnucash-br/2018-March/000754.html</a>) e salvei em /usr/share/perl5/Finance como Tesouro.pm.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
2 - Editei o arquivo Quote.pm e acrescentei o modulo Tesouro na lista de módulos.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
3 - Executei o comando export FQ_LOAD_QUOTELET="Currencies", conforme indicado em
<a href="https://github.com/romuloceccon/finance-quote-brazil" id="LPlnk">https://github.com/romuloceccon/finance-quote-brazil</a><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
4 - Executei o comando gnc-fq-check<br>
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<div>$ gnc-fq-check</div>
<div>("1.49" "fetch_live_currencies" "known_currencies")</div>
<div><span style="font-family: calibri, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">5 -</span>
<span style="font-family: calibri, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
Executei o comando </span><span style="font-family: calibri, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">gnc-fq-update</span></div>
<div>$ sudo gnc-fq-update
<div>Reading '/root/.local/share/.cpan/Metadata'</div>
<div>  Database was generated on Sun, 20 Dec 2020 19:55:55 GMT</div>
<div>Date::Manip is up to date (6.83).</div>
<div>Finance::Quote is up to date (1.49).</div>
<div><span style="font-family: calibri, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">6 - Por fim o comando de teste</span></div>
<div>$ gnc-fq-dump tesouro B_Principal_150535
<div>Undefined fetch-method tesouro passed to Finance::Quote::fetch at /usr/bin/gnc-fq-dump line 191.</div>
No results found for stock B_Principal_150535.<br>
</div>
<br>
<span style="font-family: calibri, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Desde já agradeço,</span><br>
</div>
<div>
<div id="Signature">
<div>
<div></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0px; margin-bottom:0px">--<br>
</p>
<p style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px">Yulli Dias</span></p>
<p style="margin-top:0px; margin-bottom:0px"></p>
</div>
</div>
</div>
</div>
</body>
</html>