[Solved] Runtime error in UNO af file 257
[Solved] Runtime error in UNO af file 257
hi All,
I have a piece of code that is used to analyse text files produced from an oracle database. the files have exactly the same format and layout.
whilst using MS excel i can load thousands of files however i hit a limit of 257 files when using calc.
the reported error is as follows
ERROR: com.sun.star.uno.RuntimeException:
Does anyone have any idea what this error indicates?
regards
Alan
I have a piece of code that is used to analyse text files produced from an oracle database. the files have exactly the same format and layout.
whilst using MS excel i can load thousands of files however i hit a limit of 257 files when using calc.
the reported error is as follows
ERROR: com.sun.star.uno.RuntimeException:
Does anyone have any idea what this error indicates?
regards
Alan
Last edited by Hagar Delest on Wed Dec 23, 2020 5:43 pm, edited 3 times in total.
Reason: tagged solved.
Reason: tagged solved.
Alan
openoffice 4.1.8 on windows
openoffice 4.1.8 on windows
Re: runtime error in calc
There are "magic numbers" in computing, all powers of 2. One of these is 256, so an error at 257 suggests you have hit an inbuilt limit to the number of files.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: runtime error in calc
Thanks for the reply. I hope that this is not the case. if so it seems to limit the functionality of calc severely.RoryOF wrote:There are "magic numbers" in computing, all powers of 2. One of these is 256, so an error at 257 suggests you have hit an inbuilt limit to the number of files.
regards
Alan
Alan
openoffice 4.1.8 on windows
openoffice 4.1.8 on windows
Re: Runtime error in Calc
You may find LibreOffice has a higher limit.
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
- Hagar Delest
- Moderator
- Posts: 32824
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Runtime error in Calc
You may be limited by the max number of sheets that is 256 in AOO IIRC.
In LibreOffice, it's 10000.
In LibreOffice, it's 10000.
LibreOffice 24.8 on Xubuntu 24.10 and 7.6.4.1 portable on Windows 10
Re: Runtime error in Calc
Hagar Delest wrote:You may be limited by the max number of sheets that is 256 in AOO IIRC.
In LibreOffice, it's 10000.
ok, possibly that is the issue. Excel has more or less unlimited sheets.
ok then its a sad day for the venture away from MS office.
thanks for the help.
Alan
openoffice 4.1.8 on windows
openoffice 4.1.8 on windows
Re: Runtime error in Calc
It may be that a spreadsheet is not the optimum tool to do your task. It might perhaps be better handled using customised reports from the originating database.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Runtime error in Calc
Oracle has 2 types of reporting tools, a free option or a high cost option which also requires a high cost version of the database. we talk in terms off £30k per core license for the database and then £11k per core option to report. the numbers dont add up.RoryOF wrote:It may be that a spreadsheet is not the optimum tool to do your task. It might perhaps be better handled using customised reports from the originating database.
looks like its excel for now then
thanks for the replies.
Alan
openoffice 4.1.8 on windows
openoffice 4.1.8 on windows
- Hagar Delest
- Moderator
- Posts: 32824
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Runtime error in UNO af file 257
Have you tried LO?
Don't you know what does your code exactly? To check if it's a number of sheets issue or something else?
Don't you know what does your code exactly? To check if it's a number of sheets issue or something else?
LibreOffice 24.8 on Xubuntu 24.10 and 7.6.4.1 portable on Windows 10
Re: Runtime error in UNO af file 257
OK have installed LO and that works a treat, so it's bye bye OpenOffice
Regards
Alan
Regards
Alan
Alan
openoffice 4.1.8 on windows
openoffice 4.1.8 on windows