1. Christian Breu
  2. Other Discussions
  3. Воскресенье, Май 14 2017, 08:37 PM
  4.  Подписаться через email
Getting back about XOJO App deployment.
Did anything change about libs for Mac OS X.

I use the same build script but get problems.
The apps are missing the plugin and cannot connec to the VServer.
This is a bit urgent, sorry.

I found a file in the app package "libv8_64.dylib".
This file was never there with older versions.

Can you please help to clearify?


Thank you.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
This library was added in the version 7.0

It is handled in the deployment script
Ссылки
  1. http://valentina-db.com/docs/dokuwiki/v7/lib/exe/fetch.php?media=valentina:products:adk:v4rb:manual:deployment:install_vcomponents_v4rb_v7.zip
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
v8 this is JS engine. It was added into 7.1, not into 7.1.3
VREPORT.dll links to it

* Does your app use reports?
* Script has on start flag UseReports, as far as I remember.
* Can you self add this new dll?

Sorry, its midinight here, tomorrow at morning we will continue.
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
I am sorry for that.
it is eleven here too.

The app does not start.
As a workaround I can install the VComponents on every machine.
But it is not what I want.

Ill try my best for today otherwise get back to you tomorrow.

Thank you for the quick response and goo night.
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
Christian,

I did miss yesterday answer from Sergey. He points that script from WIKI was updated to handle this library.

Then you should carefully check console output during work of this script.
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
Good morning Ruslan

I got it yesterday.
Used the script and it worked fine.

As I told you already, I prefer to have a buildscript in XOJO for convenience.
I will take care this later.

Thank you.
Have a nice day.
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
Just got info from customer...
Some strange problems happend.
We had to downgrade to the old version.
Not sure what is the reason. But nothing changed than built new with Valentina Plugin v7.1.3.
Is there a list of changes since v6.6.9?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hi Christian,

We have the release notes, but there are the most major changes.

Where do the problems appear - application not starting, crashing, not expected result?
Ссылки
  1. http://www.valentina-db.com/docs/dokuwiki/v7/doku.php?id=valentina:releases:releases
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
Crashing, when do barcodescanning (also related to the db).
That is all I know now.
Will be @office this evening to check details.
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
@office

Yep, it is true, scan a barcode and booom, everything gone. :(
Also in debug mode.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Is it on Mac?
Debug - from Xojo IDE?
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
On trying to execute this code, the app crashes:


Dim pSearchCurs As VCursor = vDBDatabase.SqlSelect("SELECT "_
+"orderMain.aID AS mainAID, "_
+"orderMain.OID AS mainOID, "_
+"orderMain.orderID AS mainUUID, "_
+"orderMain.cDate AS creationDate, "_
+"orderMain.orderStatus AS orderStatus, "_
+"orderMain.productName AS productName, "_
+"orderMain.customerName AS customerName "_
+"FROM orderMain WHERE orderMain.productBarcode = '" + pBarcode + "';", 2, 1, 1)
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
Hello Sergey

Yes, on Mac OS X 10.11.6 XOJO IDE.
Want to see a crashlog?
Комментарий
yes of course.
  1. Ruslan Zasukhin
  2. около 5 лет назад
There are no comments made yet.
Christian Breu Ответ принят
Hello Ruslan

Sent to you by e-mail.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
At first please check that pBarcode has a correct encoding, and set it if not

If pBarcode.Encoding = Nil Then
pBarcode = DefineEncoding( pBarcode, Encodings.UTF8 )
End if


Is it the case? Or what encoding is set?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
You can also enable creation of the debug log:
Valentina.DebugLevel = EVDebugLevel.kLogParams

It may show problem the problem with encodings
Комментарий
There are no comments made yet.
Christian Breu Ответ принят
Did it change about the encoding from 6.6.9 to higher versions?
Комментарий
yes, in 7.0, mentioned in release notes.
also was some polish of this in 7.0.1
  1. Ruslan Zasukhin
  2. около 5 лет назад
There are no comments made yet.
Christian Breu Ответ принят
This seems to fix the problem (at that part of code).
So what did change and how to fix it?
Do I have to encode only the barcode strings or every string passing to a query?
Комментарий
please do search on this forum about Xojo and encoding.
Or that function DefineEncoding()
  1. Ruslan Zasukhin
  2. около 5 лет назад
There are no comments made yet.
Sergey Pashkov Ответ принят
Yes, there were a few changes to make it work without the need to call DefineEncoding.
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories