partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 400 forks source link

Can't insert parts with parameters with unit (OctoPart) #937

Closed Dragonyme closed 4 years ago

Dragonyme commented 6 years ago

Hi, when I try to insert part with OctoPart and it contains part parameters with units (like capacitance : 100 uF) I've a "Critical error : The server returned a response which we were not able to interpret."

System Information

How to reproduce

Full report :

Critical Error

Details

The server returned a response which we were not able to interpret.

Request

POST https://demo.partkeepr.org/api/parts?_dc=1513966027905

[object Object]

Response Status Code

0

Response

undefined

Server Configuration

doctrine_orm_version: 2.5.4 doctrine_dbal_version: 2.5.2 doctrine_common_version: 2.6.0-DEV php_version: 7.0.19-1 auto_start_session: true maxUploadSize: 2097152 isOctoPartAvailable: true availableImageFormats: JPG,GIF,PNG autoLoginUsername: admin autoLoginPassword: admin motd:

Welcome to the PartKeepr demo site

Notes:

max_users: unlimited authentication_provider: PartKeepr.Auth.HTTPBasicAuthenticationProvider tip_of_the_day_uri: https://partkeepr.org/tips/%s password_change: true patreonStatus: [object Object] defaultGridPresets: []

christianlupus commented 4 years ago

In the meantime this seems to be solved. I tried it on the demo page and it works (except that the Digikey distributor must not be duplicated, but that another issue).