URGENT HELP NEEDED. after gambas update I lost the most important application
Posted
#1
(In Topic #1526)
Enthusiast

[gb.gui.base]._Gui._InitApp.180: #2: Cannot load class 'PHPOS': File or directory does not exist
[gb.gui.base]._Gui._InitApp.180 ?
the PHPOS is a class inside the program and this only started after update. And only to this most important of all programs. I need help solving this quickly. The shop has no point of sale now.
I can bring up the program in the IDE and it works fine. I tried to build new executable but that has not helped.
Stranger still, the program will run in the IDE but not from executable even on same machine.
Posted
Enthusiast

Posted
Regular

Although the gb.db components are "deprecated" they still exist and still work. The reason I haven't yet converted these applications is that there are still bugs/shortfalls in gb.db2 and probably will be for some time yet as the issues need to be reported to Benoit (who is usually fairly quick in addressing them.)
So beware of this and be careful.
I can't see how your application could run in the IDE and not as an executable?
In your IDE project properties popup Components tab, have you got the "Show Deprecated Items" option on?
b
p.s. Benoit did warn about the deprecation of gb.db on the mailing list in June/July last year.
Posted
Guru

Posted
Enthusiast

I am still having issue on a raspberry pi that does not seem to find the db2 components in the repo. This pi has raspian bullseye and can't seem to find the db2 components for it. So even more trouble due to this. Benoit does great work but sometimes he misses something and this time it is hitting me hard.
Posted
Administrator

What repo's are you pulling from? If NOT from OSB (my guess), don't blame Benoit, blame the distro for creating fuck upssadams54 said
I am still having issue on a raspberry pi that does not seem to find the db2 components in the repo. This pi has raspian bullseye and can't seem to find the db2 components for it. So even more trouble due to this. Benoit does great work but sometimes he misses something and this time it is hitting me hard.
OSB is on 3.20.4 (that has had some db2 fixes) and has arm64 builds as well. https://gambaswiki.org/wiki/doc/packages
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Enthusiast

I need to find the db2 stuff for bullseye, any idea where?
Other note. I have a system stuck on fedora 29 due to software issue. Can't upgrade without losing stuff. The db2 does not exist in fedora repo earlier than fedora 40. How can I get the db2 the db2-form and db2-mysql that I can compile for that one system? I already did something similar with the runtime but now I have to add to it. My other problem child system.
Posted
Administrator

For Raspian you can use OSB Debian arm64 repository, if 64-bit Raspbian. It holds 3.20.4sadams54 said
raspian repos are horrible but stuck with it on one thing.
OSB repo has 3.20.4 for bullseye, bookworm and trixiesadams54 said
I need to find the db2 stuff for bullseye, any idea where?
Addins OSB repo is explained in link I provided in my previous post.
Selfcompile 3.20.4 on Fedora 29?sadams54 said
Other note. I have a system stuck on fedora 29 due to software issue. Can't upgrade without losing stuff. The db2 does not exist in fedora repo earlier than fedora 40. How can I get the db2 the db2-form and db2-mysql that I can compile for that one system? I already did something similar with the runtime but now I have to add to it. My other problem child system.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Guru

If you look at the later fedora packages needed for mongodb perhaps they are available on the older fedora.
Ideally you need to update that machine.
Not being able to update due to one program means likely many compatibility issues ahead, you need an alternative to that program.
Can't you make one with Gambas? <EMOJI seq="1f60e" tseq="1f60e">😎</EMOJI>
Posted
Administrator

That's a nonesens statement you make there. gb.mongodb has NOTHING to do with gb.db2.BruceSteers said
I neither use it or understand it but Db2 mostly uses mongodb
gb.db2 is a rewrite of gb.db, with as much as possible code written in gambas. It's dependencies haven't changed from gb.db (when there was no gb.mongodb for gambas).
gb.mongodb is a component that is for mongodb databases ONLY, and works entirely different than the databases gb.db and gb.db2 deal with.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Guru

Told you i didn't understand it
Posted
Enthusiast

BruceSteers said
I neither use it or understand it but Db2 mostly uses mongodb
If you look at the later fedora packages needed for mongodb perhaps they are available on the older fedora.
Ideally you need to update that machine.
Not being able to update due to one program means likely many compatibility issues ahead, you need an alternative to that program.
Can't you make one with Gambas? <EMOJI seq="1f60e" tseq="1f60e">😎</EMOJI>
The issue that keeps me on fedora 29 is this system is running zoneminder. zoneminder is why I can't do upgrades. The software underwent updates that broke many many many things. Updating the system will require updates to zoneminder and that will effectively shut down the zoneminder system do it also updating. I have been on with the zoneminder people and they denied they had any issues even when shown proof, but they did offer to fix those non-existent errors for a tidy little fee. So I have that system with some special things to keep it functional for the future.
I have looked into replacing it with something I could write in gambas but that is a huge project I do not have the time or resources for. I would love to do it though.
I compiled gambas for that system but no idea where I got the source to compile from so that is what I seek and hoping that could find just the parts I need but if I need to recompile the whole thing that is fine as long as I can find the source again.
Posted
Administrator

You could start here: https://gambaswiki.org/wiki/installsadams54 said
I compiled gambas for that system but no idea where I got the source to compile from so that is what I seek and hoping that could find just the parts I need but if I need to recompile the whole thing that is fine as long as I can find the source again.
All is explained, even how to pull the source code with proper tag from gitlab.
Each tag is a version, current latest tag is 3.20.4, but you can go for any version you prefer to compile on that system.
If parts don't compile because libraries might be too old or missing, you can disable those components that it says that will not compile,
db2 should not be a problem as requirements are like db + extra gambas parts.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
1 guest and 0 members have just viewed this.

