fx update seems broken in beancounter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
beancounter (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Trying out beancounter after a long absence. I can't update my fx with oanda or ubx.
oanda gives the following:
bkelly@x1 ~ $ beancounter fxbackpopulate --prevdate '50 days ago' IAU
$VAR1 = {
'verbose' => '1',
'dbname' => 'portfolio.sqlite',
'debug' => '1',
'user' => 'bkelly',
'odbc' => 0,
'host' => 'localhost',
'passwd' => undef,
'commit' => 1,
'today' => '20121014',
'dsn' => 'beancounter',
'ubcfx' => 0
};
Database has schema 0.8.7, we require version 0.6.0
backpopulating IAU (rel. to CAD) from 20120825 to 20121014
Url is http://
But if enter the url directly in a browser it tells me:
Sorry, couldn't create table, because you entered incorrect dates
or the time period is too big (max. 500 days).
This is the case not matter what the time period.
ubcfx gives me the following url:
bkelly@x1 ~ $ beancounter fxbackpopulate --ubcfx --prevdate '50 days ago' IAU
$VAR1 = {
'verbose' => '1',
'dbname' => 'portfolio.sqlite',
'debug' => '1',
'user' => 'bkelly',
'odbc' => 0,
'host' => 'localhost',
'passwd' => undef,
'commit' => 1,
'today' => '20121014',
'dsn' => 'beancounter',
'ubcfx' => 1
};
Database has schema 0.8.7, we require version 0.6.0
Url is http://
--> <HTML><
Use of uninitialized value in print at /usr/share/
With ubcfx it seems the url has the stock symbol instead of the currency symbol as the last paramter. If I change the url to:
http://
then this will return a table in a browser.
Thanks if either of these options can be fixed!
bk