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

Create new trigger error #28

Closed
vasetskiy opened this issue Apr 23, 2014 · 14 comments
Closed

Create new trigger error #28

vasetskiy opened this issue Apr 23, 2014 · 14 comments

Comments

@vasetskiy
Copy link

Hello,
On attempt to create new trigger console shows the following error and nothing happens.
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 526, in run_
return self.run()
File "main in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 704, in run
File "main in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 705, in
KeyError: 'triggerable'

Could you please advise, what's wrong? Is that bug or just some local problem with my config?

Thank you

@xjsender
Copy link
Owner

@vasetskiy , is it the first time you use the plugin? Are you using the defaut test org? Did you create the project? Did you restart sublime after installed the plugin?

@vasetskiy
Copy link
Author

Hello Hao,
No, I'm not a chinese =) I'm russian.
I'm using your plugin in about four month + my own sandboxed as orgs.
Project are created also. Two projects for dev and uat sandboxes.
And yes, of course i've restarted sublime after plugin installation.
So, I've been using it several month and once, about a moth ago it started
to show me that error on attempt to create a trigger.

Thank you,
Roman

2014-04-23 12:19 GMT-04:00 Hao Liu notifications@github.com:

@vasetskiy https://github.com/vasetskiy , is it the first time you use
the plugin? Are you using the defaut test org? Did you create the project?
Did you restart sublime after installed the plugin?

Are you chinese?


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-41181792
.

@xjsender
Copy link
Owner

@vasetskiy , this issue is difficult to track, I need to add a statement to track which sobjects to cause this problem.

        # Just for tracking issue # 28
        for name in sobjects_describe:
            if "triggerable" not in sobjects_describe[name]:
                print ('Not triggerable sobject: ' + name)

Can you download the plugin from dropbox link and paste it to your installed package path, and then replicate the issue.

I need the console log

Thanks for your help

Hao

@xjsender
Copy link
Owner

@vasetskiy , just saw english is not your native language from your post, so I ask you if you are chinese, don't mention it.

@vasetskiy
Copy link
Author

Hello Hao,
I did so.


Not triggerable sobject: LiveChatButtonSkill
Not triggerable sobject: Client_Email__Tag
Not triggerable sobject: iAnswers__Tag
Not triggerable sobject: Corporate_Shareholder__c
Not triggerable sobject: Merchants__Tag
Not triggerable sobject: Opportunity
Not triggerable sobject: DBDriver__c
Not triggerable sobject: Profile_IP_Change__c
Not triggerable sobject: Task
Not triggerable sobject: Contact
Not triggerable sobject: AccountTeamMember
Not triggerable sobject: Client_Email__c
Not triggerable sobject: OpportunityTag
Not triggerable sobject: Form__Share
Not triggerable sobject: PartnerNetworkRecordConnection
Not triggerable sobject: Workflow_Edits__c
Not triggerable sobject: LiveChatButtonDeployment
Not triggerable sobject: Compliance_Internal_Marketing__c
Not triggerable sobject: Training_Form__c
Not triggerable sobject: FXCM_Pro_Lead__Tag
Not triggerable sobject: DocumentTag
Not triggerable sobject: Training_Form__Tag
Not triggerable sobject: Trading_Volume__Tag
Not triggerable sobject: SFDC_Script_Result__c
Not triggerable sobject: OpportunityContactRole
Not triggerable sobject: Registration_and_Status__c
Not triggerable sobject: Competitors__Tag
Not triggerable sobject: BWReplicator__c
Not triggerable sobject: BRNSHRK__BrainsharkSettings__Tag
Not triggerable sobject: LeadTag
Not triggerable sobject: PayPal_Emails__c
Not triggerable sobject: Lead
Not triggerable sobject: LiveChatTranscriptEvent
Not triggerable sobject: ScontrolLocalization
Not triggerable sobject: Scontrol
Not triggerable sobject: Programming_Service_Opportunity__Tag
Not triggerable sobject: SFDC_Script_Header__c
Not triggerable sobject: LP__Setting__Tag
Not triggerable sobject: CaseTeamTemplateMember
Not triggerable sobject: Programming_Services__c
Not triggerable sobject: Project_Update__Tag
Not triggerable sobject: LiveChatButton
Not triggerable sobject: LP__Setting__Share
Not triggerable sobject: Analytic_Snapshot__Tag
Not triggerable sobject: Compliance_RB_Page__c
Not triggerable sobject: AttachementFolder__c
Not triggerable sobject: FXO_Permissions__Tag
Not triggerable sobject: FXCM_Pro_Lead__Share
Not triggerable sobject: Key_Individuals__Tag
Not triggerable sobject: ELQA_Marketing_Activity__c
Not triggerable sobject: UserAccountTeamMember
Not triggerable sobject: Seminars__Tag
Not triggerable sobject: Scheduled_Email__c
Not triggerable sobject: BWReplicator__Tag
Not triggerable sobject: Adjustment__c
Not triggerable sobject: BRNSHRK__BrainsharkPresentation__Tag
Not triggerable sobject: QuickText
Not triggerable sobject: QuestionDataCategorySelection
Not triggerable sobject: Inbound_Email__Tag
Not triggerable sobject: Case
Not triggerable sobject: Programming_Services__Tag
Not triggerable sobject: DuplicateAccountEmail__Tag
Not triggerable sobject: OpportunityShare
Not triggerable sobject: General_Operations_Account_QC__Tag
Not triggerable sobject: Trigger_Manager__Tag
Not triggerable sobject: Skill
Not triggerable sobject: BWDREEncrypt__Tag
Not triggerable sobject: Product2
Not triggerable sobject: CaseComment
Not triggerable sobject: DashboardTag
Not triggerable sobject: IB__c
Not triggerable sobject: InboundEmailRecordTypes__c
Not triggerable sobject: DataReplication__c
Not triggerable sobject: AccountContactRole
Not triggerable sobject: Question
Not triggerable sobject: Reply
Not triggerable sobject: Employee__Tag
Not triggerable sobject: CaseTeamRole
Not triggerable sobject: Analytic_Snapshot__c
Not triggerable sobject: LiveChatVisitor
Not triggerable sobject: BWDREEncrypt__c
Not triggerable sobject: Account
Not triggerable sobject: ContractTag
Not triggerable sobject: Workflow_Edits__Tag
Not triggerable sobject: Project_Update__c
Not triggerable sobject: CaseContactRole
Not triggerable sobject: GroupMember
Not triggerable sobject: Adjustment__Tag
Not triggerable sobject: SFDC_Script_Result__Tag
Not triggerable sobject: Investigations_Client_Assessment__c
Not triggerable sobject: LP__Chat_transcript__Tag
Not triggerable sobject: LiveChatTranscript
Not triggerable sobject: ReportTag
Not triggerable sobject: Ops_Exception__c
Not triggerable sobject: Vote
Not triggerable sobject: Scheduled_Email__Tag
Not triggerable sobject: Reversal__Share
Not triggerable sobject: IB__Tag
Not triggerable sobject: AssetTag
Not triggerable sobject: Wire_Release_Workflow__c
Not triggerable sobject: OfacEmailList__c
Not triggerable sobject: Registration_and_Status__Tag
Not triggerable sobject: New_Accounts_QC_Report__c
Not triggerable sobject: LP__Mapping__c
Not triggerable sobject: Programming_Service_Opportunity__c
Not triggerable sobject: IDEA__Tag
Not triggerable sobject: CampaignShare
Not triggerable sobject: OpportunityCompetitor
Not triggerable sobject: BW_Application_Record_Result__Tag
Not triggerable sobject: SupervisorAgentConfigSkill
Not triggerable sobject: BRNSHRK__BrainsharkInteractionResponse__c
Not triggerable sobject: AttachementFolder__Tag
Not triggerable sobject: BRNSHRK__BrainsharkInteractionResponse__Tag
Not triggerable sobject: LiveChatTranscriptSkill
Not triggerable sobject: Ops_Attendance__Tag
Not triggerable sobject: Compliance_RB_Page__Share
Not triggerable sobject: LiveChatUserConfig
Not triggerable sobject: General_Operations_Account_QC__c
Not triggerable sobject: Product_Development__c
Not triggerable sobject: Internal_RB_Exception__Tag
Not triggerable sobject: SFDC_FollowOnQuestion__Tag
Not triggerable sobject: shc__Weighting__Tag
Not triggerable sobject: StaticResource
Not triggerable sobject: InboundEmailRecordTypes__Tag
Not triggerable sobject: QuickTextShare
Not triggerable sobject: Boston_Technologies_Client__c
Not triggerable sobject: User
Not triggerable sobject: LiveAgentSessionShare
Not triggerable sobject: DataReplication__Tag
Not triggerable sobject: BRNSHRK__BrainsharkActivity__Tag
Not triggerable sobject: SFDC_Script_Header__Tag
Not triggerable sobject: MT4_Bridge__Tag
Not triggerable sobject: PayPal_Emails__Tag
Not triggerable sobject: FXO_Admin__c
Not triggerable sobject: ContractContactRole
Not triggerable sobject: PD_Project_Monitor__c
Not triggerable sobject: shc__SHCScore__c
Not triggerable sobject: LP__Chat_transcript__c
Not triggerable sobject: Seminars__c
Not triggerable sobject: RecordType
Not triggerable sobject: TaskTag
Not triggerable sobject: FXO_Admin__Tag
Not triggerable sobject: Compliance_RB_Page__Tag
Not triggerable sobject: DuplicateAccountEmail__c
Not triggerable sobject: Email_Sender__c
Not triggerable sobject: Account_Transactions__Tag
Not triggerable sobject: Compliance_RB__c
Not triggerable sobject: Reversal__Tag
Not triggerable sobject: FXO_Permissions__c
Not triggerable sobject: MRN__Tag
Not triggerable sobject: MRN__c
Not triggerable sobject: Introducing_Broker__Tag
Not triggerable sobject: CaseShare
Not triggerable sobject: Remote_Access__c
Not triggerable sobject: FXMA_Transfers__Tag
Not triggerable sobject: Ofac_States_tab__Tag
Not triggerable sobject: FXCM_Pro_Lead__c
Not triggerable sobject: BRNSHRK__BrainsharkSettings__c
Not triggerable sobject: SFDC_Script__Tag
Not triggerable sobject: Trading_Accounts__c
Not triggerable sobject: Skills__Tag
Not triggerable sobject: BRNSHRK__BrainsharkPresentation__c
Not triggerable sobject: Profile_IP_Change__Tag
Not triggerable sobject: iAnswers__c
Not triggerable sobject: SFDC_FollowOnQuestion__c
Not triggerable sobject: Group
Not triggerable sobject: SelfServiceUser
Not triggerable sobject: LeadShare
Not triggerable sobject: Compliance_Emails__Tag
Not triggerable sobject: SFDC_Questions__Tag
Not triggerable sobject: shc__Weighting__c
Not triggerable sobject: CampaignTag
Not triggerable sobject: Ofac_City_tab__c
Not triggerable sobject: Country__c
Not triggerable sobject: Pro_Emails__Tag
Not triggerable sobject: SolutionTag
Not triggerable sobject: Compliance_Emails__c
Not triggerable sobject: BW_Application_Record_Result__c
Not triggerable sobject: Ops_Attendance__c
Not triggerable sobject: Contract
Not triggerable sobject: Trigger_Manager__c
Not triggerable sobject: LiveChatUserConfigProfile
Not triggerable sobject: CaseTag
Not triggerable sobject: DelTaskEmail_RevokedUsers__Tag
Not triggerable sobject: SFDC_Questions__c
Not triggerable sobject: LiveChatTranscriptShare
Not triggerable sobject: EventTag
Not triggerable sobject: CampaignMember
Not triggerable sobject: NDA_Tracker__c
Not triggerable sobject: Asset
Not triggerable sobject: Form__c
Not triggerable sobject: BW_Application_Result__c
Not triggerable sobject: Internal_RB_Exception__Share
Not triggerable sobject: DBDriver__Tag

@xjsender
Copy link
Owner

@vasetskiy , can you try to SublimeApex > Cache > Reload Cache in the main menu firstly, and then, click New ApexTrigger.

@vasetskiy
Copy link
Author

@xjsender Yes! Thank you so much! It helped.
But, partially. So, Cache -> Reload Active fixed exception on Trigger creation.
Now I can see the list of the objects to select , but not all of triggerable objects.
For example, Account is absent in that list.

Then I've checked console again and I see bunch of very similar exceptions:

Exception in thread Thread-1322:
Traceback (most recent call last):
File "requests.packages.urllib3.connectionpool in C:\Users\rvasetskiy\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 478, in urlopen
File "requests.packages.urllib3.connectionpool in C:\Users\rvasetskiy\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 285, in _make_request
File "X/http/client.py", line 1049, in request
File "X/http/client.py", line 1087, in _send_request
File "X/http/client.py", line 1045, in endheaders
File "X/http/client.py", line 890, in _send_output
File "X/http/client.py", line 828, in send
File "requests.packages.urllib3.connection in C:\Users\rvasetskiy\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 95, in connect
File "requests.packages.urllib3.util in C:\Users\rvasetskiy\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 634, in ssl_wrap_socket
File "X/ssl.py", line 210, in wrap_socket
File "X/ssl.py", line 310, in init
File "X/ssl.py", line 306, in init
File "X/ssl.py", line 513, in do_handshake
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:547)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "requests.adapters in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 324, in send
File "requests.packages.urllib3.connectionpool in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 502, in urlopen
Salesforce IDE.requests.packages.urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:547)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "X/threading.py", line 639, in _bootstrap_inner
File "X/threading.py", line 596, in run
File "salesforce.api in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 423, in describe_sobject
File "salesforce.api in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 157, in get
File "requests.api in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 55, in get
File "requests.api in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 44, in request
File "requests.sessions in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 383, in request
File "requests.sessions in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 486, in send
File "requests.adapters in C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\Salesforce IDE.sublime-package", line 379, in send
Salesforce IDE.requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:547)

Exceptions occurred on Cache -> Clear Active

@xjsender
Copy link
Owner

@vasetskiy, did you use proxies? you can refer to this link.

@vasetskiy
Copy link
Author

@xjsender No. Direct connection with no proxies.

@xjsender
Copy link
Owner

@vasetskiy, can you try to reload cache again?

@vasetskiy
Copy link
Author

@xjsender Done. Absolutely the same thing.

@xjsender
Copy link
Owner

@vasetskiy , sorry about this issue, I don't know how to replicate this issue and don't know what the problem is.

@vasetskiy
Copy link
Author

@xjsender
It's not a big deal, trigger object can be changed later.
Thank you very much!

@xjsender
Copy link
Owner

@vasetskiy , how is this issue going, did it still happen?

@xjsender xjsender closed this as completed Jun 5, 2014
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

2 participants