-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to import assets CSV (Via web gui or command line) #2619
Comments
I think the file you are trying to import might be unicode.txt format . Make sure the file which you are importing in saved as CSV file before importing . Even I faced the similar issue . |
The file I'm using is a CSV. I used this site(http://csvlint.io/) to validate my CSV after the import didn't work. Edit: |
You need to rerun |
Reran composer install, rebooted, still getting the same error. |
@TheGreatGene in your composer.json, do you see:
? |
Yes. Line 26 |
In your |
Yes. |
Does a composer dump-autoload do anything for you? |
No still getting the same result. |
Reinstalled on Ubuntu 14.04 instead of 16.04 and import works fine. |
For future reference: It appears it's a php7/16.04 issue. You need to install php-xml (And the install script should depend on it). |
Run sudo apt-get install php7.0-xml |
Error when importing via web gui: Whoops, looks like something went wrong
Error when importing from the command line: [Symfony\Componet\Debug\Exception\FatalThrowableError] Call to undefined function ForceUTF8\utf8_decode()
Please confirm you have done the following before posting your bug report:
Please provide answers to these questions before posting your bug report:
- Version of Snipe-IT you're running: v3.4.0-9-g67315d8
- What OS and web server you're running Snipe-IT on: Ubuntu 16.04.1 LTS
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): install.sh
- If you're getting an error in your browser, include that error:
FatalThrowableError in Encoding.php line 339:
Call to undefined function ForceUTF8\utf8_decode()
Full error attached below
- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error?: CSV Import
importer.txt
laravel.txt
WebGui Import Debug Output.txt
- Any errors that appear in your browser's error console. See attachement
- Confirm whether the error is reproduceable on the demo. Import is not supported via the demo
- Include any additional information you can find in
app/storage/logs
and your webserver's logs. Attached below- Include what you've done so far in the installation, and if you got any error messages along the way. Created asset models, accessories, and custom statues. Imported users via CSV
- Indicate whether or not you've manually edited any data directly in the database I have not
The text was updated successfully, but these errors were encountered: