Android Question Configure Paths Fields Get Removed

bocker77

Active Member
Licensed User
Longtime User
I downloaded the new release 10.70, exited out of B4A, installed and then restarted it. Everything worked just fine but I then closed it yesterday and started it today and I got errors about missing libraries. So I looked in Configure Paths and everything was blank. I figured that this may be a bug in this release.

I added everything back and then added the libraries the Log indicated that I was missing. As you can see below I am still getting errors about missing libraries. I looked through my code but I don't see any errors. Can anyone tell me what I am missing? I don't see b4xfloattextfield in the Library Manager nor do I remember ever using it. The bottom log is blank.

Unknown member: mbase
Unknown member: runmethod
Unknown member: textfield
Unknown member: update
Unknown member: smalllabeltextsize
Unknown member: largelabeltextsize
Unknown member: mbase
Unknown type: b4xfloattextfield<br />Are you missing a library reference?
Undeclared variable 'searchfield' is used before it was assigned any value.
Undeclared variable 'searchfield' is used before it was assigned any value.
Undeclared variable 'searchfield' is used before it was assigned any value.
Undeclared variable 'searchfield' is used before it was assigned any value.
Undeclared variable 'searchfield' is used before it was assigned any value.
Undeclared variable 'searchfield' is used before it was assigned any value.
Unknown type: b4xfloattextfield<br />Are you missing a library reference?
 

bocker77

Active Member
Licensed User
Longtime User
Erel, I hate to disagree but I think I know a bug when I see one. Not be a jerk but I was a QA manager for a major US corporation and a QA Specialist for years and I am pretty sure that I know a bug when I see one. Anyway I was able to restore from one of my backups in "AutoBackups", a great feature I might add, I am almost back to working order but I am still getting one last error.

I have both AppCompat and B4XPages selected in Library Manager. Can you tell me what I am missing? I tried adding all B4X libraries and that didn't fix my error.

Compiling Error:
B4A Version: 10.70
Parsing code. Error
Error parsing program.
Error description: Unknown type: b4xmainpage
Are you missing a library reference?
Error occurred on line: 73 (B4XPages)
Public Sub MainPage As B4XMainPage

Log Error:
Unknown type: b4xmainpage<br />Are you missing a library reference?

B4X:
Private Toolbar As ACActionBar    ' Line 73
 
Upvote 0

bocker77

Active Member
Licensed User
Longtime User
So I decided to deselect B4XPages and reselect it. After deselecting I looked at the Log and my error went away. I am soooooo confused. Anyway I am able to compile and am back to where I was before the upgrade to 10.70.

Thanks Graham for your suggestion,
Greg
 
Upvote 0

bocker77

Active Member
Licensed User
Longtime User
Yep but I put B4XPages in to get rid of my original errors from post #1 above after I upgraded and lost the Configure Paths values.
 
Upvote 0

bocker77

Active Member
Licensed User
Longtime User
Mahares, did you read my original post about what went south after I upgraded. I have upgraded B4A more than I can remember and never had any issues. But with this release I did. I know Erel is very fastidious in his work and I also know he is a very intelligent person but come on, there can always be bugs in code one form or another. Nobody's perfect.
 
Upvote 0

bocker77

Active Member
Licensed User
Longtime User
After thinking this over I believe I might know how what happened. At one time I needed the B4XPages library but then took out the code that used it. B4A with other libraries that are not used anymore you get a message in the Log stating that so you can take it out. For B4XPages I never got that message. So when I upgraded and had to reconfigure the paths then that is what caused the problem. I could be wrong but that is what it looks like to me. The real problem though is why did my paths go blank after the upgrade.
 
Upvote 0

bocker77

Active Member
Licensed User
Longtime User
I do believe that you hit the nail on the head. I had to buy a new PC and when I was configuring it I created a new Microsoft account by mistake which caused all kinds of problems with this account. I must have installed the previous version under that account. I have since created an account as administrator with my old Microsoft account and switched over to that. I did install B4A under the newly created account but after the install I opened B4A and did not have this issue. It wasn't until I rebooted and opened B4A that the paths were blank. Anyway it seems that, in all of this rigmarole that I had to do with my new PC, caused the problem. I didn't know that you stored the path information in the user's area but that makes sense that you do that.
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
I didn't know that you stored the path information in the user's area
AppData/Roaming/Anywhere Software/Basic4android. There's a b4xV5.ini file there that on a very rare occasion might need to edit a value of one of the entries.
 
Upvote 0
Top