Skip to content
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

Error: 'Rack' object has no attribute 'u_consumed' #381

Closed
candlerb opened this issue Jul 25, 2016 · 1 comment
Closed

Error: 'Rack' object has no attribute 'u_consumed' #381

candlerb opened this issue Jul 25, 2016 · 1 comment
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@candlerb
Copy link
Contributor

(Netbox 8cb38de running under ubuntu 16.04 with gunicorn and apache2)

Trying to do a bulk import of racks I get the following error:

<type 'exceptions.AttributeError'>

'Rack' object has no attribute 'u_consumed'

image

I can see this field in the model, but not in the migrations. It looks like the model was updated in commit 2e82113 but no new migration has been generated?

Workaround: I have done git checkout v1.3.1 to revert to the last tagged version.

Aside: I note that the installation instructions just tell you to checkout the master branch. Maybe it should suggest checking out the latest tag instead?

@jeremystretch jeremystretch added type: bug A confirmed report of unexpected behavior in the application and removed type: bug A confirmed report of unexpected behavior in the application labels Jul 25, 2016
@jeremystretch
Copy link
Member

Confirmed in v1.3.1

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Jul 25, 2016
if-fi pushed a commit to if-fi/netbox that referenced this issue Oct 1, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants