Skip to content

Magento 2.1.0 - "General system exception happened" on Import .csv #6924

@githeat

Description

@githeat

Preconditions

  1. PHP 7.0.11
  2. MySQL 5.6.30
  3. Magento 2.1.0 CE
  4. Ubuntu 14.04.1 LTS

Steps to reproduce

  1. Login to Magento admin panel
  2. Select "System" -> "Import"
  3. Entity type = "products", Import Behaviour = "Add/Update" - "Stop on error", Allowed errors count = "10", Field Seperator = ",", Multi value seperator ",", Select file to import = myfile, Image files directory = "pub/media/import/"

(Remove quotation marks).

Expected result

  1. .CSV should be validated successfully, with 4065 lines (not including headers). Then the products should be imported successfully after clicking "Import"

Actual result

  1. After uploading .CSV, I see a red "General system exception happened"
    githubissue

My .CSV is encoded (Using Notepad++) in "UTF-8-BOM". I have also tried "UTF-8".

Magento has been updated to 2.1.0.

I have checked:
/var/log/apache2/error.log - No related entries
/var/log/mysql/error.log - No related entries
/var/www/html/magento/var/log/system.log - No related entries
/var/www/html/magento/var/log/debug.log - No related entries

/var/www/html/magento/pub/media/import has 777 permissions to rule out permission issue.
Images inside /var/www/html/magento/pub/media/import have 775 permissions to rule out permissions issue.

In php.ini - upload size is 8mb (.csv is only 4mb).
In php.ini - uploads are enabled

Aside from this, I don't understand the issue. My .CSV is valid because I have been able to import products before, and I can import 1 product at a time. When I try and import 4k+ I get the issue, but it's unfeasable to try and do it by batches of 100.

Thanks for your time

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions