Opened 2 years ago

Closed 2 years ago

#2369 closed defect (fixed)

GeoExt fails to launch

Reported by: kalxas Owned by: osgeolive@…
Priority: critical Milestone:
Component: OSGeoLive Keywords: GeoExt
Cc: osgeolive@…


Uncaught TypeError: c is not a constructor
ExtJS 2
<anonymous> http://localhost/geoext/:101
ExtJS 7

Change history (9)

comment:1 by sanak, 2 years ago

GeoExt repository name seems to be changed since v3.4.0,

  • Github repository was renamed from geoext3 to geoext

so I think that the following change is necessary at least.


From GeoExt, upgrading GeoExt version from current 3.1.0 to 3.4.0 seems to be possible without dependencies upgrade.

Last edited 2 years ago by sanak (previous) (diff)

comment:2 by kalxas, 2 years ago

Thank you for digging into this, building a new nightly with this change to test.

comment:3 by sanak, 2 years ago

Okay, no problem and thanks for confirmation!
I will check the nightly, later.

comment:4 by kalxas, 2 years ago

Same error on build95

comment:5 by sanak, 2 years ago

I will check the cause of the error more.

comment:6 by sanak, 2 years 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 once to make sure my suggestions by myself from next time.

comment:7 by geographika, 2 years 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 sanak, 2 years ago

@geographika Okay, thanks!

I tried to prepare build environment to check above more changes locally, but I noticed that the latest bin/ seems to require GitHub remote branch...

From output /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
./ 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
Last edited 2 years ago by sanak (previous) (diff)

comment:9 by kalxas, 2 years ago

Resolution: fixed
Status: newclosed

Fixed in build 96

Note: See TracTickets for help on using tickets.