Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
bojanz CreditAttribution: bojanz commentedWhich path?
Does it also happen with the tar.gz file?
Comment #2
deep-silver CreditAttribution: deep-silver commentedsame 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
Comment #3
bojanz CreditAttribution: bojanz commentedThis 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!
Comment #4
jasonabc CreditAttribution: jasonabc commentedThis 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.
Comment #7
bojanz CreditAttribution: bojanz commentedWe need to document this.
Ignore the spam in #5 and #6.
Comment #8
bojanz CreditAttribution: bojanz commentedComment #9
er_gaurav_sharma CreditAttribution: er_gaurav_sharma commentedHello 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
Comment #12
bojanz CreditAttribution: bojanz commentedJust 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).
Comment #14
joshmillerAdding this to my queue
Comment #16
juliaBrin CreditAttribution: juliaBrin commentedHave you tried using Long Path Tool? I have the same problem as yours and this helped me solve it. Try it.
Comment #17
synth3tk CreditAttribution: synth3tk commentedCan confirm that 7Zip also works well. WinRar hates the long path for only a few files, but it still stops them from extracting.
Comment #18
soberoy CreditAttribution: soberoy commentedYes. 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.
Comment #19
preston3271 CreditAttribution: preston3271 commentedHello, 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.
Comment #20
preston3271 CreditAttribution: preston3271 commentedHello, 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.
Comment #21
synth3tk CreditAttribution: synth3tk commentedWhat do you mean by "The copy command"? We get the error exactly when we try to extract. Not quite sure what you mean.
Comment #22
rebeccazoly CreditAttribution: rebeccazoly commentedI have download Long Path Tool and it is the best solution of your problem.
Comment #23
preston3271 CreditAttribution: preston3271 commentedSorry 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!
Comment #24
freefuelforever CreditAttribution: freefuelforever commentedHey, 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.
Comment #25
joshmillerMaking some changes here. To all software devs that think they are being clever, please stop spamming our issue queue!
Josh
Comment #27
drofalexa CreditAttribution: drofalexa commentedI 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.
Comment #28
aliceten CreditAttribution: aliceten commentedAlternatively, you can use Long Path Tool, it also works for such problems.
Comment #29
Yuri CreditAttribution: Yuri commentedThe same issue applies to windows 8 / 8.1
Comment #30
fostersanders CreditAttribution: fostersanders commentedHello
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
Comment #31
frank1982 CreditAttribution: frank1982 commentedLong 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)
Comment #32
Corey len CreditAttribution: Corey len commentedWhile 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.
Comment #33
Liam Brown CreditAttribution: Liam Brown commentedHello 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.
Comment #34
jincy_k CreditAttribution: jincy_k commented#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.