You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VdebugEval! Can't get values of array at depth > 1 #503
The statement :VdebugEval! $apicsreports a type of "$apics[0] = (array[10])" with no values.
The statement :VdebugEval! $apics[0] gives the error "AttributeError: 'NoneType' object has no attribute 'isdigit'".
if I explicitely request a value :VdebugEval! $apic[0]['description'] the value will be displayed with no errors.
result of Issuing request for info from array with depth = 1:
Vdebug version 2.0.0
Python version 3.9.3
vim version 8.1.2269
Ubuntu version 'focal' prooted distribution for running on Android 10 (unrooted)
xdebug.var_display_max_depth = -1 (1023)
Could a config setting change be required? Maybe with Python?
I am Working with metadata from flac files provided by the getID3 php library. Data could include utf-16 encoded values.
I was wrong about Vorbis comments. According to to xiph.org specs, the encoding must be utf8. So evidently, the FLAC files were either corrupted or improperly encoded.
I confirmed that the FLAC files were the problem by examining an mp3 file with Vdebug while stepping through the code, so I will close this issue.
Vdebug is a great vim plugin. Along with the ALE plugin, I have a very effective IDE with only 3 gb ram on a Samsung tablet.
I get this error when trying to inspect most variables (occasionally it works, haven't figured out the pattern, though!)
- [ERROR] {Fri 13 2021 08:16:26} An error occured: <class 'AttributeError'>
Traceback (most recent call last):
File "/home/rich/.local/share/nvim/plugged/vdebug/python3/vdebug/event.py", line 784, in dispatch_event
Dispatcher.events[name](self.__session_handler).run(*args)
File "/home/rich/.local/share/nvim/plugged/vdebug/python3/vdebug/event.py", line 411, in run
self.ui.windows.watch().accept_renderer(rend)
File "/home/rich/.local/share/nvim/plugged/vdebug/python3/vdebug/ui/vimui.py", line 619, in accept_renderer
self.write(renderer.render())
File "/home/rich/.local/share/nvim/plugged/vdebug/python3/vdebug/ui/vimui.py", line 910, in render
properties = self.response.get_context()
File "/home/rich/.local/share/nvim/plugged/vdebug/python3/vdebug/dbgp.py", line 150, in get_context
self.create_properties(EvalProperty(c, code, self.api.language))
AttributeError: 'NoneType' object has no attribute 'isdigit'
It also blows up if I try to get back to the context window:
:python debugger.get_context()
Error detected while processing function provider#python#Call:
line 18:
Error invoking 'python_execute' on channel 19 (python2-script-host):
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'debugger' is not defined
Activity
wagnered commentedon Apr 11, 2021
I was wrong about Vorbis comments. According to to xiph.org specs, the encoding must be utf8. So evidently, the FLAC files were either corrupted or improperly encoded.
I confirmed that the FLAC files were the problem by examining an mp3 file with Vdebug while stepping through the code, so I will close this issue.
Vdebug is a great vim plugin. Along with the ALE plugin, I have a very effective IDE with only 3 gb ram on a Samsung tablet.
Thanks
wagnered commentedon Apr 12, 2021
I repeated the testwith the mp3 file. On second attempt to reproduce , it also didplayed the same AttributeError.
artfulrobot commentedon Aug 13, 2021
I get this error when trying to inspect most variables (occasionally it works, haven't figured out the pattern, though!)
It also blows up if I try to get back to the context window:
Is this related?
I'm on nvim 0.5.0 and vdebug 2.0.0