Path too long error when extracting 2.0-beta1 in windows 7 x64

Unable to extract the 2.0-beta1.zip file - path too long error using windows 7 x64

Comments

bojanz’s picture

Which path?
Does it also happen with the tar.gz file?

deep-silver’s picture

Which path?
Does it also happen with the tar.gz file?

same with zip or tar.gz (winRar, 7zip do not show error but can't delete files)
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\migrate_extras\migrate_extras_examples\migrate_extras_pathauto\migrate_extras_pathauto.features.field.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\product\includes\views\handlers\commerce_product_handler_field_product_link_delete.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\product\includes\views\handlers\commerce_product_handler_field_product_operations.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\payment\includes\views\handlers\commerce_payment_handler_field_payment_transaction_link_delete.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\payment\includes\views\handlers\commerce_payment_handler_filter_payment_transaction_status.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\payment\includes\views\handlers\commerce_payment_handler_field_payment_transaction_link.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\payment\includes\views\handlers\commerce_payment_handler_field_payment_transaction_operations.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\line_item\includes\views\handlers\commerce_line_item_handler_field_line_item_title.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\line_item\includes\views\handlers\commerce_line_item_handler_argument_line_item_line_item_id.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\line_item\includes\views\handlers\commerce_line_item_handler_filter_line_item_type.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\line_item\includes\views\handlers\commerce_line_item_handler_field_line_item_type.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\line_item\includes\views\handlers\commerce_line_item_handler_area_line_item_summary.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\cart\includes\views\handlers\commerce_cart_plugin_argument_default_current_cart_order_id.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\customer\includes\views\handlers\commerce_customer_handler_field_customer_profile.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\customer\includes\views\handlers\commerce_customer_handler_filter_customer_profile_type.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\customer\includes\views\handlers\commerce_customer_handler_field_customer_profile_type.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\customer\includes\views\handlers\commerce_customer_handler_field_customer_profile_link.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\customer\includes\views\handlers\commerce_customer_handler_field_customer_profile_link_edit.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\customer\includes\views\handlers\commerce_customer_handler_field_customer_profile_link_delete.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\product_reference\includes\views\handlers\commerce_product_reference_handler_filter_node_is_product_display.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\product_reference\includes\views\handlers\commerce_product_reference_handler_filter_node_type.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\product_reference\includes\views\handlers\commerce_product_reference_handler_filter_product_line_item_type.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce\modules\price\includes\views\handlers\commerce_price_handler_filter_commerce_price_amount.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\entityreference\examples\entityreference_behavior_example\plugins\behavior\EntityReferenceFieldBehaviorExample.class.php
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\entityreference\examples\entityreference_behavior_example\plugins\behavior\EntityReferenceInstanceBehaviorExample.class.php
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\connector\modules\connector_action_default_register_form\connector_action_default_register_form.module
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce_discount\modules\commerce_discount_date\includes\views\commerce_discount_date.views_default.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce_discount\modules\commerce_discount_usage\includes\views\handlers\commerce_discount_usage_handler_field_commerce_discount_usage.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\contrib\commerce_discount\modules\commerce_discount_usage\includes\views\commerce_discount_usage.views_default.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_lite_product_ui\theme\views-view--collection-taxonomy-term--page-1.tpl.php
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_lite_product_ui\commerce_kickstart_lite_product_ui.facetapi_defaults.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_backoffice\includes\views\handlers\views_handler_filter_term_node_tid_multiple_vocabularies.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_backoffice\includes\views\handlers\commerce_backoffice_order_handler_area_add_message.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_backoffice\includes\views\handlers\commerce_backoffice_product_handler_field_node_operations.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_backoffice\includes\views\handlers\commerce_backoffice_order_handler_field_order_operations.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_backoffice\includes\views\handlers\commerce_backoffice_product_handler_field_product_quick_edit_form.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_content_ui\includes\views\commerce_kickstart_content_ui.views_default.inc
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_help\commerce_kickstart_inline_help\commerce_kickstart_inline_help.module
Cannot create commerce_kickstart-7.x-2.0-beta2\profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_help\commerce_kickstart_inline_help\help\commerce_kickstart_inline_help.help.ini

bojanz’s picture

Status: Active » Closed (won't fix)

This is a limitation of your operating system, not something I can fix.
See http://superuser.com/questions/216704/how-to-copy-files-that-have-too-lo... or try googling for additional solutions.
Sorry!

jasonabc’s picture

This is a big problem for any Windows users. Even copying the Commerce Kickstart zip to the root of the c:\ drive and extracting from there, it still hits the 260 character limit so the extract fails.

At 17MB the zip is too big to email - so I placed it on my server, sent my web host the link and asked them to extract it onto the server.

bojanz’s picture

Title: Path too long error when extracting 2.0-beta1.zip in windows 7 x64 » [DOCUMENTATION] Path too long error when extracting 2.0-beta1.zip in windows 7 x64
Assigned: Unassigned » joshmiller
Category: bug » task
Priority: Minor » Normal
Status: Closed (won't fix) » Active

We need to document this.

Ignore the spam in #5 and #6.

bojanz’s picture

Title: [DOCUMENTATION] Path too long error when extracting 2.0-beta1.zip in windows 7 x64 » [DOCUMENTATION] Path too long error when extracting Kickstart on Windows 7
er_gaurav_sharma’s picture

Hello there,

It's not a windows 7 limitation. it is because Drupal 7 and Kickstart profile is not properly packaged to gether. For this get commerce_kickstart profile package(nocore) and Full Package (with core). Now extract all the content from Full Package except the 'profiles' folder in it that cause problem. Then create new folder named 'profiles' in the extracted folder. Now extract profile package(no core) into 'profiles' folder you created before. Now the package is completed. In fact i have done this it works perfectly!

If you new to no core and with core package then go to "http://drupal.org/node/1786764".

Regards
Gaurav Sharma

bojanz’s picture

Just discussed this internally with a few Windows users.

The archive extracts properly using 7zip if your drive is NTFS. The extractor in Windows Explorer won't work properly, you need 7zip.
If it is FAT32, you're screwed and nothing will help you (you can convert from FAT32 to NTFS without data loss btw).

joshmiller’s picture

Component: Miscellaneous » Documentation

Adding this to my queue

juliaBrin’s picture

Have you tried using Long Path Tool? I have the same problem as yours and this helped me solve it. Try it.

synth3tk’s picture

Can confirm that 7Zip also works well. WinRar hates the long path for only a few files, but it still stops them from extracting.

soberoy’s picture

Yes. Long path file is one of the annoying problems that Windows OS got be solved. I don't know what could be the correct term for it, but I used to call it as a Malware.

I downloaded Long Path Tool, (longpathtool(dot)com) and helped me out about this kinda problem.

preston3271’s picture

Title: [DOCUMENTATION] Path too long error when extracting Kickstart on Windows 7 » [DOCUMENTATION] Path too long error when extracting Kickstart on Windows 7 (Found Possible Root Cause and Fixed)
Priority: Normal » Minor

Hello, all:

Okay, if you are using Windows 7 or thereof, first do not extract, copy, and rename the uncompressed file, for this is where the ". . .too long. . ." error is coming from. Download the "Commerce Kickstart 2," distribution, next extract (unzip, uncompress, etc) and then you may rename the file. For instances, I am using Acquia Dev Desktop where I am running the Kickstart Demo Store and a new instance of the Kickstart distribution. So, I had to extract the CK distrib twice and rename both folders. One, Demostore, and the other Acme. No error after that point. Just don't try to copy the first extracted folder and rename it. The copy command is making the file names too long.

I hope that helps.

preston3271’s picture

Hello, all:

Okay, if you are using Windows 7 or thereof, first do not extract, copy, and rename the uncompressed file, for this is where the ". . .too long. . ." error is coming from. Download the "Commerce Kickstart 2," distribution, next extract (unzip, uncompress, etc) and then you may rename the file. For instances, I am using Acquia Dev Desktop where I am running the Kickstart Demo Store and a new instance of the Kickstart distribution. So, I had to extract the CK distrib twice and rename both folders. One, Demostore, and the other Acme. No error after that point. Just don't try to copy the first extracted folder and rename it. The copy command is making the file names too long.

I hope that helps.

synth3tk’s picture

What do you mean by "The copy command"? We get the error exactly when we try to extract. Not quite sure what you mean.

rebeccazoly’s picture

Title: [DOCUMENTATION] Path too long error when extracting Kickstart on Windows 7 (Found Possible Root Cause and Fixed) » Long Path Tool

I have download Long Path Tool and it is the best solution of your problem.

preston3271’s picture

Sorry for the delay in responding. I working another project. Anyway, so what I mean is that on Windows 7 where you saved the distribution, and then extracted the folder, do not them right click and copy the folder for the copy will have the same name along with the "copy of . . ." And when you go to rename it, the folder may have some residual characters from the copy. But of the path tool works, then that great. I did notice that once I would extracted from the original zip file from each store the problem stopped.

Cheers!

freefuelforever’s picture

Title: Long Path Tool » fixed, no problem

Hey, folks, for me, there was no problem once I changed the directory name that the zip file gets extracted to.

The first time, I just downloaded the zip, then extracted to the directory suggested: something like C:\Users\Walter\Downloads\commerce_kickstart-7.x-2.8-core\

Well, that is too long. Instead of using the default suggested by the unzip program, change the directory name "commerce_kickstart-7.x-2.8-core" to something shorter, like "kick", and then, for me, the extraction worked fine.

I think that is what Preston is saying above.

joshmiller’s picture

Title: fixed, no problem » Path too long error when extracting Kickstart on Windows 7
Version: 7.x-2.0-beta1 » 7.x-2.x-dev
Component: Documentation » Miscellaneous
Assigned: joshmiller » Unassigned
Category: task » bug
Status: Active » Fixed

Making some changes here. To all software devs that think they are being clever, please stop spamming our issue queue!

Josh

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

drofalexa’s picture

I found this problem before but i have fixed this easily. There are many tool available for long path error. I have used Long path tool and it works great. You can try it. It is easy to fix this error using this tool.

aliceten’s picture

Issue summary: View changes

Alternatively, you can use Long Path Tool, it also works for such problems.

Yuri’s picture

The same issue applies to windows 8 / 8.1

fostersanders’s picture

Hello
Well, I had the same problem.
But then I searched on the internet for a solution and I ran into

L
o
n
g

P
a
t
h

T
o
o
l.

It´s really effective and you can solve your problem in less than 2 minutes

frank1982’s picture

Long Path Tool is the best according to me because it is user friendly and you can do anything with it and I would definitely recommend it to you (5 out of 5 stars)

Corey len’s picture

While extracting files, the deeply nested files can be a pain in the neck. That's because of windows 255 character limit. Use a dedicated software to get your work done and save time. You can try GS Richcopy 360 to solve this problem. I am also using it to solve my problem. Maybe it can help you too. Thank you.

Liam Brown’s picture

Hello everyone! I also encountered such problems but I solved it by installing Long Path Tool. This was recommended by my friends and it worked perfectly fine for me. Just leaving this comment here in case someone faces the same problem as I did.

jincy_k’s picture

#24 worked for me. Instead of using the default suggested by the unzip program, change the directory name "commerce_kickstart-7.x-2.8-core" to something shorter, like "kick", and then, for me, the extraction worked fine. Special credit to Wenhua Jiang for for giving a solution that worked in seconds.