Skip to content
New issue

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

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

Already on GitHub? # to your account

Pop error or exception to PDE #85

Merged
merged 7 commits into from
Jul 6, 2017
Merged

Pop error or exception to PDE #85

merged 7 commits into from
Jul 6, 2017

Conversation

gaocegege
Copy link
Member

@gaocegege gaocegege commented Jun 2, 2017

Close #24

We should redirect the exception into PDE.

Signed-off-by: Ce Gao ce.gao@outlook.com

@gaocegege gaocegege changed the title Pop error or exception to PDE WIP: Pop error or exception to PDE Jun 2, 2017
@jeremydouglass
Copy link
Member

jeremydouglass commented Jun 7, 2017

Yes, redirecting to PDE is a good idea (no popup).

Note that 3.3.4 currently has a regression bug with console output -- so test against 3.3.3 or wait for a fix:

processing/processing#5110

Update: The bug in 3.3.4 can be fixed by editing preferences.txt and increasing console.lines -- for example, to 500.

@gaocegege
Copy link
Member Author

Thanks for the information!

@gaocegege
Copy link
Member Author

It is weird that renjin does't throw a exception when it should, for example, renjin.eval('p') and there is no p at all in R scope 🤔

gaocegege added 5 commits July 5, 2017 12:09
Signed-off-by: Ce Gao <ce.gao@outlook.com>
Signed-off-by: Ce Gao <ce.gao@outlook.com>
Signed-off-by: Ce Gao <ce.gao@outlook.com>
Signed-off-by: Ce Gao <ce.gao@outlook.com>
Signed-off-by: Ce Gao <ce.gao@outlook.com>
@gaocegege
Copy link
Member Author

The logic is a little more complex since there are some new errors, sucd as package download error

Signed-off-by: Ce Gao <ce.gao@outlook.com>
@gaocegege
Copy link
Member Author

image

Now the exceptions be will shown in the PDE, but it could not show the line and column.

Signed-off-by: Ce Gao <ce.gao@outlook.com>
@gaocegege gaocegege changed the title WIP: Pop error or exception to PDE Pop error or exception to PDE Jul 5, 2017
@gaocegege
Copy link
Member Author

The implementation imports a new bug: #143

The bug also exists in Python mode, I have filed a new issue about it.

@gaocegege gaocegege merged commit fe42826 into master Jul 6, 2017
@gaocegege gaocegege deleted the error/pop-to-pde branch July 6, 2017 06:25
@gaocegege gaocegege modified the milestone: Evaluation 2 Jul 12, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants