Question: i am installing geonode, when i came across the instruction of paver setup. It is not running properly. The error message given as shown below.

```
(geonode) eidul@eidul-Virtual-Machine:/opt/geonode$ paver setup
free(): invalid pointer
Traceback (most recent call last):
  File "/home/eidul/.virtualenvs/geonode/bin/paver", line 8, in <module>
    sys.exit(main())
  File "/home/eidul/.virtualenvs/geonode/lib/python3.8/site-packages/paver/tasks.py", line 890, in main
    _launch_pavement(args)
  File "/home/eidul/.virtualenvs/geonode/lib/python3.8/site-packages/paver/tasks.py", line 858, in _launch_pavement
    exec(compile(source, environment.pavement_file, 'exec'), mod.__dict__)
  File "pavement.py", line 62, in <module>
    from geonode.settings import (
  File "/opt/geonode/geonode/settings.py", line 115, in <module>
    spatialite_version = int(spatialite_proc.stdout.decode()[0])
IndexError: string index out of range

```

Answer: 
As a workaround, you can create a new method that accepts `int[]`, then represent a *1d array* as a *2d array* of a single row, and call the old method, something like this:

```java
public void callSlideUp(int[] row) {
    // a 2d array of a single row
    slideUp(new int[][]{row});
}

public void slideUp(int[][] board) { ... }

```
You could overload the method by creating another method with the same name, but using a 1d array as a parameter.

```
public void slideUp(int[] board) {
    //your code here
}

```

You would have to change this to handle a 1d array.

```
 board[i][column]

```