Opened 3 years ago

Last modified 7 weeks ago

#368 new defect

sqlite3.dll conflicts

Reported by: alvinleelwz Owned by: Jeff McKenna
Priority: critical Milestone: 5.0.0 release
Component: MS4W - Base Version: 4.0.5
Keywords: Cc: TC Haddad
Blocked By: Blocking:

Description

The sqlite3.dll bundled in ms4w_4.0.5.zip in directory 'Apache\cgi-bin' and in 'Python' have importing conflicts when using with python mapscript, if the _mapscript.cp39-win32.pyd were placed in the site-packages directory.
When _mapscript.cp39-win32.pyd were placed in 'Apache\cgi-bin', the importing is successful, the sqlite3.dll in 'Apache\cgi-bin' has a newer version number.

Change History (6)

comment:1 by Jeff McKenna, 3 years ago

Excellent report @alvinleelwz, thanks.

In fact I had already fixed this for the MS4W 5.0 release, and the MS4W 5.0 beta2 should not have this issue. @alvinleelwz would you mind testing that with 5.0 and report back here? (here was the beta2 announcement: https://lists.ms4w.com/pipermail/ms4w-users/2021-December/000514.html ) Thanks.

(be aware that the Python MapScript steps have become easier for MS4W 5.0, with nothing to install/change out-of-the-box, please see the steps at https://ms4w.com/trac/wiki/MigrationGuide5.x#Python )

Last edited 3 years ago by Jeff McKenna (previous) (diff)

comment:2 by Jeff McKenna, 3 years ago

Cc: TC Haddad added

comment:3 by alvinleelwz, 3 years ago

Hi, Jeff,
Thanks for the quick reply. After a quick test for the MS4W 5.0 beta2 zip bundle, the conflicts have been resolved.
The importing is successful as well as the gdal importing.

comment:4 by Jeff McKenna, 3 years ago

Thanks Alvin, I appreciate this testing feedback. I'll leave this ticket open, to make sure that this is a priority for any further betas and definitely for the final 5.0 release.

comment:5 by Jeff McKenna, 3 years ago

Priority: majorcritical

comment:6 by Jeff McKenna, 7 weeks ago

Hi @alvinleelwz, please give the recently released MS4W 5.0 a test for this issue: https://ms4w.com/download.html#download

Note: See TracTickets for help on using tickets.