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

Browser and tables in numbas #126

Closed
BillFoster opened this issue Feb 2, 2012 · 11 comments
Closed

Browser and tables in numbas #126

BillFoster opened this issue Feb 2, 2012 · 11 comments

Comments

@BillFoster
Copy link
Contributor

Running Q7 in MAS3214 on safari, FF or chrome and revealing the answer gives a table which has once again a lot of white space. But not in IE - looks good there! (for a change)

www.mas.ncl.ac.uk/numbas/MAS3214/CBA1

Is it because the questions have not been recompiled?

@christianp
Copy link
Member

Worked fine when I compiled it. Maybe @anthonyyoud hadn't pulled in changes to both repos?

@BillFoster
Copy link
Contributor Author

Also see the gist file below - a question which includes a table

git://gist.github.com/1722966.git

Here the following error appears on all browsers - I cannot find an error

Numbas Error: Not enough arguments for | |

christianp added a commit that referenced this issue Feb 2, 2012
eg 'organisation' was parsed as '|| ganisation', where || is the logical OR operation.
resolves the tangent in #126
@christianp
Copy link
Member

That wasn't anything to do with the table - the JME parser was interpreting the 'or' at the beginning of 'organisation' as the logical OR operation!

@BillFoster
Copy link
Contributor Author

Blimey - that was obscure - I will have to learn to debug. Many thanks.

@anthonyyoud
Copy link
Contributor

I recompiled the CBA yesterday after the latest git commit (it wasn't a
direct copy from inishmore).

On 02/02/12 11:14, BillFoster wrote:

Running Q7 in MAS3214 on safari, FF or chrome and revealing the answer gives a table which has once again a lot of white space. But not in IE - looks good there! (for a change)

www.mas.ncl.ac.uk/numbas/MAS3214/CBA1

Is it because the questions have not been recompiled?


Reply to this email directly or view it on GitHub:
#126

@BillFoster
Copy link
Contributor Author

I have tested the exam at my end and it displays the table OK - perhaps a git pull is needed and a recompile?

@BillFoster
Copy link
Contributor Author

What state are we in now? There has been a fix for the current display of Q7 in MW's course but is there more work to be done?

@christianp
Copy link
Member

The problem yesterday was caused by some kind of peculiarity with the Python setup on the server. I'm trying to work out what it is now.

You don't need to do anything different when writing .exam files.

@christianp
Copy link
Member

Sorted it - xml.etree.ElementTree has changed very subtly between Python 3.1 and 3.2. @anthonyyoud was still on 3.1.

@BillFoster
Copy link
Contributor Author

Is there still a problem with the display of tables using textile or just plain html?

@christianp
Copy link
Member

No.

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

No branches or pull requests

3 participants