Server Error - value too long #910

Closed
opened 2025-12-29 16:26:54 +01:00 by adam · 3 comments
Owner

Originally created by @epodberezkin on GitHub (May 4, 2017).

Issue type:

During IP address import server error occures

<class 'django.db.utils.DataError'>

value too long for type character varying(100)

Data in UTF-8 with RU symbols.

Python version:
Version: 2.7.3-4+deb7u1
NetBox version:
v1.9.5

Originally created by @epodberezkin on GitHub (May 4, 2017). <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> ### Issue type: During IP address import server error occures <class 'django.db.utils.DataError'> value too long for type character varying(100) Data in UTF-8 with RU symbols. <!-- If filing a bug, please indicate the version of Python and NetBox you are running. (This is not necessary for feature requests.) --> **Python version:** Version: 2.7.3-4+deb7u1 **NetBox version:** v1.9.5 <!-- If filing a bug, please record the exact steps taken to reproduce the bug and any errors messages that are generated. If filing a feature request, please precisely describe the data model or workflow you would like to see implemented, and provide a use case. -->
adam closed this issue 2025-12-29 16:26:54 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 4, 2017):

What was the data you tried to enter? Please provide the steps needed to reproduce this error.

@jeremystretch commented on GitHub (May 4, 2017): What was the data you tried to enter? Please provide the steps needed to reproduce this error.
Author
Owner

@epodberezkin commented on GitHub (May 5, 2017):

f.e.
IP Space->Import IPs

10.8.0.48/16,,,Active,,,,Синяев Денис Вячеславович "Оптик-Инжинирин" ЦЗЛ - аппаратная С2000 о-п сигнализация 89518070926

decstiption somehow exceeds "character varying(100)", but there is no warning.

@epodberezkin commented on GitHub (May 5, 2017): f.e. IP Space->Import IPs 10.8.0.48/16,,,Active,,,,Синяев Денис Вячеславович "Оптик-Инжинирин" ЦЗЛ - аппаратная С2000 о-п сигнализация 89518070926 decstiption somehow exceeds "character varying(100)", but there is no warning.
Author
Owner

@jeremystretch commented on GitHub (May 5, 2017):

I'm able to import an IP address with the exact description you provided, no error. Looks like a database issue; check that your database encoding supports Unicode. If you need further help, please post to the mailing list.

@jeremystretch commented on GitHub (May 5, 2017): I'm able to import an IP address with the exact description you provided, no error. Looks like a database issue; check that your database encoding supports Unicode. If you need further help, please post to the [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#910