Sublime Forum

SublimeGDB Error : ValueError: dictionary update sequence element #0 has length 1; 2 is required

#1

I set up SublimeGDB plug-in in Sublime Text 3 in Linux Mint 18.1. I hopefully set up the system properly with the correct settings. But when I launch SublimeGDB, I get the following error call stack :

Will write debug info to file: stdout
Running: gdb --interpreter=mi /home/aditya-hp/.config/sublime-text-3/Packages/User/sublime
In directory: /home/aditya-hp/.config/sublime-text-3/Packages/User/.

Traceback (most recent call last):
File “/opt/sublime_text/sublime_plugin.py”, line 797, in run_ return self.run()
File “/home/aditya-hp/.config/sublime-text-3/Packages/SublimeGDB/sublimegdb.py”, line 1596, in run
self.launch()
File “/home/aditya-hp/.config/sublime-text-3/Packages/SublimeGDB/sublimegdb.py”, line 1659, in launch
env_copy.update(gdb_env)
ValueError: dictionary update sequence element #0 has length 1; 2 is required

Please suggest a way to override/correct the error.

0 Likes

#2

have you set env in your SublimeGDB preferences?
probably you set it to something unexpected


https://stackoverflow.com/questions/44244958/sublimegdb-error-valueerror-dictionary-update-sequence-element-0-has-length

0 Likes

#3

Yes that was the error. Thanks

0 Likes