Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request errors when saving classes #116

Closed
eugenevabishchevich opened this issue May 23, 2016 · 13 comments
Closed

Request errors when saving classes #116

eugenevabishchevich opened this issue May 23, 2016 · 13 comments

Comments

@eugenevabishchevich
Copy link

Hey! Could you help me why I got these errors?
http://take.ms/VmqDS

@xjsender
Copy link
Owner

@eugenevabishchevich , it seems your network has problem, can you check whether there has any exception in the console.

@eugenevabishchevich
Copy link
Author

Strange that I have this issue with one org only...

@xjsender
Copy link
Owner

@eugenevabishchevich , any exception in your sublime console?

@eugenevabishchevich
Copy link
Author

Part of console code:
`reloading Packages/User/symbol_table.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/symbol_table.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/symbol_table.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
Exception in thread Thread-109:
Traceback (most recent call last):
File "./threading.py", line 901, in _bootstrap_inner
File "./threading.py", line 858, in run
File "salesforce.api.tooling in /Users/eugene/Library/Application Support/Sublime Text 3/Installed Packages/haoide.sublime-package", line 1024, in save_to_server
File "salesforce.api.tooling in /Users/eugene/Library/Application Support/Sublime Text 3/Installed Packages/haoide.sublime-package", line 1079, in save_to_server
KeyError: 'State'

no command for selector: noop:
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
Exception in thread Thread-117:
Traceback (most recent call last):
File "./threading.py", line 901, in _bootstrap_inner
File "./threading.py", line 858, in run
File "salesforce.api.tooling in /Users/eugene/Library/Application Support/Sublime Text 3/Installed Packages/haoide.sublime-package", line 1073, in save_to_server
KeyError: 'State'

reloading Packages/User/symbol_table.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/symbol_table.sublime-settings
Exception in thread Thread-129:
Traceback (most recent call last):
File "./threading.py", line 901, in _bootstrap_inner
File "./threading.py", line 858, in run
File "salesforce.api.tooling in /Users/eugene/Library/Application Support/Sublime Text 3/Installed Packages/haoide.sublime-package", line 1079, in save_to_server
KeyError: 'State'

reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/component_metadata.sublime-settings
reloading Packages/User/symbol_table.sublime-settings
reloading Packages/User/component_metadata.sublime-settings`

@eugenevabishchevich
Copy link
Author

Any ideas? I can't save any class.

@xjsender
Copy link
Owner

@eugenevabishchevich , what's your api_version setting?

@eugenevabishchevich
Copy link
Author

Where I can check it?

@xjsender
Copy link
Owner

@eugenevabishchevich , you can check it at the most left of your sidebar.

@eugenevabishchevich
Copy link
Author

@xjsender not sure that I understand where is it :(

@eugenevabishchevich
Copy link
Author

@xjsender issue related to api_version. IDE has 36 as default and some sandboxes have 35 Spring.

@xjsender
Copy link
Owner

@eugenevabishchevich , wow, actually, I forgot to change it back to 35 and should't add it to commit as part of new release.

I will change it back to 35.

xjsender added a commit that referenced this issue May 23, 2016
@xjsender xjsender added the fixed label May 23, 2016
@Shababsoft
Copy link

@xjsender I believe spring'16 has API version 36.0 and all sandboxes and production orgs have already migrated to this API version.

@xjsender
Copy link
Owner

@Shababsoft , I think I need to do investigate on the new version, there are many potential problem before update api_version to 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants