Skip to content

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 [email protected]

@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
Copy link
Member Author

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

@gaocegege
Copy link
Member Author

image

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

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants