Re: [GNC-dev] Finance::Quote and the Toronto Stock Exchange

2022-11-28 Thread gnu Gord
Done.
It seems to work, please let me know if it's not what you need.


On Mon, Nov 28, 2022 at 11:23 AM Bruce Schuck 
wrote:

> On Sat Nov 26 18:47:16 EST 2022 Frank H. Ellenberger wrote:
>
> > nice to see you thinking a step further. But at first I have a
> > question: Why was it renamed from TSX to TMX?
>
> > From what I read in wikipedia the owner renamed itself a decade ago
> > but not the market.
>
> One of the maintainers changed the name of the module and the methods
> function when fixing it to account for the URL change in December 2020.
>
> * Original *
>
>  sub methods {
>return ( tsx=> \,
> canada => \ );
>  }
>
> * Current *
>
>  sub methods {
>return ( tmx=> \,
> canada => \ );
>  }
>
> Personally I have no preference on the fix, but I'm thinking that
> changing the function to the following will address the issue.
>
>  sub methods {
>return ( tmx=> \,
> tsx=> \,
> canada => \ );
>  }
>
> Gord, if you would like to do a quick mod and test and open another PR
> if it works, that would be appreciated. If not, I will see if I have
> time. I want to wrap up the few issues and PRs open and release F::Q
> v1.54 before the Christmas and New Years holidays if possible.
>
> > Also ISO 10383 https://www.iso20022.org/market-identifier-codes has
> > it still as TSX.
>
> > I would prefer, if the F::Q modules —where applicable— would follow
> > this standard.
> It is is something that should be a guideline. Unfortunately, most of
> the non-US exchanges are contributions from people outside of the main
> F::Q team. While those contributions are reviewed to ensure they work,
> usually checking against common identifiers is not done.
>
> - Bruce S.
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Finance::Quote and the Toronto Stock Exchange

2022-11-28 Thread Bruce Schuck

On Sat Nov 26 18:47:16 EST 2022 Frank H. Ellenberger wrote:

nice to see you thinking a step further. But at first I have a 
question: Why was it renamed from TSX to TMX?


From what I read in wikipedia the owner renamed itself a decade ago 
but not the market.


One of the maintainers changed the name of the module and the methods 
function when fixing it to account for the URL change in December 2020.


* Original *

sub methods {
  return ( tsx=> \,
   canada => \ );
}

* Current *

sub methods {
  return ( tmx=> \,
   canada => \ );
}

Personally I have no preference on the fix, but I'm thinking that 
changing the function to the following will address the issue.


sub methods {
  return ( tmx=> \,
   tsx=> \,
   canada => \ );
}

Gord, if you would like to do a quick mod and test and open another PR 
if it works, that would be appreciated. If not, I will see if I have 
time. I want to wrap up the few issues and PRs open and release F::Q 
v1.54 before the Christmas and New Years holidays if possible.



Also ISO 10383 https://www.iso20022.org/market-identifier-codes has
it still as TSX.


I would prefer, if the F::Q modules —where applicable— would follow 
this standard.
It is is something that should be a guideline. Unfortunately, most of 
the non-US exchanges are contributions from people outside of the main 
F::Q team. While those contributions are reviewed to ensure they work, 
usually checking against common identifiers is not done.


- Bruce S.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Build failure

2022-11-28 Thread Alex Aycinena
Bob,

Thanks for your feedback. Based on it, I did a 'git pull' and did a
successful build and installation and gnucash ran. I was having an
intermittent problem like this with F36 as well. Seems like it is not a
gnucash issue at all but something with my environment.

Regards,

Alex

On Mon, Nov 28, 2022 at 7:15 AM Robert Fewell <14ubo...@gmail.com> wrote:

> Alex,
> Just for info I updated my Fedora test VM to 37 and was able to do a clean
> build.
>
> Regards,
> Bob
>
> On Wed, 23 Nov 2022 at 20:06, Alex Aycinena 
> wrote:
>
>> Hello,
>>
>> I was doing a clean build with a new checkout on a Fedora 37 VM and
>> received the following (this was after a partial build that resulted in
>> the
>> terminal window disappearing, so I couldn't see any messages; then I
>> opened
>> a new terminal window and started the build again):
>>
>> [gnucash-dev@HPFedora37VM gnucash-clean-build]$ ninja-build
>> [4/239] Building CXX object
>> gnucash/im...-csv-import.dir/gnc-imp-props-tx.cpp.o
>> FAILED:
>>
>> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o
>>
>> /usr/lib64/ccache/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB
>> -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK
>> -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK
>> -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB
>> -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB
>> -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK
>> -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB
>> -DG_LOG_DOMAIN=\"gnc.import.csv\" -DHAVE_CONFIG_H -DHAVE_GUILE20
>> -D_GNU_SOURCE -Dgnc_csv_import_EXPORTS
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/borrowed/goffice
>>
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/import-export/csv-imp
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/import-export
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/gnome-utils
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/app-utils
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/engine
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean-build/common
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/common
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/borrowed/libc
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean-build/libgnucash/core-utils
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/core-utils
>>
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/app-utils/calculation
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/bindings/guile
>> -I/usr/include/guile/2.0
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/tax
>> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/backend/xml
>> -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include
>> -isystem /usr/include/sysprof-4 -isystem /usr/include/libxml2 -isystem
>> /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem
>> /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem
>> /usr/include/libpng16 -isystem /usr/include/libmount -isystem
>> /usr/include/blkid -isystem /usr/include/fribidi -isystem
>> /usr/include/cairo -isystem /usr/include/pixman-1 -isystem
>> /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem
>> /usr/include/cloudproviders -isystem /usr/include/atk-1.0 -isystem
>> /usr/include/at-spi2-atk/2.0 -isystem /usr/include/dbus-1.0 -isystem
>> /usr/lib64/dbus-1.0/include -isystem /usr/include/at-spi-2.0
>> -Wno-error=deprecated-declarations  -Werror -Wall -Wmissing-declarations
>> -Wno-unused -Wno-error=parentheses  -g -fPIC -pthread -std=c++17 -MD -MT
>>
>> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o
>> -MF
>>
>> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o.d
>> -o
>>
>> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o
>> -c
>>
>> /home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
>> c++: fatal error: Killed signal terminated program cc1plus
>> compilation terminated.
>> [6/239] Building CXX object
>> gnucash/im...v-import.dir/gnc-imp-props-price.cpp.o
>> ninja: build stopped: subcommand failed.
>> [gnucash-dev@HPFedora37VM gnucash-clean-build]$
>>
>> Has anyone else seen this? I believe Geert builds on Fedora. Are you
>> having
>> problems? Ayn suggestions?
>>
>> Thanks,
>>
>> Alex
>> ___
>> gnucash-devel mailing list
>> gnucash-devel@gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Build failure

2022-11-28 Thread Robert Fewell
Alex,
Just for info I updated my Fedora test VM to 37 and was able to do a clean
build.

Regards,
Bob

On Wed, 23 Nov 2022 at 20:06, Alex Aycinena  wrote:

> Hello,
>
> I was doing a clean build with a new checkout on a Fedora 37 VM and
> received the following (this was after a partial build that resulted in the
> terminal window disappearing, so I couldn't see any messages; then I opened
> a new terminal window and started the build again):
>
> [gnucash-dev@HPFedora37VM gnucash-clean-build]$ ninja-build
> [4/239] Building CXX object
> gnucash/im...-csv-import.dir/gnc-imp-props-tx.cpp.o
> FAILED:
>
> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o
>
> /usr/lib64/ccache/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB
> -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK
> -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK
> -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB
> -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB
> -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK
> -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB
> -DG_LOG_DOMAIN=\"gnc.import.csv\" -DHAVE_CONFIG_H -DHAVE_GUILE20
> -D_GNU_SOURCE -Dgnc_csv_import_EXPORTS
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/borrowed/goffice
>
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/import-export/csv-imp
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/import-export
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/gnome-utils
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/app-utils
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/engine
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean-build/common
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/common
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/borrowed/libc
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean-build/libgnucash/core-utils
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/core-utils
>
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/app-utils/calculation
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/bindings/guile
> -I/usr/include/guile/2.0
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/tax
> -I/home/gnucash-dev/gitcheckouts/gnucash-clean/libgnucash/backend/xml
> -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include
> -isystem /usr/include/sysprof-4 -isystem /usr/include/libxml2 -isystem
> /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem
> /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem
> /usr/include/libpng16 -isystem /usr/include/libmount -isystem
> /usr/include/blkid -isystem /usr/include/fribidi -isystem
> /usr/include/cairo -isystem /usr/include/pixman-1 -isystem
> /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem
> /usr/include/cloudproviders -isystem /usr/include/atk-1.0 -isystem
> /usr/include/at-spi2-atk/2.0 -isystem /usr/include/dbus-1.0 -isystem
> /usr/lib64/dbus-1.0/include -isystem /usr/include/at-spi-2.0
> -Wno-error=deprecated-declarations  -Werror -Wall -Wmissing-declarations
> -Wno-unused -Wno-error=parentheses  -g -fPIC -pthread -std=c++17 -MD -MT
>
> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o
> -MF
>
> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o.d
> -o
>
> gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/gnc-imp-props-tx.cpp.o
> -c
>
> /home/gnucash-dev/gitcheckouts/gnucash-clean/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
> c++: fatal error: Killed signal terminated program cc1plus
> compilation terminated.
> [6/239] Building CXX object
> gnucash/im...v-import.dir/gnc-imp-props-price.cpp.o
> ninja: build stopped: subcommand failed.
> [gnucash-dev@HPFedora37VM gnucash-clean-build]$
>
> Has anyone else seen this? I believe Geert builds on Fedora. Are you having
> problems? Ayn suggestions?
>
> Thanks,
>
> Alex
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel