question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot resize boxes

See original GitHub issue

Once I’ve drawn a box, I can neither resize it nor make a new box. Do you know why this might be happening?

If it helps, I am getting the following error when the page loads.

Internal Server Error: /get_states/ Traceback (most recent call last): File "/home/anand/workspace/BeaverDam/venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 39, in inner response = get_response(request) File "/home/anand/workspace/BeaverDam/venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response response = self._get_response(request) File "/home/anand/workspace/BeaverDam/venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "/home/anand/workspace/BeaverDam/venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/anand/workspace/BeaverDam/annotator/views.py", line 178, in get_states states = State.objects.filter(label_name=label_name) UnboundLocalError: local variable 'label_name' referenced before assignment [25/Jan/2018 08:54:10] "GET /annotation/2/ HTTP/1.1" 200 0 [25/Jan/2018 08:54:10] "GET /get_states/?label_name= HTTP/1.1" 500 79341

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
antingshencommented, May 1, 2018

Populate the labels & states with data, I’m guessing.

Try going to /admin and adding labels & states there. Even if just a single label with a single state (they can be empty).

0reactions
exoticmoosecommented, May 1, 2018

Yup! Turned out to just be that the data label and states were unpopulated.

Fixed under /admin control panel as antingshen mentioned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resize textboxes in Word for Windows
I cannot resize and sometimes move text boxes in word 2110 (Build 14527.20072) anymore. This issue happened after I installed the update ...
Read more >
Cannot resize existing textboxes - English - Ask LibreOffice
Cannot resize existing textboxes · select the box · Format > Object and Shape > Text Attributes · deselect the box labeled “Resize...
Read more >
Unable to resize text boxes and added form elements with ...
Cause: Under view "snap to grid" was enabled and this setting causes the elements to only be placed on gridlines and this setting...
Read more >
Unable to Resize text boxes - Adobe Support Community
Unable to Resize text boxes · 1. Uninstall Acrobat Reader DC and reinstall it. · 2. Uninstall Acrobat Reader DC, clean-up with Adobe's...
Read more >
Can't resize objets, shapes, callouts, etc - TechSmith Support
I'm on Camtasia 3 and Mac OS X Sierra. When I drag a shape to the canvas or a time line, it gives...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found