Skip to content

Commit

Permalink
Updated README with solution on how to address 'AttributeError'. ((close
Browse files Browse the repository at this point in the history
  • Loading branch information
martomo committed Jan 6, 2018
1 parent 2318973 commit db341c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,14 @@ Some systems do not include specific modules which are required by this package,

Configure the `python_path` setting to the path of your Python installation on your system which is either newer or has all required modules. For example: `"python_path" : "/usr/lib/python2.7"`.

#### How to solve `AttributeError`?
Upon updating Sublime Text, there were reports that packages stopped working, due to the following error:
```
AttributeError: 'module' object has no attribute 'parse'
```
In case you are experiencing this error with SublimeTextXdebug, there is a [solution](https://forum.sublimetext.com/t/module-error-when-running-a-plugin/23611/5) that requires you to uninstall Package Control and reinstall it. Before doing so be sure to first create a backup of your *Packages/User/Package Control.sublime-settings*.
As it might happen that on uninstall Package Control moves all the packages in *Packages/User/Package Control.sublime-settings* to `ignored_packages` in *Packages/User/Preferences.sublime-settings*, resulting none of the packages to work due to being unmanaged and disabled.

#### What to do when you experience any issues?
First check following _possible_ solutions that could resolve any issues:

Expand All @@ -313,7 +321,7 @@ First check following _possible_ solutions that could resolve any issues:

Do you still experience any issues, then [create an issue](https://github.com/martomo/SublimeTextXdebug/issues/new) including the following data:

- What operation system(s) and version of Sublime Text are you using?
- What operating system(s) and version of Sublime Text are you using?
- How did you [install](https://github.com/martomo/SublimeTextXdebug#installation) SublimeTextXdebug, Package Control, git clone or download?
- Are you trying to debug the script remotely or locally, through browser or command line?
- Which version of Xdebug extension do you have?
Expand Down

0 comments on commit db341c7

Please sign in to comment.