<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Noto Sans'; font-size:11pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Vielen Dank.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Wenn man sich besagten Wikiartikel weiter durchliest kommt man zu folgendem Absatz:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'sans-serif'; font-size:14px; color:#252525; background-color:#ffffff;">"Updating quotes will modify the GNUCash file/database. As multi-user access is not supported, the file/database should be closed prior to updating quotes.</span></p>
<p style=" margin-top:16px; margin-bottom:4px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; line-height:1.3%; background-color:#ffffff;"><a name="cron_and_Non-X_Usage"></a><span style=" font-family:'Linux Libertine,Georgia,Times,serif'; font-size:x-large; color:#000000;">c</span><span style=" font-family:'Linux Libertine,Georgia,Times,serif'; font-size:x-large; color:#000000;">ron and Non-X Usage</span></p>
<p style=" margin-top:8px; margin-bottom:8px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; line-height:22px; background-color:#ffffff;"><span style=" font-family:'sans-serif'; font-size:14px; color:#252525; background-color:#ffffff;">If you attempt to run</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#f9f9f9;"><span style=" font-family:'monospace,Courier'; font-size:14px; color:#000000; background-color:#f9f9f9;">gnucash --add-price-quotes /path/to/file.gnucash</span></p>
<p style=" margin-top:8px; margin-bottom:8px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; line-height:22px; background-color:#ffffff;"><span style=" font-family:'sans-serif'; font-size:14px; color:#252525; background-color:#ffffff;">or on MacOSX:</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#f9f9f9;"><span style=" font-family:'monospace,Courier'; font-size:14px; color:#000000; background-color:#f9f9f9;">/Applications/Gnucash.app/Contents/MacOS/Gnucash --add-price-quotes /Users/<username>/Documents/test.gnucash</span></p>
<p style=" margin-top:8px; margin-bottom:8px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; line-height:22px; background-color:#ffffff;"><span style=" font-family:'sans-serif'; font-size:14px; color:#252525; background-color:#ffffff;">without dbus running (for example, from a cron job or ssh without X forwarding), you may get errors such as</span></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#f9f9f9;"><span style=" font-family:'monospace,Courier'; font-size:14px; color:#000000; background-color:#f9f9f9;">GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#f9f9f9;"><span style=" font-family:'monospace,Courier'; font-size:14px; color:#000000; background-color:#f9f9f9;">See </span><a href="http://projects.gnome.org/gconf/"><span style=" font-family:'monospace,Courier'; font-size:14px; text-decoration: underline; color:#507e41;">http://projects.gnome.org/gconf/</span></a><span style=" font-family:'monospace,Courier'; font-size:14px; color:#000000;"> for information. </span></p>
<p style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#f9f9f9;"><span style=" font-family:'monospace,Courier'; font-size:14px; color:#000000;">(Details -  1: Not running within active session)</span></p>
<p style=" margin-top:8px; margin-bottom:8px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; line-height:22px; background-color:#ffffff;"><span style=" font-family:'sans-serif'; font-size:14px; color:#252525; background-color:#ffffff;">One resolution for this, courtesy of</span><span style=" font-family:'sans-serif'; font-size:14px; color:#252525;"> </span><a href="http://www.estamos.de/blog/2009/05/08/running-syncevolution-as-cron-job/"><span style=" font-family:'sans-serif'; font-size:14px; text-decoration: underline; color:#507e41;">SyncEvolution - The Missing Link</span></a><span style=" font-family:'sans-serif'; font-size:14px; color:#252525;">, is to launch dbus for the duration of the quote retrieval with a cron command similar to</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#f9f9f9;"><span style=" font-family:'monospace,Courier'; font-size:14px; color:#000000; background-color:#f9f9f9;">env `dbus-launch` sh -c 'trap "kill $DBUS_SESSION_BUS_PID" EXIT; gnucash --add-price-quotes /path/to/file.gnucash'</span></p>
<p style=" margin-top:8px; margin-bottom:8px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; line-height:22px; background-color:#ffffff;"><span style=" font-family:'sans-serif'; font-size:14px; font-style:italic; color:#252525;">Note: This has been documented in </span><a href="https://bugzilla.gnome.org/show_bug.cgi?id=639776"><span style=" font-family:'sans-serif'; font-size:14px; font-style:italic; text-decoration: underline; color:#507e41;">Bug #63977</span></a></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Soll das heißen, das man es seit der Umstellung der Datenspeicherung in Gnucash es tunlichst vermeiden sollte die Kursaktualisierung aus dem Programm heraus durchzuführen, weil man sich sonst seine Daten(bank) zerschießen kann? Sorry, aber wer denkt sich denn sowas aus??? Und dann die "bequeme" Alternativlösung.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Da brauch ich mir auch keine Mühe zu machen F::Q wieder in Gang zu bringen.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">enttäuschte Grüße</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Frank Schenke</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Am Donnerstag, 28. Dezember 2017, 12:05:34 CET schrieb forum2@dfbl.org:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Ich habe dieses Problem auch, dass ich nicht bei allen Anbietern meine</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Kurse mehr bekomme. z. B. Union Investment hat mit 1.38 nicht mehr</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> funktioniert, obwohl ich die Fehlerhafte Url angepasst habe.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Nach der Installation dieses Pakets</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> https://packages.debian.org/de/sid/libfinance-quote-perl funktioniert es</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> jetzt wieder. Damit wird die aktuelle Version von Finance:Quote für</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Gnucash installiert. Ich habe das Paket heruntergeladen und anschließend</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> manuell installiert. Bei Union Investment muss das Script angepasst</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> werden, da die Url (NEU:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> http://privatkunden.union-investment.de/preise.csv) immer noch falsch im</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Script hinterlegt ist.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Dann habe ich auch wieder die Kurse von Union Investment erhalten. Habe</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> aber auch Finance:Quote, wie es im Wiki-Artikel</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> https://wiki.gnucash.org/wiki/Online_Quotes#Finance::Quote steht, dass</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> dies installiert werden muss, deinstalliert. Anschließend habe ich</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> trotzdem die Kurse erhalten.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Warum jetzt Finanzpartner nicht funktioniert, habe ich leider keine Idee</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> mehr. Hier ist das Perl-Script auf jeden Fall nicht mehr korrekt, da auf</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> der Homepage, keine Tabelle mehr existiert. Deswegen habe ich das Script</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> angepasst. Dies funktioniert auch, wenn ich es mit einem Beispiel</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> perl-Script ausführe, dann erhalte ich auch hier die Kurse angezeigt.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Warum es aber mit Gnucash nicht funktioniert habe ich keine Idee mehr.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Evtl. hat jemand noch eine Idee?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Am 21.12.2017 um 22:35 schrieb Frank Schenke:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Hallo,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > habe Gnucash 2.6.12 zusammen mit libfinance-quote-perl 1.38 auf Ubuntu</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > 16.04.3.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Um finance:quote überhaupt wieder nutzbar zu machen habe ich gemäß</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Gnucash-Wiki finance:quote über cpan installiert:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > perl -MCPAN -e shell</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> >   install Finance::Quote</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Jetzt habe ich zwar in einem anderen Perl- Verzeischnis eine aktuelle</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Version, aber Gnucash benutzt nach wie vor die 1.38 aus dem Repo.Diese</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > hat eine Abhängigkeit zu Gnucash, d.h. wenn ich libfinance-quote-perl</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > entferne, wird Gnucash mit entfernt. Es gibt zwar noch auf der</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Kommandozeile die --force Option aber ich will mir weder mein Gnucash,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > noch mein Packetsystem kaputtmachen.(leidvolle Erfahrung)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > Wie gehe ich am besten vor?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > mfg</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > _______________________________________________</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > gnucash-de mailing list</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > gnucash-de@gnucash.org</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> > https://lists.gnucash.org/mailman/listinfo/gnucash-de</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p></body></html>