Try now.

I pushed changes fixing these errors and removed unnecessary files.



Em sex, 13 de set de 2019 12:16, Andreas Tille <andr...@an3as.eu> escreveu:

> Hi again Flavio,
>
> I tried the new upstream version 2.5.  While I assumed the Qt4 interface
> was striped and the Python3 conversion was done I get the following error
> message when installing all files into the Debian package:
>
>
> Installing epirunner script to
> /build/epigrass-2.5.0/debian/epigrass/usr/bin
>   File "/usr/lib/python3.7/dist-packages/Epigrass/dgraph.py", line 130
>     print hasattr(self, "showSumBox")
>                 ^
> SyntaxError: invalid syntax
>
>   File "/usr/lib/python3.7/dist-packages/Epigrass/epigrass.py", line 17
>     print "Please install PyQT 4"
>                                 ^
> SyntaxError: Missing parentheses in call to 'print'. Did you mean
> print("Please install PyQT 4")?
>
>
> Seems some files contain the PyQT GUI.  Should I simply remove these
> from the Debian package?  Which files can be safely removed?
>
>
> Moreover, the build time throws errors:
>
> ======================================================================
> ERROR: test_create_node_layer (tests.test_epigdal.TestWorld)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/build/epigrass-2.5.0/.pybuild/cpython3_3.7/build/tests/test_epigdal.py",
> line 17, in test_create_node_layer
>     w = World('../riozonas_LatLong.shp', 'nome_zonas', 'zona_trafe')
>   File
> "/build/epigrass-2.5.0/.pybuild/cpython3_3.7/build/Epigrass/epigdal.py",
> line 37, in __init__
>     self.name = self.ds.GetName()
> AttributeError: 'NoneType' object has no attribute 'GetName'
>
> ======================================================================
> ERROR: test_instantiation (tests.test_epigdal.TestWorld)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/build/epigrass-2.5.0/.pybuild/cpython3_3.7/build/tests/test_epigdal.py",
> line 9, in test_instantiation
>     w = World('../riozonas_LatLong.shp', 'nome_zonas', 'zona_trafe')
>   File
> "/build/epigrass-2.5.0/.pybuild/cpython3_3.7/build/Epigrass/epigdal.py",
> line 37, in __init__
>     self.name = self.ds.GetName()
> AttributeError: 'NoneType' object has no attribute 'GetName'
>
> ----------------------------------------------------------------------
>
>
> If these errors are critical how can these be fixed?
>
> Kind regards and thanks for your support,
>
>      Andreas.
>
>
> --
> http://fam-tille.de
>

Reply via email to