PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Stéphane Devouard

Pages: 1 ... 4 5 [6] 7 8 9
76
Tips and Techniques / Re: Silent Installation
« on: December 09, 2020, 08:41:22 AM »
It is possible to run the Windows installers for some of our products in silent mode so no user interaction is needed.

PxPlus WindX Plug-in: From the command line run
Code: [Select]
pxp1500-0001-WPI.exe /s /v"/qn"

Devon,

Is it possible to pass arguments on the command-line and control the installation directory  -- e.g. "C:\MyApp\Client" instead of the default "C:\PVX Plus Technologies\..." ?

TIA

77
Tips and Techniques / Re: How does SVN work?
« on: December 05, 2020, 01:59:32 AM »
Mike

Thanks for your feedback

I was not aware you were in dear need of daily emails, but as I am re-doing some PxPlus coding and consulting as a freelance now, I can probably help  ;)

I have been doing a POC for a client and yes, setting up the SVN repo with Tortoise on my laptop then doing the PxPlus app and src directories setup and the initial commit took a couple of hours. That's great but of course a source code repo is more useful if shared and used by several developers  :)

Github is for open-source and is a collaborating website and some king of social media for developers (you need to have a Github account with some projects on it and link it in your résumé these days, at least when searching for a job in the more mainstream languages and frameworks). The code you put there is free, and supposed to be either cloned and changed with pull requests to integrate contributions in your source, or forked to create alternate versions. I don't think that's the kind of site a hacker would target... but who knows what's in their sh*thead ?
By the way, any plan to extend the SVN interface to git as it is becoming an industry standard ?

I found services like https://sliksvn.com/tour/ or http://www.svnrepository.com/ and was wondering if it was worth a try.
If anyone else has any insight and want to chime in, that would be great

78
Tips and Techniques / Re: How does SVN work?
« on: December 03, 2020, 12:41:13 PM »
A quick question for the Subversion users out there : are you all hosting your SVN server and repos in-house or are some of you using 3rd-party specialized hosting ? In the 2nd case, any recommendation ?

79
Thin Client/WindX / Re: WindX auto-download and Application Server
« on: December 03, 2020, 07:53:16 AM »
Eric

You're right, it works with APS  :-[

I was talking of both
The *plus/wdx/usr/<program> was working, but I messed up when I tested the other part

I was misled by my client shortcut not starting in the correct directory, and thus the static image files not downloaded where expected
So, I corrected my shortcut, re-tested this and found my images in the WindX\images directory as I wanted them to be.

Thanks  for the heads-up

80
Programming / Re: Text Viewer
« on: December 03, 2020, 03:01:46 AM »
Not sure if the PDF/View option would be viable in our situation. I can review that, too.

Stay safe!

That's what I would suggest, as any PDF Reader will allow you to copy portions of text
The nice thing about *pdf*;view is that it is really automagic without any further coding, it supports WindX & iNomads, and tries to avoid cluttering your server and client directories with temporary files.

Hope this helps

81
Programming / Re: Text Viewer
« on: December 01, 2020, 10:49:24 PM »
James

That’s strange as *viewer* is supposed to allow copy to the clipboard by default
If using the more complex Print Preview which was written by Gord, I believe there is a property of the preview object that controls being able to copy from the document or not.

Otherwise, you can give  a try outputting to [lcl]*pdf*;view

PxPlus will create a PDF in a temp directory, will push it to the client (WindX or browser), then will remove the temp document right away when running iNomads, or once the PDF reader is closed when running with WindX.
From there the end-user can print the PDF, save it locally, and of course copy text from it to the clipboard and paste it wherever they want.

Hope this helps

82
Language / Re: MySQL on Linux
« on: December 01, 2020, 11:21:05 AM »
Tried a

Code: [Select]
sudo apt install mysql-server
... and the bloody thing terminated with an error code because it depends on mysql-server-8.0 (?!?) which is not configured

Apparently it did not install everything it is supposed to install in the shared libraries directory because PxPlus still returns an error 15

Guess I won't flood this thread with off-topic messages
If anyone of you guys has a link to a procedure describing the setup of MySQL on Linux, it will be welcome

Otherwise I'll work with the PxPlus MySQL interface on Windows where it works as expected, and where I can also run MySQL Workbench and connect to my local instance instead of getting an AppArmor cryptic error message.

TIA

83
Language / Re: MySQL on Linux
« on: December 01, 2020, 10:23:24 AM »
Hi Gilles

What version of Linux?

It's an Ubuntu 20.04 64 bits VM

I have "installed" MySQL with the XAMPP package (an Apache/MySQL/PHP/Perl bundle that exists for Windows & Linux)

updatedb & locate are unknown commands

sudo file /home/steph/heron/pxplus/libmysqlclient.so
/home/steph/heron/pxplus/libmysqlclient.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=8e7f8b98175ee0b31922bee8267d56b7b6424fd6, stripped


Is the mysql on Linux 32-bit or 64-bit? What is the PxPlus 32-bit or 64-bit. They must match. A 32-bit pxplus can't load a 64-bit mysql .so etc.

Also try installing the mysql in the standard linux library directory /usr/lib or /usr/lib64.

Devon,

The shared object is 64 bits (see above) and PxPlus is 64 bits as well :
steph@steph-ubuntu:~/heron/pxplus$ file pxplus
pxplus: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=ca5da2920f359474e552d5c711478435cdef1990, for GNU/Linux 3.2.0, with debug_info, not stripped


Any other idea ?

84
Language / MySQL on Linux
« on: December 01, 2020, 06:29:13 AM »
Hi all

On Windows, I have to put the libmysql.dll library file in the PxPlus folder to be able to use the [mysql] tag to access a MySQL database

On Linux, I did a copy of libmysqlclient.so in the pxplus directory, but I keep on getting an error 15 when opening a channel to MySQL
I did a chown, chgrp to my user & group and a chmod 777 on the file to make sure it wasn't a permissions issue, did not work either
Also tried adding the PxPlus directory to the PATH variable and exported it before starting pxplus, no more success

Code: [Select]
PxPlus-2020 Web (Ver:17.10/UNIX-Linux-Ubuntu) Serno:1710-664-2130620
(c) Copyright 2005-2020 PVX Plus Technologies Ltd. (All rights reserved)
  Website: http://www.pvxplus.com
->? env("PATH")
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/steph/heron/pxplus
->
->open(1)"[mysql]compass_demo;;server=localhost;user=admin;password=password"
Error #15: Operating system command failed
Unable to load libmysqlclient.so (err/ret=2/2)
->

total 43144
-rw-------  1 steph steph   223687 avril 24  2020 ca-bundle.crt
drwxrwxr-x 36 steph steph    12288 nov.  30 10:25 lib
-rw-r--r--  1 steph steph  3167132 sept. 23 01:29 libhpls.a
-rwxr-xr-x  1 steph steph  1914200 sept. 23 01:29 libhpls.so
-rwxr-xr-x  1 steph steph   336072 déc.   1 11:59 libmysqlclient.so
-rwxr-xr-x  1 steph steph  2908920 sept. 23 01:33 libpvx.so
-rw-rw-rw-  1 steph steph       44 nov.  30 10:25 lic_approval.txt
-rw-r--r--  1 steph steph    12865 sept. 23 01:33 licenses_3rdparty.txt
-rw-r--r--  1 steph steph    10074 sept. 23 01:33 license.txt
-rw-r--r--  1 steph steph     1347 sept. 23 01:33 magic
-rwxr-xr-x  1 steph steph   670184 sept. 23 01:31 PxIO.so
-rw-rw-r--  1 steph steph 31469184 nov.  30 10:18 pxp1710-0000-U20-64.taz
-rw-r--r--  1 steph steph       11 sept. 23 01:33 pxp_build
-rwxr-xr-x  1 steph steph  2558632 sept. 23 01:32 pxplus
-rwxr-xr-x  1 steph steph    36672 sept. 23 01:33 pxpreg
-rwxr-xr-x  1 steph steph   804456 sept. 23 01:31 pxserver
-rw-------  1 steph steph     1404 sept. 23 01:31 pxserver.conf
-rwxr-xr-x  1 steph steph      461 sept. 23 01:33 runconfig
-rwxr-xr-x  1 steph steph      584 sept. 23 01:33 runserver
-rwxr-xr-x  1 steph steph     1154 sept. 23 01:33 stopserver


What else am I missing ?

TIA

85
Thin Client/WindX / Re: WindX auto-download and Application Server
« on: November 27, 2020, 11:44:26 AM »
Hi there

Any takers on this one ?

TIA,

86
Thin Client/WindX / WindX auto-download and Application Server
« on: November 25, 2020, 03:33:05 AM »
Hi all

Testing the thin-client systems for a client and it's been a while, so I'd like to be sure I'm not mistaken

The PxPlus WindX auto-download / synchronization of images, files and programs happens in the *start.up & *plus/start_up initialization procedure

When connecting to a Simple Client Server host, at the moment the start_up stuff executes, the line_switch has been done, TCB(88) is set and therefore the auto-sync happens
When connecting to an Application Server host, this is not the case, TCB(88) is not set when the start_up procedure executes, and no auto-sync happens at all

Am I missing something ?

This is on PxPlus 2020 (V17.10, 64 bits on W10) using a Software Development license

Thanks for any insight

87
Programming / Re: VS Code Extension for PxPlus
« on: November 12, 2020, 02:32:47 PM »
I second this wish

88
Nomads / Re: Response when clicking on inactive panel
« on: September 25, 2020, 01:50:26 PM »
Process is the command you use to run a panel.

A panel will be modal (it will « disable » the panel that run it) if it has the « dialogue » attribute checked in its header.

Regards

89
Nomads / Re: Response when clicking on inactive panel
« on: September 18, 2020, 02:47:31 AM »
Hi

If the popup panel is modal, which seems to be the case, then no, none of what you do in the calling panel will react since the input focus in on the modal

The best suggestion I can come up with would be to prevent the popup from being minimized -- remove the check from the "Minimize box" attribute on the header on the modal panel

Hope this helps

90
Mike

Interesting... This brings some questions

In the case of an object method, what if the variables you passed in are also properties ? Or maybe they HAVE to be declared as properties and you can set their values in the same line that you're invoking the method ? And are they passed by value or by reference ?

For CALL, same questions as the object method -- what if the variable name is also in the ENTER ?

For PERFORM that is pretty much like the GOSUB ... WITH that is alreay available

I guess they'll have to wait until next May... ;)

Pages: 1 ... 4 5 [6] 7 8 9