https://bugs.kde.org/show_bug.cgi?id=397055

            Bug ID: 397055
           Summary: Extern import can't read from stdout
           Product: skrooge
           Version: Trunk from git
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: guillaume.deb...@gmail.com
          Reporter: gagbob...@gmail.com
                CC: steph...@mankowski.fr
  Target Milestone: ---

Hello,

I'm on git ( 28b7e22ee (HEAD -> master, origin/master, origin/HEAD) Addition of
a new option to check if import has been broken ), and when I tried to import
from boobank and boobank_coming (I didn't try this since before 2.14.0 tag to
be honest) I get ERR-5 unrecognized date format.

export SKGTRACE=20 ; skrooge ; click on File > Import > Import from extern
engines gives in terminal the correct command but apparently the history is
only read as chinese / japanese characters (the program segfaults when I
activate SKGTRACE, but it always displays this kind of characters) :

##      >virtual SKGError SKGImportPluginBackend::importFile()
##        >virtual SKGError SKGDocument::beginTransaction(const QString&, int,
const QDateTime&, bool)
##        Input parameter [name]=[Importation avec Backend]  [nb step]=[3] 
[refresh]=[Y]
##        <virtual SKGError SKGDocument::beginTransaction(const QString&, int,
const QDateTime&,
 bool) RC=[SUC-0]
##      Execute: PYTHONIOENCODING=utf_8 boobank ls -q -f csv -s
id,label,balance 2>/dev/null |grep -v "If --auto-update" | grep -E
"id;label;balance|"
##      Read line: __ACCOUNT_1__@__BANK__;__ANON__;11.33
##      Read line: __ACCOUNT_2__@__BANK__;__ANON__ __ANON__;__ANON__
##      Read line: __ACCOUNT_3__@__BANK__;__ANON__ __ANON__;__ANON__
##      Read line: __ACCOUNT_4__@__BANK__;__ANON__ __ANON__ __ANON__;__ANON__
##      Read line: __ACCOUNT_5__@__BANK__;__ANON__ __ANON__ __ANON__;__ANON__
##      Read line: __ACCOUNT_6__@__BANK__;__ANON__ __ANON__;__ANON__
##        >virtual QString SKGDocument::getParameter(const QString&, const
QString&) const
##        Input parameter [iName]=[SKG_LAST_WEBOOB_IMPORT_DATE]
##        <virtual QString SKGDocument::getParameter(const QString&, const
QString&) const
##        >virtual QString SKGDocument::getParameter(const QString&, const
QString&) const
##        Input parameter [iName]=[SKG_LAST_WEBOOB_IMPORT_LIST]
##        <virtual QString SKGDocument::getParameter(const QString&, const
QString&) const
##      Mode getoperations
##      llExecute: a="" && b="2000-01-01" && m=$( [[ ${a} > ${b} ]] && echo
"$a" || echo "$b" ) && PYTHONIOENCODING=utf_8 boobank -q -f csv history
"__ACCOUNT_1__@__BANK__" -s rdate,type,raw,label,amount --condition "rdate>$m
OR date>$m OR rdate>$m 00:00:00 OR date>$m 00:00:00" -n 99999  2>/dev/null
##      Execute: a="" && b="2000-01-01" && m=$( [[ ${a} > ${b} ]] && echo "$a"
|| echo "$b" ) && PYTHONIOENCODING=utf_8 boobank -q -f csv history
"__ACCOUNT_2__@__BANK__" -s rdate,type,raw,label,amount --condition "rdate>$m
OR date>$m OR rdate>$m 00:00:00 OR date>$m 00:00:00" -n 99999  2>/dev/null
##      llT造。罣罣b="2000-01-01" e%


When I execute the same command in a terminal, I get the expected result (a
nicely formatted table with all the transactions).

My locale (in KDE systemsettings5) is fr_FR everywhere except for numbers where
I use C

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to