zetlen / clortho

:key: :ghost: friendly password handling for node scripts
15 stars 9 forks source link

Certain MS Windows instances fail silently when password prompt should fire #1

Open bmcminn opened 8 years ago

bmcminn commented 8 years ago

Currently experiencing this on my Win7 Pro 64bit machine at home, but other windows users of the mozu-app-dev-tools package utility have also experienced the grunt tooling running up to the "Uploading progress:" message and then it silently fails without loading the powershell password prompt.

Not sure what the commonality is between these systems, but just verified that my system does allow for script execution which doesn't seem to cause the problem, nor is it a permissions issue as I've tried running the grunt tooling in a CMD shell with admin privileges.

Out of ideas as to what might cause the password prompt to fail.

zetlen commented 8 years ago

I can take a look at this...can you paste a verbose Grunt log?

bmcminn commented 8 years ago

This is running directly from my grunt process for mozusync:upload:

Initializing
Command-line options: --verbose

Reading "gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading ./package.json...OK
Parsing ./package.json...OK
Reading theme.json...OK
Parsing theme.json...OK
Reading ./mozu.config.json...OK
Parsing ./mozu.config.json...OK

Registering "mozu-theme-helpers" local Npm module tasks.
Reading E:\github\mytheme\node_modules\mozu-theme-helpers\package.json...OK
Parsing E:\github\mytheme\node_modules\mozu-theme-helpers\package.json...OK
Loading "grunt-mozutheme.js" tasks...OK
+ mozutheme

Registering "./.tasks/" tasks.
Loading "grunt-check-deprecated.js" tasks...OK
+ check:deprecated
Reading ./theme.json...OK
Parsing ./theme.json...OK
Loading "grunt-check-labels.js" tasks...OK
+ check:labels
Loading "grunt-check-settings.js" tasks...OK
+ check:settings
Loading "grunt-check-widgets.js" tasks...OK
+ check:widgets
Loading "grunt-emails.js" tasks...OK
+ email-delessify, email-lessify, email-settings, email-strainer
Loading "grunt-less-theme-settings.js" tasks...OK
+ less-theme-settings
Loading "grunt-setver.js" tasks...OK
+ setver
Loading "grunt-theme.js" tasks...OK
+ theme:about, theme:backoffice, theme:editors, theme:pagetypes, theme:settings, theme:ui
Loading "grunt-widgetize.js" tasks...OK
+ widgetize
Loading "helpers-json.js" tasks...OK
>> No tasks were registered or unregistered.
Loading "helpers.js" tasks...OK
>> No tasks were registered or unregistered.
Reading ./package.json...OK
Parsing ./package.json...OK
Reading ./.grunt/assets/email.css...OK
Initializing config...OK

Registering "grunt-contrib-compress" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-contrib-compress\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-contrib-compress\package.json...OK
Loading "compress.js" tasks...OK
+ compress

Registering "grunt-contrib-copy" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-contrib-copy\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-contrib-copy\package.json...OK
Loading "copy.js" tasks...OK
+ copy

Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-contrib-imagemin\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-contrib-imagemin\package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin

Registering "grunt-contrib-jshint" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-contrib-jshint\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-contrib-jshint\package.json...OK
Loading "jshint.js" tasks...OK
+ jshint

Registering "grunt-contrib-less" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-contrib-less\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-contrib-less\package.json...OK
Loading "less.js" tasks...OK
+ less

Registering "grunt-contrib-watch" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-contrib-watch\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-contrib-watch\package.json...OK
Loading "watch.js" tasks...OK
+ watch

Registering "grunt-jsbeautifier" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-jsbeautifier\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-jsbeautifier\package.json...OK
Loading "jsbeautifier.js" tasks...OK
+ jsbeautifier

Registering "grunt-juice-email" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-juice-email\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-juice-email\package.json...OK
Loading "juice.js" tasks...OK
+ juice

Registering "grunt-mozu-appdev-sync" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-mozu-appdev-sync\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-mozu-appdev-sync\package.json...OK
Loading "mozusync.js" tasks...OK
+ mozusync

Registering "grunt-newer" local Npm module tasks.
Reading E:\github\mytheme\node_modules\grunt-newer\package.json...OK
Parsing E:\github\mytheme\node_modules\grunt-newer\package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Loading "gruntfile.js" tasks...OK
+ build, check, default, emails, lintify, reset, theme

Running tasks: mozusync:upload

Running "mozusync:upload" (mozusync) task
Verifying property mozusync.upload exists in config...OK
Files: admin/editors, admin/editors/about-us.js, admin/editors/back-office.js, admin/editors/categoryContent.js, admin/editors/email-orderconfirmation.js, admin/editors/email.js, admin/editors/horizontalRule.js, admin/editors/image.js, admin/editors/pageTemplateContent.js, admin/editors/productContent.js, admin/editors/snippet.js, admin/editors/web_page.js, compiled/scripts, compiled/scripts/build.txt, compiled/scripts/modules, compiled/scripts/modules/common.js, compiled/scripts/modules/product-images.js, compiled/scripts/modules/theme-utility-bar.js, compiled/scripts/modules/views-collections-legacy.js, compiled/scripts/pages, compiled/scripts/pages/cart.js, compiled/scripts/pages/category.js, compiled/scripts/pages/checkout.js, compiled/scripts/pages/error.js, compiled/scripts/pages/location.js, compiled/scripts/pages/myaccount.js, compiled/scripts/pages/product.js, compiled/scripts/pages/search.js, compiled/scripts/vendor, compiled/scripts/vendor/bootstrap, compiled/scripts/vendor/bootstrap/js, compiled/scripts/vendor/bootstrap/js/affix.js, compiled/scripts/vendor/bootstrap/js/popover.js, compiled/scripts/vendor/bootstrap/js/scrollspy.js, compiled/scripts/vendor/bootstrap/js/tooltip.js, compiled/scripts/vendor/datetimepicker, compiled/scripts/vendor/datetimepicker/jquery-simple-datetimepicker.js, compiled/scripts/vendor/datetimepicker/jquery.datetimepicker.css, compiled/scripts/vendor/datetimepicker/jquery.datetimepicker.js, compiled/scripts/vendor/fitvids.js, compiled/scripts/vendor/jquery, compiled/scripts/vendor/jquery-colorbox, compiled/scripts/vendor/jquery-colorbox/jquery.colorbox.js, compiled/scripts/vendor/jquery.tools.dateinput.js, compiled/scripts/vendor/jquery/jquery.js, compiled/scripts/vendor/modernizr.min.js, compiled/scripts/vendor/slick.js, compiled/scripts/vendor/typeahead-js, compiled/scripts/vendor/typeahead-js/typeahead.bundle.js, compiled/scripts/vendor/typeahead.js, compiled/scripts/vendor/typeahead.js/dist, compiled/scripts/vendor/typeahead.js/dist/typeahead.bundle.js, compiled/scripts/widgets, compiled/scripts/widgets/deal-of-the-day.js, compiled/scripts/widgets/image.js, compiled/scripts/widgets/instock-request.js, compiled/scripts/widgets/related-products.js, compiled/scripts/widgets/slideshow-bob.js, compiled/scripts/widgets/video.js, labels/de-DE.json, labels/en-US.json, resources/admin, resources/admin/widgets, resources/admin/widgets/00_photo.png, resources/admin/widgets/03_heading_p.png, resources/admin/widgets/05_horizontal_divider.png, resources/admin/widgets/07_code.png, resources/admin/widgets/08_video.png, resources/admin/widgets/10_photo_slider.png, resources/admin/widgets/13_social.png, resources/admin/widgets/19_tags.png, resources/admin/widgets/22_category_navigation.png, resources/admin/widgets/23_cross_sells.png, resources/admin/widgets/25_instock_requests.png, resources/admin/widgets/26_related_products.png, resources/admin/widgets/27_up_sells.png, resources/admin/widgets/bcm~slideshow-bob.png, resources/admin/widgets/bcm~slideshow-mel.png, resources/admin/widgets/company-contact.png, resources/admin/widgets/deal-of-the-day.png, resources/admin/widgets/employee-card.png, resources/admin/widgets/heading.png, resources/fonts, resources/fonts/Lobster-Regular.ttf, resources/fonts/OFL.txt, resources/images, resources/images/button-loading-small.gif, resources/images/button-loading.gif, resources/images/error-exclamation.png, resources/images/favicon.ico, resources/images/slideshow1.jpg, resources/images/slideshow2.jpg, scripts/modules, scripts/modules/api.js, scripts/modules/backbone-mozu-model.js, scripts/modules/backbone-mozu-pagedcollection.js, scripts/modules/backbone-mozu-validation.js, scripts/modules/backbone-mozu-view.js, scripts/modules/backbone-mozu.js, scripts/modules/cart-monitor.js, scripts/modules/common.js, scripts/modules/contextify.js, scripts/modules/editable-view.js, scripts/modules/get-partial-view.js, scripts/modules/intent-emitter.js, scripts/modules/jquery-dateinput-localized.js, scripts/modules/jquery-mozu.js, scripts/modules/login-links.js, scripts/modules/models-address.js, scripts/modules/models-cart.js, scripts/modules/models-checkout.js, scripts/modules/models-customer.js, scripts/modules/models-documents.js, scripts/modules/models-faceting.js, scripts/modules/models-location.js, scripts/modules/models-messages.js, scripts/modules/models-orders.js, scripts/modules/models-paymentmethods.js, scripts/modules/models-price.js, scripts/modules/models-product.js, scripts/modules/preserve-element-through-render.js, scripts/modules/product-images.js, scripts/modules/scroll-nav.js, scripts/modules/search-autocomplete.js, scripts/modules/soft-cart.js, scripts/modules/theme-utility-bar.js, scripts/modules/url-dispatcher.js, scripts/modules/views-collections-legacy.js, scripts/modules/views-collections.js, scripts/modules/views-messages.js, scripts/modules/views-paging.js, scripts/modules/views-productimages.js, scripts/modules/views-productlists.js, scripts/pages, scripts/pages/cart.js, scripts/pages/category.js, scripts/pages/checkout.js, scripts/pages/error.js, scripts/pages/location.js, scripts/pages/myaccount.js, scripts/pages/product.js, scripts/pages/search.js, scripts/vendor, scripts/vendor/backbone, scripts/vendor/backbone/backbone.js, scripts/vendor/bootstrap, scripts/vendor/bootstrap/js, scripts/vendor/bootstrap/js/affix.js, scripts/vendor/bootstrap/js/popover.js, scripts/vendor/bootstrap/js/scrollspy.js, scripts/vendor/bootstrap/js/tooltip.js, scripts/vendor/datetimepicker, scripts/vendor/datetimepicker/jquery-simple-datetimepicker.js, scripts/vendor/datetimepicker/jquery.datetimepicker.css, scripts/vendor/datetimepicker/jquery.datetimepicker.js, scripts/vendor/fitvids.js, scripts/vendor/jquery, scripts/vendor/jquery-colorbox, scripts/vendor/jquery-colorbox/jquery.colorbox.js, scripts/vendor/jquery-placeholder, scripts/vendor/jquery-placeholder/jquery.placeholder.js, scripts/vendor/jquery-scrollto.js, scripts/vendor/jquery.cookie, scripts/vendor/jquery.cookie/jquery.cookie.js, scripts/vendor/jquery.tools.dateinput.js, scripts/vendor/jquery/jquery.js, scripts/vendor/modernizr.min.js, scripts/vendor/slick.js, scripts/vendor/typeahead-js, scripts/vendor/typeahead-js/typeahead.bundle.js, scripts/vendor/typeahead.js, scripts/vendor/typeahead.js/dist, scripts/vendor/typeahead.js/dist/typeahead.bundle.js, scripts/vendor/underscore, scripts/vendor/underscore/underscore.js, scripts/widgets, scripts/widgets/deal-of-the-day.js, scripts/widgets/image.js, scripts/widgets/instock-request.js, scripts/widgets/related-products.js, scripts/widgets/slideshow-bob.js, scripts/widgets/video.js, stylesheets/back-office.less, stylesheets/base, stylesheets/base/colors.less, stylesheets/base/global.less, stylesheets/base/mixins.less, stylesheets/base/normalize.less, stylesheets/base/variables.less, stylesheets/debug.less, stylesheets/email, stylesheets/email.less, stylesheets/email/alignment.less, stylesheets/email/block-grid.less, stylesheets/email/buttons.less, stylesheets/email/media-android.less, stylesheets/email/media-mobile.less, stylesheets/email/media-retina.less, stylesheets/email/media-tablets.less, stylesheets/email/panels.less, stylesheets/email/responsive-grid.less, stylesheets/email/social-media.less, stylesheets/email/tables.less, stylesheets/email/typography.less, stylesheets/layouts, stylesheets/layouts/l-2column.less, stylesheets/layouts/l-carousel.less, stylesheets/layouts/l-container.less, stylesheets/layouts/l-formfieldgroup.less, stylesheets/layouts/l-pagecontent.less, stylesheets/layouts/l-pagewrapper.less, stylesheets/layouts/l-paginatedlist.less, stylesheets/layouts/l-sidebar.less, stylesheets/layouts/l-slidebox.less, stylesheets/layouts/l-stack.less, stylesheets/layouts/l-tiles.less, stylesheets/modules, stylesheets/modules/breadcrumbs.less, stylesheets/modules/cart, stylesheets/modules/cart/cart-table.less, stylesheets/modules/checkout, stylesheets/modules/checkout/checkout-digital-credit.less, stylesheets/modules/checkout/checkout-payment.less, stylesheets/modules/checkout/checkout-store-credit.less, stylesheets/modules/common, stylesheets/modules/common/address-form.less, stylesheets/modules/common/address-summary.less, stylesheets/modules/common/bootstrap-popover.less, stylesheets/modules/common/button.less, stylesheets/modules/common/contact-selector.less, stylesheets/modules/common/datepicker.less, stylesheets/modules/common/datetimepicker.less, stylesheets/modules/common/form-step.less, stylesheets/modules/common/icon.less, stylesheets/modules/common/item-listing.less, stylesheets/modules/common/login-popover.less, stylesheets/modules/common/message-bar.less, stylesheets/modules/common/order-list.less, stylesheets/modules/common/order-listing.less, stylesheets/modules/common/order-summary.less, stylesheets/modules/common/page-numbers.less, stylesheets/modules/common/page-sort.less, stylesheets/modules/common/page-title.less, stylesheets/modules/common/paging-controls.less, stylesheets/modules/common/payment-method.less, stylesheets/modules/common/placeholder-polyfill.less, stylesheets/modules/common/price.less, stylesheets/modules/common/property-list.less, stylesheets/modules/common/scroll-nav.less, stylesheets/modules/common/signup-popover.less, stylesheets/modules/common/table.less, stylesheets/modules/common/validation-message.less, stylesheets/modules/error-detail.less, stylesheets/modules/faceting-form.less, stylesheets/modules/location, stylesheets/modules/location/location-list.less, stylesheets/modules/my-account, stylesheets/modules/my-account/account-addressbook.less, stylesheets/modules/my-account/account-paymentmethods.less, stylesheets/modules/my-account/account-settings.less, stylesheets/modules/my-account/account-storecredit.less, stylesheets/modules/my-account/return-form.less, stylesheets/modules/my-account/rma-item.less, stylesheets/modules/page-footer.less, stylesheets/modules/page-header, stylesheets/modules/page-header.less, stylesheets/modules/page-header/cart-monitor.less, stylesheets/modules/page-header/search-box.less, stylesheets/modules/page-header/store-branding.less, stylesheets/modules/page-header/utility-nav.less, stylesheets/modules/product, stylesheets/modules/product/price-stack.less, stylesheets/modules/product/product-detail.less, stylesheets/modules/product/product-images.less, stylesheets/modules/product/product-list.less, stylesheets/modules/product/product-listing.less, stylesheets/modules/product/product-options.less, stylesheets/modules/site-nav.less, stylesheets/modules/soft-cart.less, stylesheets/modules/theme-utility-bar, stylesheets/modules/theme-utility-bar/header.less, stylesheets/modules/theme-utility-bar/variables.less, stylesheets/overrides.less, stylesheets/pages, stylesheets/pages/category.less, stylesheets/pages/checkout.less, stylesheets/pages/confirmation.less, stylesheets/pages/location.less, stylesheets/pages/login.less, stylesheets/pages/myaccount.less, stylesheets/pages/product.less, stylesheets/state, stylesheets/state/fades-in.less, stylesheets/state/is-crossedout.less, stylesheets/state/is-disabled.less, stylesheets/state/is-loading.less, stylesheets/state/is-required.less, stylesheets/state/is-saleprice.less, stylesheets/state/notices.less, stylesheets/storefront.less, stylesheets/widgets, stylesheets/widgets.less, stylesheets/widgets/category-navigation.less, stylesheets/widgets/employee-card.less, stylesheets/widgets/heading.less, stylesheets/widgets/image.less, stylesheets/widgets/instock-request.less, stylesheets/widgets/slideshow-bob.less, stylesheets/widgets/video.less, templates/back-office, templates/back-office/base.hypr, templates/back-office/order-details.hypr, templates/back-office/packing-slip.hypr, templates/debug, templates/debug/debug-widgets.hypr, templates/debug/models.hypr, templates/email, templates/email/email.hypr, templates/email/giftcard-created.hypr, templates/email/modules, templates/email/modules/debug-emails.hypr, templates/email/modules/email-address-summary.hypr, templates/email/modules/email-hr1.hypr, templates/email/modules/email-hr3.hypr, templates/email/modules/email-item-discount.hypr, templates/email/modules/email-item-price.hypr, templates/email/modules/email-item-total.hypr, templates/email/modules/email-order-summar.hypr, templates/email/new-user.hypr, templates/email/order-confirmation.hypr, templates/email/order-refund-issued.hypr, templates/email/order-shipped.hypr, templates/email/password-reset.hypr, templates/email/product-instock.hypr, templates/email/product-return-authorized.hypr, templates/email/product-return-changed.hypr, templates/email/product-return-closed.hypr, templates/email/product-return-received.hypr, templates/email/product-return-rejected.hypr, templates/modules, templates/modules/analytics, templates/modules/analytics/google-analytics-ecommerce-tracking-code.hypr, templates/modules/analytics/google-analytics-tracking-code.hypr, templates/modules/breadcrumbs.hypr, templates/modules/cart, templates/modules/cart/cart-table.hypr.live, templates/modules/checkout, templates/modules/checkout/billing-address-form.hypr.live, templates/modules/checkout/billing-address-selector.hypr.live, templates/modules/checkout/billing-credit-card-form.hypr.live, templates/modules/checkout/checking-account-form.hypr.live, templates/modules/checkout/checkout-digital-credit.hypr.live, templates/modules/checkout/checkout-digital-fulfillment.hypr.live, templates/modules/checkout/checkout-order-summary.hypr.live, templates/modules/checkout/checkout-payment.hypr.live, templates/modules/checkout/checkout-shipping-contact-selector.hypr.live, templates/modules/checkout/checkout-store-credit.hypr.live, templates/modules/checkout/comments-field.hypr.live, templates/modules/checkout/coupon-code-field.hypr.live, templates/modules/checkout/payment-selector.hypr.live, templates/modules/checkout/step-payment-info.hypr.live, templates/modules/checkout/step-review.hypr.live, templates/modules/checkout/step-shipping-address.hypr.live, templates/modules/checkout/step-shipping-method.hypr.live, templates/modules/common, templates/modules/common/address-form.hypr.live, templates/modules/common/address-summary.hypr.live, templates/modules/common/anti-clickjacking-script.hypr, templates/modules/common/contact-selector.hypr.live, templates/modules/common/coupon-code-field.hypr.live, templates/modules/common/credit-card-form.hypr.live, templates/modules/common/email-address-summary.hypr.live, templates/modules/common/email-item-price.hypr.live, templates/modules/common/email-item-total.hypr.live, templates/modules/common/email-order-summary.hypr.live, templates/modules/common/item-listing.hypr.live, templates/modules/common/item-price.hypr.live, templates/modules/common/item-return-form.hypr.live, templates/modules/common/item-total.hypr.live, templates/modules/common/login-popover.hypr.live, templates/modules/common/message-bar.hypr.live, templates/modules/common/order-list.hypr.live, templates/modules/common/order-listing.hypr.live, templates/modules/common/order-summary.hypr.live, templates/modules/common/page-numbers.hypr.live, templates/modules/common/page-sort.hypr.live, templates/modules/common/paging-controls.hypr.live, templates/modules/common/payment-method.hypr.live, templates/modules/common/price.hypr.live, templates/modules/common/signup-popover.hypr.live, templates/modules/content, templates/modules/content/document-list.hypr, templates/modules/json-required-for-hyprlive.hypr, templates/modules/location, templates/modules/location/location-list-for-product.hypr.live, templates/modules/location/location-list.hypr.live, templates/modules/location/location-listing-for-product.hypr.live, templates/modules/location/location-listing.hypr.live, templates/modules/location/location-product-listing.hypr.live, templates/modules/location/location-search.hypr.live, templates/modules/location/location.hypr.live, templates/modules/location/locations.hypr.live, templates/modules/location/store-info.hypr.live, templates/modules/my-account, templates/modules/my-account/my-account-address-form.hypr.live, templates/modules/my-account/my-account-addressbook.hypr.live, templates/modules/my-account/my-account-attributes.hypr.live, templates/modules/my-account/my-account-contact-selector.hypr.live, templates/modules/my-account/my-account-credit-card-form.hypr.live, templates/modules/my-account/my-account-nav.hypr, templates/modules/my-account/my-account-orderhistory.hypr, templates/modules/my-account/my-account-password.hypr.live, templates/modules/my-account/my-account-paymentmethod.hypr.live, templates/modules/my-account/my-account-paymentmethods.hypr.live, templates/modules/my-account/my-account-returnhistory.hypr, templates/modules/my-account/my-account-settings.hypr.live, templates/modules/my-account/my-account-storecredit.hypr.live, templates/modules/my-account/my-account-wishlist-item-listing.hypr.live, templates/modules/my-account/my-account-wishlist.hypr.live, templates/modules/my-account/order-history-item-listing.hypr.live, templates/modules/my-account/order-history-list.hypr.live, templates/modules/my-account/order-history-order-listing.hypr.live, templates/modules/my-account/order-history-paging-controls.hypr.live, templates/modules/my-account/return-history-item-listing.hypr.live, templates/modules/my-account/return-history-list.hypr.live, templates/modules/my-account/return-history-return-listing.hypr.live, templates/modules/page-footer.hypr, templates/modules/page-header, templates/modules/page-header.hypr, templates/modules/page-header/search-box.hypr, templates/modules/page-header/store-branding.hypr, templates/modules/page-header/utility-nav.hypr, templates/modules/product, templates/modules/product/faceted-products.hypr, templates/modules/product/faceting-form.hypr.live, templates/modules/product/hierarchy-facets.hypr.live, templates/modules/product/price-stack.hypr.live, templates/modules/product/product-detail.hypr.live, templates/modules/product/product-images.hypr.live, templates/modules/product/product-instock-request.hypr.live, templates/modules/product/product-list-carousel.hypr.live, templates/modules/product/product-list-tiled.hypr.live, templates/modules/product/product-list.hypr.live, templates/modules/product/product-listing.hypr.live, templates/modules/product/product-options.hypr.live, templates/modules/search, templates/modules/search/autocomplete-listing-product.hypr.live, templates/modules/search/autocomplete-page-result.hypr.live, templates/modules/site-nav.hypr, templates/modules/soft-cart, templates/modules/soft-cart/soft-cart-container.hypr, templates/modules/soft-cart/soft-cart.hypr.live, templates/modules/trailing-scripts.hypr, templates/modules/utility-bar, templates/modules/utility-bar/header.hypr, templates/modules/web-fonts-loader.hypr, templates/page.hypr, templates/pages, templates/pages/404.hypr, templates/pages/about-us.hypr, templates/pages/blank-page.hypr, templates/pages/cart.hypr, templates/pages/category-interior.hypr, templates/pages/category.hypr, templates/pages/checkout.hypr, templates/pages/company-info.hypr, templates/pages/confirmation.hypr, templates/pages/document-list.hypr, templates/pages/error.hypr, templates/pages/forgot-password.hypr, templates/pages/home.hypr, templates/pages/location.hypr, templates/pages/login.hypr, templates/pages/my-account.hypr, templates/pages/my-anonymous-account.hypr, templates/pages/no-search-results.hypr, templates/pages/parent-category.hypr, templates/pages/product-location.hypr, templates/pages/product.hypr, templates/pages/reset-password.hypr, templates/pages/search-interior.hypr, templates/pages/search-results.hypr, templates/pages/signup.hypr, templates/pages/testing-dates.hypr, templates/pages/testing-documents.hypr, templates/testing, templates/testing/documents.hypr, templates/widgets, templates/widgets/bcm, templates/widgets/bcm/slideshow-bob.hypr, templates/widgets/bcm/slideshow-mel.hypr, templates/widgets/blog, templates/widgets/catalog, templates/widgets/catalog/deal-of-the-day.hypr, templates/widgets/catalog/featuredproducts.hypr, templates/widgets/catalog/related-products.hypr, templates/widgets/cms, templates/widgets/cms/code.hypr, templates/widgets/cms/company-contact.hypr, templates/widgets/cms/employee-card.hypr, templates/widgets/cms/heading.hypr, templates/widgets/cms/horizontalrule.hypr, templates/widgets/cms/image.hypr, templates/widgets/cms/text-editor.hypr, templates/widgets/cms/video.hypr, templates/widgets/location, templates/widgets/misc, templates/widgets/misc/category-navigation.hypr, templates/widgets/misc/instock-request.hypr, templates/widgets/social, templates/widgets/social/addthis.hypr, theme.json, thumb.png, theme-ui.json
Options: action="upload", applicationKey="THEME_APPKEY_HERE", context={"baseUrl":"https://home.mozu.com","developerAccountId":DEVACCOUNT_ID,"developerAccount":{"emailAddress":"DEVACCOUNT_EMAIL"},"workingApplicationKey":"THEME_APPKEY_HERE"}, noclobber

Uploading progress:

file                                              size      type                
--------------------------------------------------------------------------------

# // Right about here is where the process stops and the prompt should show up, but
# // it doesn't, so we end up having to terminate the process.

Execution Time (2016-02-19 06:06:29 UTC)
loading tasks       1.7s  ██ 3%
mozusync:upload  1m 5.3s  ████████████████████████████████████████████ 97%
Total 1m 7s

Terminate batch job (Y/N)? 

This is from the clortho test suite:

> clortho@1.2.2 test D:\github\clortho
> npm run lint && npm run babel && npm run tape

> clortho@1.2.2 lint D:\github\clortho
> semistandard **/*.js

> clortho@1.2.2 babel D:\github\clortho
> babel src -d lib

src\cli-credential-prompt.js -> lib\cli-credential-prompt.js
src\error-manager.js -> lib\error-manager.js
src\in-memory-keychain-manager.js -> lib\in-memory-keychain-manager.js
src\index.js -> lib\index.js
src\keychain-access.js -> lib\keychain-access.js
src\os-features.js -> lib\os-features.js
src\osascript-credential-dialog.js -> lib\osascript-credential-dialog.js
src\osx-keychain-manager.js -> lib\osx-keychain-manager.js
src\powershell-credential-dialog.js -> lib\powershell-credential-dialog.js
src\powershell-keychain-manager.js -> lib\powershell-keychain-manager.js
src\run-powershell.js -> lib\run-powershell.js

> clortho@1.2.2 tape D:\github\clortho
> tape ./test/**/*.js

TAP version 13
# no options
ok 1 error code correct
ok 2 invalid opts message sent: Error: clortho: INVALID_OPTS: No configuration object supplied.
# no service
ok 3 error code correct
ok 4 invalid opts message sent: Error: clortho: INVALID_OPTS: No service name supplied. Please supply a service name for this credential. It can be arbitrary.
# try create forService with no or bad service
ok 5 errors on no service
ok 6 errors on empty service name
ok 7 errors on non-string service
# forService returns an object with methods
ok 8 getFromKeychain exists
ok 9 prompt exists
ok 10 saveToKeychain exists
ok 11 trySaveToKeychain exists
# service object getFromKeychain

# // Process stops working, so we have to terminate the process.

Terminate batch job (Y/N)? Terminate batch job (Y/N)? Terminate batch job (Y/N)? 
bmcminn commented 8 years ago

The workaround we figured out was to set the password value in the mozu.config.json config, however that's not a good fix long term.

zetlen commented 8 years ago

Thanks, @bmcminn. You're right, that's not a good fix; that's exactly what clortho is supposed to prevent. I'll test this on Windows as soon as I get a VM going. Just to be clear...did the clortho unit tests fail on Windows?

bmcminn commented 8 years ago

The unit tests never "Failed", Clortho would fire a prompt, expecting input and eventually a submission. However, the Power Shell password prompt never pops up and so the process just sits there expecting something to happen.

zetlen commented 8 years ago

Hi @bmcminn, thanks for your patience. On this new machine, I didn't have a Windows VM until today. Unfortunately I can't reproduce the issue there. A Powershell prompt comes up fine. So I'm afraid I have to ask you for more information!

Also, you can force a regular old command prompt with clortho, documented here. The grunt-mozu-appdev-sync plugin doesn't expose this option, so I just sent a PR to that repo to do so, as you can see above. Hope that helps!

bmcminn commented 8 years ago
zetlen commented 8 years ago

Yep, that all looks fine. Well, I have no doubt this is happening, and it sounds like it's happening to quite a few folks, but I can't produce a stable repro for myself, so I can't work on it. For the time being I believe the best approach is to switch to CLI auth, so if you watch the grunt-mozu-appdev-sync repository, you should see when it releases a new version.

If you figure out what it is, I would welcome a PR or a suggestion!

Thanks!

zetlen commented 8 years ago

Hey @bmcminn, the pull request to grunt-mozu-appdev-sync was merged, so now it has this option. Until we can get a reliable repro environment for this issue, I think setting the noAuthDialog option in your Gruntfile is the best bet. If people have trouble with Powershell dialogs in the future, they can fix it in their Gruntfile with a one-line change.

zetlen commented 8 years ago

(Leaving this issue open)