Getting grid related issue after successful installation ride and robotframework

10 views
Skip to first unread message

NAGENDRA KUMAR

unread,
Sep 22, 2021, 6:25:47 AM9/22/21
to robotframework-users
Hi Team,

I previously installed the ride version of 1.7.3.1 ,as grid size was so small i try to change grid editor parameters under preferences  in ride tool but still facing same issue ,so i uninstalled everything and started fresh installation from python till ride 

versions:

numpy==1.21.2
Pillow==8.3.2
Pygments==2.10.0
Pypubsub==4.0.3
pywin32==301
robotframework==3.1.2
robotframework-ride==1.7.4.2
six==1.16.0
wxPython==4.0.7.post2

python version:
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32

i am getting below error in command prompt after opening the ride and also column size is more compare to normal size and After clicking grid editor nothing displaying just small box at the corner

i have attached screenshot related column size and grid editor

please help me on this

C:\Users\nagedm>ride.py
Traceback (most recent call last):
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editor.py", line 125, in OnTreeSelection
    panel = self._container.AddPanel(instance_or_class, self._settings)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editor.py", line 213, in AddPanel 
    panel = panel_class(parent=self.panels_container, settings=settings)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editors.py", line 188, in __init__
    self.Sizer.Add(self._create_grid_config_editor())
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editors.py", line 194, in _create_grid_config_editor
    sizer.Add(self._number_editor(settings, 'col size'))
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editors.py", line 209, in _number_editor
    editor = NumCtrl(self, value=initial_value, integerWidth=3, allowNone=True)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\wx\lib\masked\numctrl.py", line 643, in __init__
    self.SetValue(value)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\wx\lib\masked\numctrl.py", line 1304, in SetValue
    BaseMaskedTextCtrl.SetValue( self, self._toGUI(value) )
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\wx\lib\masked\numctrl.py", line 1700, in _toGUI
    raise ValueError ('value %s exceeds the integer width of the control (%d)' % (s, self._integerWidth))
ValueError: value 1180 exceeds the integer width of the control (3)
Traceback (most recent call last):
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editor.py", line 125, in OnTreeSelection
    panel = self._container.AddPanel(instance_or_class, self._settings)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editor.py", line 213, in AddPanel
    panel = panel_class(parent=self.panels_container, settings=settings)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editors.py", line 188, in __init__
    self.Sizer.Add(self._create_grid_config_editor())
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editors.py", line 194, in _create_grid_config_editor
    sizer.Add(self._number_editor(settings, 'col size'))
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\robotide\preferences\editors.py", line 209, in _number_editor
    editor = NumCtrl(self, value=initial_value, integerWidth=3, allowNone=True)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\wx\lib\masked\numctrl.py", line 643, in __init__
    self.SetValue(value)
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\wx\lib\masked\numctrl.py", line 1304, in SetValue
    BaseMaskedTextCtrl.SetValue( self, self._toGUI(value) )
  File "c:\users\nagedm\appdata\local\programs\python\python37\lib\site-packages\wx\lib\masked\numctrl.py", line 1700, in _toGUI
    raise ValueError ('value %s exceeds the integer width of the control (%d)' % (s, self._integerWidth))
ValueError: value 1180 exceeds the integer width of the control (3)


grideditor.PNG
columnsize.PNG

Hélio Guilherme

unread,
Sep 22, 2021, 7:41:14 AM9/22/21
to robotframework-users
See if the grid size is OK, when it has some content.
See if the Preferences is OK after a restart.

You can try to install the Beta version with pip install -U --pre robotframework-ride

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/d0cf0ef2-af5d-4d88-a58d-ba77a7db237bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages