Opened 11 months ago
Closed 11 months ago
#2369 closed defect (fixed)
GeoExt fails to launch
|Reported by:||kalxas||Owned by:|
Uncaught TypeError: c is not a constructor ExtJS 2 <anonymous> http://localhost/geoext/:101 ExtJS 7
Change history (9)
comment:1 by , 11 months ago
comment:2 by , 11 months ago
Thank you for digging into this, building a new nightly with this change to test.
comment:3 by , 11 months ago
Okay, no problem and thanks for confirmation!
I will check the nightly, later.
comment:4 by , 11 months ago
Same error on build95
comment:5 by , 11 months ago
I will check the cause of the error more.
comment:6 by , 11 months ago
I am still checking the cause, but the following lines should be changed also...
- cd geoext3-$GEOEXT_VERSION + cd geoext-$GEOEXT_VERSION
- rm -rf geoext3-$GEOEXT_VERSION + rm -rf geoext-$GEOEXT_VERSION
I will prepare build environment locally from https://wiki.osgeo.org/wiki/Live_GIS_Build once to make sure my suggestions by myself from next time.
comment:7 by , 11 months ago
@sanak @kalxas I can have a look at this if needed. The latest GeoExt has only been tested with version 6 of ExtJS.
comment:8 by , 11 months ago
@geographika Okay, thanks!
I tried to prepare build environment to check above more changes locally, but I noticed that the latest
bin/build_chroot.sh seems to require GitHub remote branch...
/var/log/osgeolive/chroot-build.log file, the error happened at the line 140, so I guess that above (=comment:6) 2 lines changes should solve the issue.
: Copying files to /var/www/html/geoext ./install_geoext.sh: 140: cd: can't cd to geoext3-3.4.0 mv: cannot stat 'src': No such file or directory mv: cannot stat 'LICENSE': No such file or directory Copying done
comment:9 by , 11 months ago
|Status:||new → closed|
Fixed in build 96
GeoExt repository name seems to be changed since v3.4.0, https://github.com/geoext/geoext/releases/tag/v3.4.0
so I think that the following change is necessary at least. https://github.com/OSGeo/OSGeoLive/blob/master/bin/install_geoext.sh#L125
From GeoExt README.md, upgrading GeoExt version from current
3.4.0seems to be possible without dependencies upgrade.