Re: [GNC-dev] Failed to build GnuCash on Windows

"Chris Good" <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.devel
Message-ID <[email protected]>
-----Original Message-----
From: Explorare <[email protected]> 
Sent: Monday, 17 January 2022 6:46 PM
To: Chris Good <[email protected]>
Cc: [email protected]
Subject: Re: [GNC-dev] Failed to build GnuCash on Windows

Hi Chris,

I don't have much time to spend on this issue and only uses the reserved "XTS" to record USDT transactions.

I always uses USDT as a bridge between the other crypto currencies and legal tender. In this way the only exchange rate I need to update is USDT (XTS), and I also need to transfer the current net worth of all crypto currencies into USDT and record it as a gain or loss. I treat it as a whole. And more detailed transaction and analysis can be generated by whatever crypto exchange app you are using.

Adding all those crypto currencies requires a source to fetch current price, which is another bigger issue. And the price of thoes currencies change so dramatically which makes it harded to get a overview of net worth of those.

GL;HF

explorare

On 1/16/2022 4:56 PM, Chris Good wrote:
> Hi Explorare,
> 
> Re thread
> 
> https://www.mail-archive.com/[email protected]/msg42675.html
> <https://www.mail-archive.com/[email protected]/msg42675.html>
> 
> Did you ever resolve this?
> 
> I’m getting the same error now trying to build 32 Bit Gnucash (maint 
> approx. 4.9) on Windows 10.
> 
> This is the error:
> 
> cd /e/Data/GnuCash/gcdev64/src/gnucash-on-windows.git
> 
> TARGET=gnucash-maint jhbuild -f jhbuildrc build
> 
> ...
> 
> make[1]: Leaving directory
> '/e/Data/GnuCash/gcdev64/gnucash/maint/build/OpenSP-1.5.2'
> 
> I: Deleting .la file: 
> '/e/Data/GnuCash/gcdev64/gnucash/maint/inst/_jhbuild/root-OpenSP/e/Data/GnuCash/gcdev64/gnucash/maint/inst/lib/libosp.la'
> 
> I: Moving temporary DESTDIR
> '/e/Data/GnuCash/gcdev64/gnucash/maint/inst/_jhbuild/root-OpenSP' into 
> build prefix
> 
> Traceback (most recent call last):
> 
>    File "/usr/bin/jhbuild", line 23, in <module>
> 
>      jhbuild.main.main(sys.argv[1:])
> 
>    File "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/main.py", 
> line 120, in main
> 
>      rc = jhbuild.commands.run(command, config, args, help=lambda: 
> print_help(parser))
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/commands/__init__.py"
> ,
> line 188, in run
> 
>      return cmd.execute(config, args, help)
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/commands/__init__.py"
> ,
> line 56, in execute
> 
>      return self.run(config, options, args, help)
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/commands/base.py", 
> line 263, in run
> 
>      return build.build()
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/frontends/buildscript
> .py",
> line 172, in build
> 
>      error, altphases = module.run_phase(self, phase)
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/modtypes/__init__.py"
> ,
> line 423, in run_phase
> 
>      method(buildscript)
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/modtypes/autotools.py
> ",
> line 320, in do_install
> 
>      self.process_install(buildscript, self.get_revision())
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/modtypes/__init__.py"
> ,
> line 390, in process_install
> 
>      buildscript.moduleset.packagedb.add(self.name, revision or '',
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/utils/packagedb.py",
> line 176, in add
> 
>      pkg.write()
> 
>    File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/utils/packagedb.py",
> line 79, in write
> 
>      writer.fp.write('\n'.join(self.manifest).encode('utf-8',
> 'backslashreplace') + b'\n')
> 
> TypeError: can only join an iterable
> 
> Python -V in the MinGW32 shell shows:
> 
> python -V
> 
> Python 3.9.7
> 
> Regards,
> 
> Chris Good
> 

Hi Explorare,

Thanks for the reply.
I was actually asking about the python error when building with:

      writer.fp.write('\n'.join(self.manifest).encode('utf-8',
         'backslashreplace') + b'\n')

Regards,
Chris Good

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.