Could not find any INDEX file for image package - image

On trying to invoke imshowpair or montage I get
error: could not find any INDEX file in directory E:\Octave\share\octave\packages\image-2.8.0,
try pkg rebuild all to generate missing INDEX files
error: called from
describe>parse_pkg_idx at line 94 column 5
describe at line 59 column 39
pkg at line 566 column 41
__unimplemented__>check_package at line 519 column 13
__unimplemented__ at line 321 column 11
Can't quite seem to figure out what is causing this. Other image functions like imread and imshow work fine. pkg rebuild all does not fix anything.
This is Octave 4.4.1 on Windows 10.

By the error, it seems that the package folder is there, but not the contents, so you may need to reinstall the image package:
pkg install -forge image
(Sometimes it takes a while as it generates document cache)
After it is installed, don't forget to load the package:
pkg load image
There is a new version 2.8.1 out from 19-Nov-2018, but it does not currently contain a version of imshowpair.

Related

Issue installing ceedling in Windows 11

I have tried to install ceedling for Windows 11. But come across this error:
Failed to load C:/ProgramData/gemrc, (<unknown>): control characters are not allowed at line 1 column 1
I installed Ruby 3.1.3.1 (x64) from here https://rubyinstaller.org/downloads/
Then I ran:
gem install ceedling
Any ideas on how to install ceedling correctly would be appreciated.
That error is telling you that the file C:\ProgramData\gemrc has invalid data in it at line 1, column 1. You have most likely edited this file improperly when installing Ruby because this is a default file with a default configuration that should have been created when you installed Ruby.
You should try these steps in order:
Inspect the file to see what invalid characters exist at that position, comparing it to some default gemrc files, and remove any invalid characters, or:
Rename the file and try again, or:
Remove the file and reinstall Ruby from scratch so that the file is created from scratch

SuiteCRM is not installed

I am unable to install the SuiteCRM on my laptop.
Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] =
$value syntax in
C:\xampp\htdocs\Suite\SuiteCRM-7.12.8\install\performSetup.php on line
715
I expected I will download the SuiteCRM very easily but it not happened
Here is the solution:
Go to C:\xampp\htdocs\Suite\SuiteCRM-7.12.8\install\performSetup.php
Go to line 715
Change it to $GLOBALS['GLOBALS'] = $varStack;
Save
I was losing my mind trying to solve this problem

Octave: error installing package on Windows

First of all, I know a lot of questions similar to mine have been asked, and nevertheless they don't help me solve the problem I'm facing. I'm running Octave 5.1.0.0 on Windows 10 Pro 64 bit. I'm having no issues but one: when I try to install Symbolic package by pkg install symbolic-2.7.1.tar.gz (downloaded from Octave Forge), I get the error
unpack: unarchiving program exited with status: 1
tar: Error opening archive: Failed to open
'/C/Users/smlvcfncst/Downloads/symbolic-2.7.1.tar.gz'
error: called from
unpack at line 274 column 5
untar at line 48 column 5
install at line 81 column 9
pkg at line 441 column 9
and I have no clue where the problem related to the unpacking could be. Not only I have 7z and Winrar installed, but moreover I use a full installation of Cmder, so my system has everything that is needed to work with a .tar.gz
I've tried in different terminals, both with and without administrator privileges, and the problem persists. How should I proceed then?
EDIT: Following Andy's suggestion, I let you know that even before installing Octave I already have installed and used both Python and MinGW, as well as sympy module. Moreover, my Octave installation was the most standard possible for Windows, that is using the official .exe installer. No other package, apart from those included with installation, have been added before I tried adding symbolic.
Thank you in advance.

pdf2htmlEX cannot save font to

I have an error converting some pdf files, it is:
Internal Error: File Offset wrong for ttf table (name-data), -1 expected 174
Save Failed
Cannot save font to C:\Users\test\AppData\Local\Temp//pdf2htmlEX-a14136/__tmp_font1.ttf
I'm using Windows last executable:
pdf2htmlEX version 0.14.6
Libraries:
poppler 0.33.0
libfontforge 20150621
cairo 1.12.18
Supported image format: png jpg svg
I'm testing it and fails at page 76 but if I change pages order, it still fails at page 76, even if I remove it from file.
It's fails even with command:
pdf2htmlEx test.pdf
And testing to split it into files of 10 pages for example, it works OK... but I can't use it, I need to convert full pdf.

Octave Error: imread cannot find image.jpg

I've googled this error, that is received through both octave console and xoctave, and tried the suggestions to include the cd command followed by setting the IMAGE_PATH both to the same image path.
After trying the above suggestion, the imread still doesn't work emitting the same error; the path where the image exists is the very same as that of xoctave's default workspace. I've already went through Xoctave's options>console> Where is Octave to insert the correct directory to octave.exe and then saved and reopened xoctave.
The error is:
error: imread: cannot find image.jpg
error: called from:
error: C:\octave\3.2.4.gcc-4.4.O\share\octave\3.2.4\m\image\imread.m at 1ine 53, column 5
On octave installation, I've chosen the default installation settings (as partly seen below), as well as all the "Octave Forge" packages ("image" inclusive). I've then installed and extracted the image processing toolbox found here.
The strange thing is that I've had the same imread error on a different computer (running windows XP) that was resolved as soon as I've changed directory (cd) and set IMAGE_PATH to the required workspace. Also, on using ls to list the directory's contents, the image is found within as expected.
I'm using Octave 3.2.4 and Xoctave 0.9.79 beta; running on Windows 7 64-bit.

Resources