Cannot use builtin (standard) libraries from gimp-gluas

Bug #1164421 reported by Marco Manfredini
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gluas (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The standard, builtin lua libraries are not available in gimp-gluas. For example, using the math library (i.e. math.floor, math.random) yields the error message:

  attempt to index global 'math' (a nil value)

Eventually gluas example code which uses 'math' does not work anymore.

For unknown reasons, the initialization of all standard libraries in render.c was left commented out in gluas-0.1.20. The libraries base, io, str, math and tab were properly initialized before in gluas-0.1.19

Example patch initializes *all* standard libraries. This includes the os, debug and package library.

Revision history for this message
Marco Manfredini (ubuftu) wrote :
Revision history for this message
Alfred Reibenschuh (terefang) wrote :

package is not in-sync with github repo at https://github.com/hodefoting/gluas

Revision history for this message
Alfred Reibenschuh (terefang) wrote :

further research yielded that package was removed from debian unstable.

is there hop to get this fixed in distro, or do i need to build myself ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gluas (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.