Fatal error: Class 'DOMDocument' not found and in my PHP Version 5.2.16 - class

My Configure Command is
How can I fix this
'./configure' '--host=i686-redhat-linux-gnu' '--build=i686-redhat-linux-gnu' '--target=i386-redhat-linux' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell'

The class 'DomDocument' is apart of the DOM extension. Per the documentation:
This extension is enabled by default. It may be disabled by using the following option at compile time: --disable-dom
Remove the --disable-dom flag from your configure script and the extension should be available.

Related

glib-2.72 build fails with during linking to libglib-2.0.so0.7200.0

*The hardware environment I am working in is a QNAP NAS with x86_64 architecture.
The software is a headless, embedded, QNAP-designed Debian-based Gnu/Linux distro based on kernel 4.14.24.
My current issue is in compiling glib-2.72.0, which uses the meson-ninja system, under Python 3.9.
Compilation runs fine
The ninja build fails at
[150/1259] Linking target glib/libglib-2.0.so.0.7200.0
FAILED: glib/libglib-2.0.so.0.7200.0
when, I think, it attempts to link all the *.c.o files listed in the command below:
cc -o glib/libglib-2.0.so.0.7200.0 glib/libglib-2.0.so.0.7200.0.p/deprecated_gallocator.c.o glib/libglib-2.0.so.0.7200.0.p/deprecated_gcache.c.o glib/libglib-2.0.so.0.7200.0.p/deprecated_gcompletion.c.o glib/libglib-2.0.so.0.7200.0.p/deprecated_grel.c.o glib/libglib-2.0.so.0.7200.0.p/deprecated_gthread-deprecated.c.o glib/libglib-2.0.so.0.7200.0.p/garcbox.c.o glib/libglib-2.0.so.0.7200.0.p/garray.c.o glib/libglib-2.0.so.0.7200.0.p/gasyncqueue.c.o glib/libglib-2.0.so.0.7200.0.p/gatomic.c.o glib/libglib-2.0.so.0.7200.0.p/gbacktrace.c.o glib/libglib-2.0.so.0.7200.0.p/gbase64.c.o glib/libglib-2.0.so.0.7200.0.p/gbitlock.c.o glib/libglib-2.0.so.0.7200.0.p/gbookmarkfile.c.o glib/libglib-2.0.so.0.7200.0.p/gbytes.c.o glib/libglib-2.0.so.0.7200.0.p/gcharset.c.o glib/libglib-2.0.so.0.7200.0.p/gchecksum.c.o glib/libglib-2.0.so.0.7200.0.p/gconvert.c.o glib/libglib-2.0.so.0.7200.0.p/gdataset.c.o glib/libglib-2.0.so.0.7200.0.p/gdate.c.o glib/libglib-2.0.so.0.7200.0.p/gdatetime.c.o glib/libglib-2.0.so.0.7200.0.p/gdir.c.o glib/libglib-2.0.so.0.7200.0.p/genviron.c.o glib/libglib-2.0.so.0.7200.0.p/gerror.c.o glib/libglib-2.0.so.0.7200.0.p/gfileutils.c.o glib/libglib-2.0.so.0.7200.0.p/ggettext.c.o glib/libglib-2.0.so.0.7200.0.p/ghash.c.o glib/libglib-2.0.so.0.7200.0.p/ghmac.c.o glib/libglib-2.0.so.0.7200.0.p/ghook.c.o glib/libglib-2.0.so.0.7200.0.p/ghostutils.c.o glib/libglib-2.0.so.0.7200.0.p/giochannel.c.o glib/libglib-2.0.so.0.7200.0.p/gkeyfile.c.o glib/libglib-2.0.so.0.7200.0.p/glib-init.c.o glib/libglib-2.0.so.0.7200.0.p/glib-private.c.o glib/libglib-2.0.so.0.7200.0.p/glist.c.o glib/libglib-2.0.so.0.7200.0.p/gmain.c.o glib/libglib-2.0.so.0.7200.0.p/gmappedfile.c.o glib/libglib-2.0.so.0.7200.0.p/gmarkup.c.o glib/libglib-2.0.so.0.7200.0.p/gmem.c.o glib/libglib-2.0.so.0.7200.0.p/gmessages.c.o glib/libglib-2.0.so.0.7200.0.p/gnode.c.o glib/libglib-2.0.so.0.7200.0.p/goption.c.o glib/libglib-2.0.so.0.7200.0.p/gpattern.c.o glib/libglib-2.0.so.0.7200.0.p/gpoll.c.o glib/libglib-2.0.so.0.7200.0.p/gprimes.c.o glib/libglib-2.0.so.0.7200.0.p/gqsort.c.o glib/libglib-2.0.so.0.7200.0.p/gquark.c.o glib/libglib-2.0.so.0.7200.0.p/gqueue.c.o glib/libglib-2.0.so.0.7200.0.p/grand.c.o glib/libglib-2.0.so.0.7200.0.p/grcbox.c.o glib/libglib-2.0.so.0.7200.0.p/grefcount.c.o glib/libglib-2.0.so.0.7200.0.p/grefstring.c.o glib/libglib-2.0.so.0.7200.0.p/gregex.c.o glib/libglib-2.0.so.0.7200.0.p/gscanner.c.o glib/libglib-2.0.so.0.7200.0.p/gsequence.c.o glib/libglib-2.0.so.0.7200.0.p/gshell.c.o glib/libglib-2.0.so.0.7200.0.p/gslice.c.o glib/libglib-2.0.so.0.7200.0.p/gslist.c.o glib/libglib-2.0.so.0.7200.0.p/gstdio.c.o glib/libglib-2.0.so.0.7200.0.p/gstrfuncs.c.o glib/libglib-2.0.so.0.7200.0.p/gstring.c.o glib/libglib-2.0.so.0.7200.0.p/gstringchunk.c.o glib/libglib-2.0.so.0.7200.0.p/gstrvbuilder.c.o glib/libglib-2.0.so.0.7200.0.p/gtestutils.c.o glib/libglib-2.0.so.0.7200.0.p/gthread.c.o glib/libglib-2.0.so.0.7200.0.p/gthreadpool.c.o glib/libglib-2.0.so.0.7200.0.p/gtimer.c.o glib/libglib-2.0.so.0.7200.0.p/gtimezone.c.o glib/libglib-2.0.so.0.7200.0.p/gtrace.c.o glib/libglib-2.0.so.0.7200.0.p/gtranslit.c.o glib/libglib-2.0.so.0.7200.0.p/gtrashstack.c.o glib/libglib-2.0.so.0.7200.0.p/gtree.c.o glib/libglib-2.0.so.0.7200.0.p/guniprop.c.o glib/libglib-2.0.so.0.7200.0.p/gutf8.c.o glib/libglib-2.0.so.0.7200.0.p/gunibreak.c.o glib/libglib-2.0.so.0.7200.0.p/gunicollate.c.o glib/libglib-2.0.so.0.7200.0.p/gunidecomp.c.o glib/libglib-2.0.so.0.7200.0.p/guri.c.o glib/libglib-2.0.so.0.7200.0.p/gutils.c.o glib/libglib-2.0.so.0.7200.0.p/guuid.c.o glib/libglib-2.0.so.0.7200.0.p/gvariant.c.o glib/libglib-2.0.so.0.7200.0.p/gvariant-core.c.o glib/libglib-2.0.so.0.7200.0.p/gvariant-parser.c.o glib/libglib-2.0.so.0.7200.0.p/gvariant-serialiser.c.o glib/libglib-2.0.so.0.7200.0.p/gvarianttypeinfo.c.o glib/libglib-2.0.so.0.7200.0.p/gvarianttype.c.o glib/libglib-2.0.so.0.7200.0.p/gversion.c.o glib/libglib-2.0.so.0.7200.0.p/gwakeup.c.o glib/libglib-2.0.so.0.7200.0.p/gprintf.c.o glib/libglib-2.0.so.0.7200.0.p/glib-unix.c.o glib/libglib-2.0.so.0.7200.0.p/gspawn.c.o glib/libglib-2.0.so.0.7200.0.p/giounix.c.o glib/libglib-2.0.so.0.7200.0.p/gthread-posix.c.o
-L/opt/lib -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libglib-2.0.so.0 glib/libcharset/libcharset.a subprojects/pcre-8.37/libpcre.a -Wl,-z,nodelete -Wl,-Bsymbolic-functions -pthread -liconv -lm -Wl,--end-group
/opt/bin/ld: glib/libglib-2.0.so.0.7200.0.p/ggettext.c.o: in function `_g_dgettext_should_translate':
/share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:315: undefined reference to `libintl_textdomain'
/opt/bin/ld: /share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:316: undefined reference to `libintl_gettext'
/opt/bin/ld: glib/libglib-2.0.so.0.7200.0.p/ggettext.c.o: in function `ensure_gettext_initialized':
/share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:107: undefined reference to `libintl_bindtextdomain'
/opt/bin/ld: /share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:110: undefined reference to `libintl_bind_textdomain_codeset'
/opt/bin/ld: glib/libglib-2.0.so.0.7200.0.p/ggettext.c.o: in function `g_dgettext':
/share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:402: undefined reference to `libintl_dgettext'
/opt/bin/ld: /share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:402: undefined reference to `libintl_dgettext'
/opt/bin/ld: glib/libglib-2.0.so.0.7200.0.p/ggettext.c.o: in function `g_dcgettext':
/share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:429: undefined reference to `libintl_dcgettext'
/opt/bin/ld: /share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:429: undefined reference to `libintl_dcgettext'
/opt/bin/ld: glib/libglib-2.0.so.0.7200.0.p/ggettext.c.o: in function `g_dngettext':
/share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:460: undefined reference to `libintl_dngettext'
/opt/bin/ld: /share/CACHEDEV1_DATA/jmarks/gdk_files/glib-2.72.0/_build/../glib/ggettext.c:460: undefined reference to `libintl_dngettext'
collect2: error: ld returned 1 exit status
Is this is an issue with gettext?
All the *.c.o files in the failed command exist in the correct directory.
The prefix=/opt
Gettext 0.21 is installed.
gettext.h is located in /opt/share/gettext/ and this path is included in CFLAGS and CPPFLAGS
libintl.a is in opt/lib as is its shared library:
# ldconfig -v |grep libintl
libintl.so.8 -> libintl.so.8.2.0
I would like to learn why this is failing and how to fix it.
Many thanks

Errors in creating Python interface for multiple C++ files in a shared library

I have two c++ files named as "animal.cpp" and "zoo.cpp". These files are compiled as a shared library "zoo.so". I want to access the functions defined in these files from Python interpreter.
However, I am getting errors. I tried to do some changes but getting different kind of errors. I hope expert of Boost-Python may guide me in solving these issues.
Note: To keep the problem simple, I have not used classes, otherwise I could easily make classes of "animal" and "zoo".
I want to access both files function from Python.
Any guidance will be highly appreciated.
Thanks,
animal.cpp
+++++++++++
/*
* This is the C++ function we write and want to expose to Python.
*/
const std::string hello_animal() {
return std::string("hello, animal");
}
/*
* This is the C++ function we write and want to expose to Python.
*/
const std::string getname_animal() {
std::string input;
std::cout<<"Please enter your favorit animal name: ";
std::getline(std::cin,input);
return std::string("Your favorit animal name is: ").append(input);
}
/*
* This is a macro Boost.Python provides to signify a Python extension module.
*/
BOOST_PYTHON_MODULE(animal) {
// An established convention for using boost.python.
using namespace boost::python;
// Expose the function hello_animal().
def("hello_animal", hello_animal);
// Expose the function getname_animal().
def("getname_animal", getname_animal);
}
zoo.cpp
++++++++
/*
* This is the C++ function we write and want to expose to Python.
*/
const std::string hello_zoo() {
return std::string("hello, zoo");
}
/*
* This is the C++ function we write and want to expose to Python.
*/
const std::string getname_zoo() {
std::string input;
std::cout<<"Please enter your favorit zoo name: ";
std::getline(std::cin,input);
return std::string("Your favorit zoo name is: ").append(input);
}
/*
* This is a macro Boost.Python provides to signify a Python extension module.
*/
BOOST_PYTHON_MODULE(zoo) {
// An established convention for using boost.python.
using namespace boost::python;
// Expose the function hello_zoo().
def("hello_zoo", hello_zoo);
// Expose the function getname_zoo().
def("getname_zoo", getname_zoo);
}
I have created a shared library using following command:
g++ -shared -o zoo.so -fPIC zoo.cpp animal.cpp -lboost_python -lpython2.7 -I/usr/include/python2.7
Python Interpreter Commands and output:
import zoo
zoo.getname_zoo()
Please enter your favorit zoo name: zoo
'Your favorit zoo name is: zoo'
zoo.getname_animal()
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'getname_animal'
When I make following changes in animal.cpp file, I get different error.
BOOST_PYTHON_MODULE(zoo) {
instead of
BOOST_PYTHON_MODULE(animal) {
On compilation I get following error:
[root#localhost zooexample]# g++ -shared -o zoo.so -fPIC zoo.cpp animal.cpp -lboost_python -lpython2.7 -I/usr/include/python2.7
/tmp/cci4WKrP.o: In function initzoo':
animal.cpp:(.text+0x15d): multiple definition ofinitzoo'
/tmp/cctaGDer.o:zoo.cpp:(.text+0x15d): first defined here
/tmp/cci4WKrP.o: In function init_module_zoo()':
animal.cpp:(.text+0x179): multiple definition ofinit_module_zoo()'
/tmp/cctaGDer.o:zoo.cpp:(.text+0x179): first defined here
collect2: error: ld returned 1 exit status
+++++++++++++++++++++++++++++UPDATED++++UPDATED+++++UPDATED+++++++++++++++
Considering the suggestion given by Dan for my previous issue. Now I have created a separate file pyintf.cpp containing the following code:
BOOST_PYTHON_MODULE(pyintf) {
def("hello_zoo", hello_zoo);
def("getname_zoo", getname_zoo);
def("hello_animal", hello_animal);
def("getname_animal", getname_animal);
}
but when I compile and create a shared library using the following command:
g++ -shared -o pyintf.so -fPIC pyintf.cpp -lboost_python -lpython2.7 -I/usr/include/python2.7
I get following error when I import the "pyintf" module in python.
import pyintf
Traceback (most recent call last):
File "", line 1, in
ImportError: ./pyintf.so: undefined symbol: _Z9hello_zoov
Can anyone tell what I am not doing correctly?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The issues were resolved by putting all methods which I wanted to expose in a single pyintf.cpp. The errors which I got after update were due to missing header files and source files.
Now, the above issue has resolved by adding header files (zoo.h, animal.h) and source files (zoo.cpp, animal.cpp) in the compilation command. g++ -shared -o pyintf.so -fPIC pyintf.cpp animal.h animal.cpp zoo.h zoo.cpp -lboost_python -lpython2.7 -I/usr/include/python2.7
Thanks Dan for corrections.

AzureDevops publish publishes too many zip files

Apologies if this is a stpuid question but I have been struggling with this for several weeks now and making no progress. I have a build step for my .Net project in Azure Devops with the following parameters:
/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\\"
Although it says package as single file. I get the following in the drop folder:
Orchard.Autoroute.deploy-readme.txt
Orchard.Autoroute.deploy.cmd
Orchard.Autoroute.SetParameters.xml
Orchard.Autoroute.SourceManifest.xml
Orchard.Autoroute.zip
Orchard.Azure.deploy-readme.txt
Orchard.Azure.deploy.cmd
Orchard.Azure.MediaServices.deploy-readme.txt
Orchard.Azure.MediaServices.deploy.cmd
Orchard.Azure.MediaServices.SetParameters.xml
Orchard.Azure.MediaServices.SourceManifest.xml
Orchard.Azure.MediaServices.zip
Orchard.Azure.SetParameters.xml
Orchard.Azure.SourceManifest.xml
Orchard.Azure.zip
Orchard.Blogs.deploy-readme.txt
Orchard.Blogs.deploy.cmd
Orchard.Blogs.SetParameters.xml
Orchard.Blogs.SourceManifest.xml
Orchard.Blogs.zip
Orchard.Caching.deploy-readme.txt
Orchard.Caching.deploy.cmd
Orchard.Caching.SetParameters.xml
Orchard.Caching.SourceManifest.xml
Orchard.Caching.zip
Orchard.CodeGeneration.deploy-readme.txt
Orchard.CodeGeneration.deploy.cmd
Orchard.CodeGeneration.SetParameters.xml
Orchard.CodeGeneration.SourceManifest.xml
Orchard.CodeGeneration.zip
Orchard.Comments.deploy-readme.txt
Orchard.Comments.deploy.cmd
Orchard.Comments.SetParameters.xml
Orchard.Comments.SourceManifest.xml
Orchard.Comments.zip
Orchard.Conditions.deploy-readme.txt
Orchard.Conditions.deploy.cmd
Orchard.Conditions.SetParameters.xml
Orchard.Conditions.SourceManifest.xml
Orchard.Conditions.zip
Orchard.ContentPermissions.deploy-readme.txt
Orchard.ContentPermissions.deploy.cmd
Orchard.ContentPermissions.SetParameters.xml
Orchard.ContentPermissions.SourceManifest.xml
Orchard.ContentPermissions.zip
Orchard.ContentPicker.deploy-readme.txt
Orchard.ContentPicker.deploy.cmd
Orchard.ContentPicker.SetParameters.xml
Orchard.ContentPicker.SourceManifest.xml
Orchard.ContentPicker.zip
Orchard.ContentTypes.deploy-readme.txt
Orchard.ContentTypes.deploy.cmd
Orchard.ContentTypes.SetParameters.xml
Orchard.ContentTypes.SourceManifest.xml
Orchard.ContentTypes.zip
Orchard.Core.deploy-readme.txt
Orchard.Core.deploy.cmd
Orchard.Core.SetParameters.xml
Orchard.Core.SourceManifest.xml
Orchard.Core.zip
Orchard.CustomForms.deploy-readme.txt
Orchard.CustomForms.deploy.cmd
Orchard.CustomForms.SetParameters.xml
Orchard.CustomForms.SourceManifest.xml
Orchard.CustomForms.zip
Orchard.Dashboards.deploy-readme.txt
Orchard.Dashboards.deploy.cmd
Orchard.Dashboards.SetParameters.xml
Orchard.Dashboards.SourceManifest.xml
Orchard.Dashboards.zip
Orchard.DesignerTools.deploy-readme.txt
Orchard.DesignerTools.deploy.cmd
Orchard.DesignerTools.SetParameters.xml
Orchard.DesignerTools.SourceManifest.xml
Orchard.DesignerTools.zip
Orchard.DynamicForms.deploy-readme.txt
Orchard.DynamicForms.deploy.cmd
Orchard.DynamicForms.SetParameters.xml
Orchard.DynamicForms.SourceManifest.xml
Orchard.DynamicForms.zip
Orchard.Email.deploy-readme.txt
Orchard.Email.deploy.cmd
Orchard.Email.SetParameters.xml
Orchard.Email.SourceManifest.xml
Orchard.Email.zip
Orchard.Fields.deploy-readme.txt
Orchard.Fields.deploy.cmd
Orchard.Fields.SetParameters.xml
Orchard.Fields.SourceManifest.xml
Orchard.Fields.zip
Orchard.Forms.deploy-readme.txt
Orchard.Forms.deploy.cmd
Orchard.Forms.SetParameters.xml
Orchard.Forms.SourceManifest.xml
Orchard.Forms.zip
Orchard.ImageEditor.deploy-readme.txt
Orchard.ImageEditor.deploy.cmd
Orchard.ImageEditor.SetParameters.xml
Orchard.ImageEditor.SourceManifest.xml
Orchard.ImageEditor.zip
Orchard.ImportExport.deploy-readme.txt
Orchard.ImportExport.deploy.cmd
Orchard.ImportExport.SetParameters.xml
Orchard.ImportExport.SourceManifest.xml
Orchard.ImportExport.zip
Orchard.Indexing.deploy-readme.txt
Orchard.Indexing.deploy.cmd
Orchard.Indexing.SetParameters.xml
Orchard.Indexing.SourceManifest.xml
Orchard.Indexing.zip
Orchard.JobsQueue.deploy-readme.txt
Orchard.JobsQueue.deploy.cmd
Orchard.JobsQueue.SetParameters.xml
Orchard.JobsQueue.SourceManifest.xml
Orchard.JobsQueue.zip
Orchard.jQuery.deploy-readme.txt
Orchard.jQuery.deploy.cmd
Orchard.jQuery.SetParameters.xml
Orchard.jQuery.SourceManifest.xml
Orchard.jQuery.zip
Orchard.Layouts.deploy-readme.txt
Orchard.Layouts.deploy.cmd
Orchard.Layouts.SetParameters.xml
Orchard.Layouts.SourceManifest.xml
Orchard.Layouts.zip
Orchard.Lists.deploy-readme.txt
Orchard.Lists.deploy.cmd
Orchard.Lists.SetParameters.xml
Orchard.Lists.SourceManifest.xml
Orchard.Lists.zip
Orchard.Localization.deploy-readme.txt
Orchard.Localization.deploy.cmd
Orchard.Localization.SetParameters.xml
Orchard.Localization.SourceManifest.xml
Orchard.Localization.zip
Orchard.Media.deploy-readme.txt
Orchard.Media.deploy.cmd
Orchard.Media.SetParameters.xml
Orchard.Media.SourceManifest.xml
Orchard.Media.zip
Orchard.MediaLibrary.deploy-readme.txt
Orchard.MediaLibrary.deploy.cmd
Orchard.MediaLibrary.SetParameters.xml
Orchard.MediaLibrary.SourceManifest.xml
Orchard.MediaLibrary.zip
Orchard.MediaPicker.deploy-readme.txt
Orchard.MediaPicker.deploy.cmd
Orchard.MediaPicker.SetParameters.xml
Orchard.MediaPicker.SourceManifest.xml
Orchard.MediaPicker.zip
Orchard.MediaProcessing.deploy-readme.txt
Orchard.MediaProcessing.deploy.cmd
Orchard.MediaProcessing.SetParameters.xml
Orchard.MediaProcessing.SourceManifest.xml
Orchard.MediaProcessing.zip
Orchard.MessageBus.deploy-readme.txt
Orchard.MessageBus.deploy.cmd
Orchard.MessageBus.SetParameters.xml
Orchard.MessageBus.SourceManifest.xml
Orchard.MessageBus.zip
Orchard.Migrations.deploy-readme.txt
Orchard.Migrations.deploy.cmd
Orchard.Migrations.SetParameters.xml
Orchard.Migrations.SourceManifest.xml
Orchard.Migrations.zip
Orchard.Modules.deploy-readme.txt
Orchard.Modules.deploy.cmd
Orchard.Modules.SetParameters.xml
Orchard.Modules.SourceManifest.xml
Orchard.Modules.zip
Orchard.MultiTenancy.deploy-readme.txt
Orchard.MultiTenancy.deploy.cmd
Orchard.MultiTenancy.SetParameters.xml
Orchard.MultiTenancy.SourceManifest.xml
Orchard.MultiTenancy.zip
Orchard.OutputCache.deploy-readme.txt
Orchard.OutputCache.deploy.cmd
Orchard.OutputCache.SetParameters.xml
Orchard.OutputCache.SourceManifest.xml
Orchard.OutputCache.zip
Orchard.Packaging.deploy-readme.txt
Orchard.Packaging.deploy.cmd
Orchard.Packaging.SetParameters.xml
Orchard.Packaging.SourceManifest.xml
Orchard.Packaging.zip
Orchard.Pages.deploy-readme.txt
Orchard.Pages.deploy.cmd
Orchard.Pages.SetParameters.xml
Orchard.Pages.SourceManifest.xml
Orchard.Pages.zip
Orchard.Projections.deploy-readme.txt
Orchard.Projections.deploy.cmd
Orchard.Projections.SetParameters.xml
Orchard.Projections.SourceManifest.xml
Orchard.Projections.zip
Orchard.PublishLater.deploy-readme.txt
Orchard.PublishLater.deploy.cmd
Orchard.PublishLater.SetParameters.xml
Orchard.PublishLater.SourceManifest.xml
Orchard.PublishLater.zip
Orchard.Recipes.deploy-readme.txt
Orchard.Recipes.deploy.cmd
Orchard.Recipes.SetParameters.xml
Orchard.Recipes.SourceManifest.xml
Orchard.Recipes.zip
Orchard.Redis.deploy-readme.txt
Orchard.Redis.deploy.cmd
Orchard.Redis.SetParameters.xml
Orchard.Redis.SourceManifest.xml
Orchard.Redis.zip
Orchard.Resources.deploy-readme.txt
Orchard.Resources.deploy.cmd
Orchard.Resources.SetParameters.xml
Orchard.Resources.SourceManifest.xml
Orchard.Resources.zip
Orchard.Roles.deploy-readme.txt
Orchard.Roles.deploy.cmd
Orchard.Roles.SetParameters.xml
Orchard.Roles.SourceManifest.xml
Orchard.Roles.zip
Orchard.Rules.deploy-readme.txt
Orchard.Rules.deploy.cmd
Orchard.Rules.SetParameters.xml
Orchard.Rules.SourceManifest.xml
Orchard.Rules.zip
Orchard.Scripting.CSharp.deploy-readme.txt
Orchard.Scripting.CSharp.deploy.cmd
Orchard.Scripting.CSharp.SetParameters.xml
Orchard.Scripting.CSharp.SourceManifest.xml
Orchard.Scripting.CSharp.zip
Orchard.Scripting.deploy-readme.txt
Orchard.Scripting.deploy.cmd
Orchard.Scripting.Dlr.deploy-readme.txt
Orchard.Scripting.Dlr.deploy.cmd
Orchard.Scripting.Dlr.SetParameters.xml
Orchard.Scripting.Dlr.SourceManifest.xml
Orchard.Scripting.Dlr.zip
Orchard.Scripting.SetParameters.xml
Orchard.Scripting.SourceManifest.xml
Orchard.Scripting.zip
Orchard.Search.deploy-readme.txt
Orchard.Search.deploy.cmd
Orchard.Search.SetParameters.xml
Orchard.Search.SourceManifest.xml
Orchard.Search.zip
Orchard.SecureSocketsLayer.deploy-readme.txt
Orchard.SecureSocketsLayer.deploy.cmd
Orchard.SecureSocketsLayer.SetParameters.xml
Orchard.SecureSocketsLayer.SourceManifest.xml
Orchard.SecureSocketsLayer.zip
Orchard.Setup.deploy-readme.txt
Orchard.Setup.deploy.cmd
Orchard.Setup.SetParameters.xml
Orchard.Setup.SourceManifest.xml
Orchard.Setup.zip
Orchard.Tags.deploy-readme.txt
Orchard.Tags.deploy.cmd
Orchard.Tags.SetParameters.xml
Orchard.Tags.SourceManifest.xml
Orchard.Tags.zip
Orchard.TaskLease.deploy-readme.txt
Orchard.TaskLease.deploy.cmd
Orchard.TaskLease.SetParameters.xml
Orchard.TaskLease.SourceManifest.xml
Orchard.TaskLease.zip
Orchard.Taxonomies.deploy-readme.txt
Orchard.Taxonomies.deploy.cmd
Orchard.Taxonomies.SetParameters.xml
Orchard.Taxonomies.SourceManifest.xml
Orchard.Taxonomies.zip
Orchard.Templates.deploy-readme.txt
Orchard.Templates.deploy.cmd
Orchard.Templates.SetParameters.xml
Orchard.Templates.SourceManifest.xml
Orchard.Templates.zip
Orchard.Themes.deploy-readme.txt
Orchard.Themes.deploy.cmd
Orchard.Themes.SetParameters.xml
Orchard.Themes.SourceManifest.xml
Orchard.Themes.zip
Orchard.Tokens.deploy-readme.txt
Orchard.Tokens.deploy.cmd
Orchard.Tokens.SetParameters.xml
Orchard.Tokens.SourceManifest.xml
Orchard.Tokens.zip
Orchard.Users.deploy-readme.txt
Orchard.Users.deploy.cmd
Orchard.Users.SetParameters.xml
Orchard.Users.SourceManifest.xml
Orchard.Users.zip
Orchard.Warmup.deploy-readme.txt
Orchard.Warmup.deploy.cmd
Orchard.Warmup.SetParameters.xml
Orchard.Warmup.SourceManifest.xml
Orchard.Warmup.zip
Orchard.Web.deploy-readme.txt
Orchard.Web.deploy.cmd
Orchard.Web.SetParameters.xml
Orchard.Web.SourceManifest.xml
Orchard.Web.zip
etc and many more
In my release step I have an Azure App Service Deployment step with the following parameter:
$(System.DefaultWorkingDirectory)/**/Orchard.Web.zip
But it only deploys the code for the website, none of the modules of Orchard so the website does not work. I cannot specify this:
$(System.DefaultWorkingDirectory)/**/*.zip
Otherwise I get this error:
Error: More than one package matched with specified pattern: D:\a\r1\a***.zip. Please restrain the search pattern.
Currently the website publishes correctly if I publish from visual studio, but not through AzureDevops.
Do I need a deployment step for each module?
Why can't I do a deployment step just like in VS but through AzureDevops?
What combination of build and release steps do I need to do a WebDeploy which will deploy all of the code?
A tutorial would be ideal.
Edit:
I have also raised this issue here:
https://developercommunity.visualstudio.com/content/problem/408833/azuredevops-publish-publishes-too-many-zip-files.html

Ruby problems with formotion module

There is an app written in ruby that I need to get running. It worked before IOS11 but is now throwing errors. I have formotion installed and all the appropriate gems and the SDK. I am having trouble getting the compiler to recognize that there is a formotion gem with things inside it.
I am getting an uncaught exception "Name Error" and it says that the variable im trying to instantiate within the formotion class is an uninitialized constant.
Any help with this error would be appreciated.
Here are some bit of the code, the error points to row.text_field.resignFirstResponder
module RowType
class PickerWithDoneRow < PickerRow
include RowType::ItemsMapper
def after_build(cell)
super
keyboardDoneButtonView = UIToolbar.new
keyboardDoneButtonView.barStyle = UIBarStyleBlack
keyboardDoneButtonView.tintColor = "#000".uicolor
keyboardDoneButtonView.translucent = false
keyboardDoneButtonView.sizeToFit
# keyboardDoneButtonView.barTintColor = "#BFC3C8".uicolor
keyboardDoneButtonView.barTintColor = "#EFEFF4".uicolor
doneButton = UIBarButtonItem.alloc.initWithTitle("Done", style:UIBarButtonItemStylePlain, target:self, action: 'picker_done_clicked')
spacer1 = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemFlexibleSpace, target:self, action: nil)
spacer = UIBarButtonItem.alloc.initWithBarButtonSystemItem(UIBarButtonSystemItemFlexibleSpace, target:self, action: nil)
keyboardDoneButtonView.setItems([spacer, spacer1, doneButton])
row.text_field.inputAccessoryView = keyboardDoneButtonView
end
def picker_done_clicked
row.text_field.resignFirstResponder
end
end
end
There were a few gems required for the program that were not included in the code as gems that needed to be installed. The gems needed were:
bigdecimal (1.2.0)
bubble-wrap (1.3.0)
bundler (1.16.0)
formotion (1.5.1)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
motion-csv (0.0.2)
motion-require (0.0.7)
motion-testflight (1.5)
psych (2.0.0)
rake (10.1.0, 0.9.6)
rdoc (4.0.0)
sugarcube (1.1.0)
test-unit (2.0.0.0)

Jump to the first file or directory that starts with a specific letter

In the VS Code Explorer, how do jump to the first file or directory that starts with a specific letter?
For example, in the node_modules directory, I want to be able to press W and jump to wcwidth in the following directory list.
.bin
abbrev
accepts
acorn
after
agent-base
align-text
amdefine
ansi-align
ansi-regex
ansi-styles
ansicolors
any-promise
anymatch
archy
argparse
arr-diff
arr-flatten
array-differ
array-find-index
array-slice
array-uniq
array-unique
arraybuffer.slice
arrify
asn1
assert-plus
async
async-done
async-each
async-each-series
async-settle
atob
aurelia-animator-css
aurelia-binding
aurelia-bootstrapper
aurelia-cli
aurelia-dependency-injection
aurelia-event-aggregator
aurelia-fetch-client
aurelia-framework
aurelia-history
aurelia-history-browser
aurelia-loader
aurelia-loader-default
aurelia-logging
aurelia-logging-console
aurelia-metadata
aurelia-pal
aurelia-pal-browser
aurelia-path
aurelia-polyfills
aurelia-route-recognizer
aurelia-router
aurelia-task-queue
aurelia-templating
aurelia-templating-binding
aurelia-templating-resources
aurelia-templating-router
aurelia-testing
aurelia-tools
aws-sign2
bach
backo2
balanced-match
base64-arraybuffer
base64id
batch
beeper
benchmark
better-assert
binary-extensions
bl
blob
bluebird
body-parser
boom
boxen
brace-expansion
braces
breeze-dag
breeze-nexttick
breeze-queue
browser-sync
browser-sync-client
browser-sync-ui
bs-recipes
builtin-modules
bytes
callsite
camelcase
camelcase-keys
capture-stack-trace
cardinal
caseless
center-align
chalk
chokidar
cli-boxes
cli-table
cli-usage
cliui
clone
clone-stats
code-point-at
colors
columnify
combined-stream
commander
component-bind
component-emitter
component-inherit
concat-map
concat-stream
configstore
connect
connect-history-api-fallback
content-type
convert-source-map
core-js
core-util-is
create-error-class
cryptiles
css
ctype
currently-unhandled
custom-event
d
dateformat
debug
decamelize
deep-extend
deep-is
default-resolution
defaults
delayed-stream
depd
destroy
detect-file
detect-indent
detect-newline
dev-ip
di
diff
dom-serialize
dot-prop
duplexer
duplexer2
duplexify
easy-extender
eazy-logger
ee-first
emitter-steward
end-of-stream
engine.io
engine.io-client
engine.io-parser
ent
error-ex
es5-ext
es6-iterator
es6-symbol
es6-weak-map
escape-html
escape-string-regexp
escodegen
esprima-fb
estraverse
esutils
etag
event-stream
eventemitter3
expand-braces
expand-brackets
expand-range
expand-tilde
express
extend
extend-shallow
extglob
fancy-log
fast-levenshtein
filename-regex
fileset
fill-range
filled-array
finalhandler
find-up
findup-sync
fined
first-chunk-stream
flagged-respawn
for-in
for-own
forever-agent
form-data
formidable
fresh
from
fs-access
fs-exists-sync
fs-extra
fs.realpath
function-bind
gaia-tsort
generate-function
generate-object-property
get-stdin
glob
glob-base
glob-parent
glob-stream
glob-watcher
global-modules
global-prefix
glogg
got
graceful-fs
graceful-readlink
growly
gulp
gulp-changed-in-place
gulp-notify
gulp-plumber
gulp-rename
gulp-sourcemaps
gulp-tslint
gulp-typescript
gulp-util
gulplog
handlebars
har-validator
has
has-ansi
has-binary
has-cors
has-flag
has-gulplog
hawk
hoek
hosted-git-info
http-errors
http-proxy
http-proxy-agent
http-signature
https-proxy-agent
iconv-lite
immutable
imurmurhash
indent-string
indexof
inflight
inherits
ini
interpret
invariant
invert-kv
is
is-absolute
is-arrayish
is-binary-path
is-buffer
is-builtin-module
is-dotfile
is-equal-shallow
is-extendable
is-extglob
is-finite
is-fullwidth-code-point
is-glob
is-my-json-valid
is-npm
is-number
is-obj
is-plain-obj
is-posix-bracket
is-primitive
is-property
is-redirect
is-relative
is-retry-allowed
is-stream
is-unc-path
is-utf8
is-valid-glob
is-windows
isarray
isbinaryfile
isexe
isobject
isstream
istanbul
jasmine-core
js-tokens
js-yaml
json-stable-stringify
json-stringify-safe
json3
jsonfile
jsonify
jsonpointer
jsrsasign
jwt-decode
karma
karma-chrome-launcher
karma-cli
karma-coverage
karma-firefox-launcher
karma-jasmine
karma-requirejs
karma-spec-reporter
karma-typescript-preprocessor
kind-of
klaw
last-run
latest-version
lazy-cache
lazy-req
lazystream
lcid
levn
liftoff
limiter
listify
load-json-file
localtunnel
lockfile
lodash
lodash.assign
lodash.assignwith
lodash.clonedeep
lodash.debounce
lodash.defaults
lodash.escape
lodash.filter
lodash.flatten
lodash.foreach
lodash.initial
lodash.isarguments
lodash.isarray
lodash.isempty
lodash.isequal
lodash.isfunction
lodash.isplainobject
lodash.isstring
lodash.keys
lodash.last
lodash.map
lodash.mapvalues
lodash.pick
lodash.reduce
lodash.restparam
lodash.sortby
lodash.template
lodash.templatesettings
lodash._arraycopy
lodash._arrayeach
lodash._baseassign
lodash._baseclone
lodash._basecopy
lodash._basefor
lodash._basetostring
lodash._basevalues
lodash._bindcallback
lodash._createassigner
lodash._getnative
lodash._isiterateecall
lodash._reescape
lodash._reevaluate
lodash._reinterpolate
lodash._root
log4js
longest
loose-envify
loud-rejection
lowercase-keys
lru-cache
make-error
make-error-cause
map-cache
map-obj
map-stream
marked
marked-terminal
matchdep
media-typer
meow
merge-stream
micromatch
mime
mime-db
mime-types
minimatch
minimist
mkdirp
ms
multipipe
mute-stdout
negotiator
next-tick
node-emoji
node-notifier
node-status-codes
node-uuid
node.extend
nopt
normalize-package-data
normalize-path
now-and-later
npm
null-check
number-is-nan
oauth-sign
object-assign
object-component
object-path
object.omit
object.pick
on-finished
once
openurl
opn
optimist
optionator
options
ordered-read-streams
os-homedir
os-locale
os-tmpdir
osenv
package-json
parse-filepath
parse-glob
parse-json
parsejson
parseqs
parseuri
parseurl
path-exists
path-is-absolute
path-root
path-root-regex
path-type
pause-stream
pify
pinkie
pinkie-promise
pkg-conf
popsicle
popsicle-proxy-agent
popsicle-retry
popsicle-status
portscanner
prelude-ls
prepend-http
preserve
pretty-hrtime
process-nextick-args
promise-finally
qs
randomatic
range-parser
raw-body
rc
read-all-stream
read-pkg
read-pkg-up
readable-stream
readdirp
rechoir
redent
redeyed
regex-cache
registry-url
repeat-element
repeat-string
repeating
replace-ext
request
require-main-filename
requirejs
requires-port
resolve
resolve-dir
resolve-url
resp-modifier
right-align
rimraf
rx
semver
semver-diff
semver-greatest-satisfied-range
semver-regex
send
serve-index
serve-static
server-destroy
set-blocking
set-immediate-shim
setprototypeof
shellwords
signal-exit
slide
sntp
socket.io
socket.io-adapter
socket.io-client
socket.io-parser
sort-keys
source-map
source-map-resolve
source-map-url
sparkles
spdx-correct
spdx-exceptions
spdx-expression-parse
spdx-license-ids
split
sprintf-js
stack-trace
statuses
stream-combiner
stream-exhaust
stream-shift
stream-throttle
string-template
string-width
stringstream
string_decoder
strip-ansi
strip-bom
strip-bom-stream
strip-indent
strip-json-comments
supports-color
symbol
text
tfunk
thenify
throat
through
through2
through2-filter
throwback
tildify
time-stamp
timed-out
to-absolute-glob
to-array
touch
tough-cookie
trim-newlines
tslint
tunnel-agent
type-check
type-is
typedarray
typescript
typings
typings-core
ua-parser-js
uglify-js
uglify-to-browserify
ultron
unc-path-regex
underscore
underscore.string
undertaker
undertaker-registry
unique-stream
unpipe
unzip-response
update-notifier
urix
url-parse-lax
user-home
useragent
utf8
util-deprecate
utils-merge
uuid
v8flags
vali-date
validate-npm-package-license
vinyl
vinyl-fs
void-elements
wcwidth
weinre
whatwg-fetch
which
widest-line
window-size
wordwrap
wrap-ansi
wrappy
wreck
write-file-atomic
ws
xdg-basedir
xmlhttprequest-ssl
xtend
y18n
yargs
yargs-parser
yeast
zip-object
This already works in the Windows File Explorer. It's called "When typing into list view, Select the typed item in the view." Does a similar feature exist in the Visual Studio Code Explorer?