Welcome, Guest
Username: Password: Remember me
26 Sep 2020
No bulk downloads - PLEASE! THIS IS OVERLOADING OUR SERVER AND DENYING ACCESS TO COMMUNITY USERS
SVP - Pas de téléchargement en masse ! Cela surcharge le serveur et empêche la communauté d'utilisateurs d'accéder aux données
_______________________________
WE WILL BLOCK IP'S THAT ARE BULK DOWNLOADING! Nous bloquerons les IPs des personnes qui agissent de la sorte.
PLEASE GO DIRECTLY TO THE GRIB PRODUCERS (NOAA, DWD...) FOR BULK DOWNLOADS. Allez chercher les données directement à la source (NOAA, DWD ...)
Read More...
  • Page:
  • 1
  • 2

TOPIC:

Distro or self install 5 years 3 months ago #319

  • DomH
  • DomH's Avatar
  • Offline
  • Moderator
  • Moderator
  • La voile est ma passion
  • Posts: 110
  • Thank you received: 26

dominig wrote: It's obvious that your initial focus is on Windows, most of my issues are generic to Linux.
Dominig


That is unfortunatly not true, zyGrib was primarily created to have a tool working under Linux.
A couple of persons were packaging it for different versions of Linux.

As mentionned by David, it is difficult to follow all the different packages and sometimes there is quite a long delay between a new version and the integration in a specific package; but of course all contributions are welcome, but also as mentionned, the XyGrib is quite small and cannot assume the responsability of the different packages for the various distros.

But the majority of users are still using OS Windows and that also a reality.
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH

Please Log in to join the conversation.

OpenSUSE blocking issues corrected 5 years 3 months ago #321

Hi dominig,

Unfortunately the Travis build check failed on your suggested Pull Request with the following error:
error: ‘AppLocalDataLocation’ is not a member of ‘QStandardPaths


We have already tried what you are suggesting here and rejected it as many of the older distros do not support all the current Qt standard locations.

I strongly advise that your effort for an openSuse package keep the same data locations that are used for all XyGrib on all Linux distros.
There is no reason that the data structure on openSuse should not be under ~/.local/share/openGribs/XyGrib.
This is a writable location and it gives the user an advantage should he or she need to edit color code files or language files

David

Please Log in to join the conversation.

Last edit: by davidgal.

QStandardPaths::AppLocalDataLocation 5 years 3 months ago #322

Extract from QT Doc
QStandardPaths::AppDataLocation it replaces QStandardPaths::DataLocation which is deprecated.
QStandardPaths::AppLocalDataLocation was added with QT 5.4
Returns a directory location where persistent application data can be stored. This is an application-specific directory. To obtain a path to store data to be shared with other applications, use QStandardPaths::GenericDataLocation. The returned path is never empty. On the Windows operating system, this returns the roaming path. This enum value was added in Qt 5.4. Qt 5.4.0 was released on 10th of Dec 2014.
doc.qt.io/qt-5/qstandardpaths.html
Which version of QT do you use. We are currently at 5.12.

Regards
Dominig

Please Log in to join the conversation.

Last edit: by dominig.

Directory localisation 5 years 3 months ago #323

Sorry
Software should never be installed in a user writeable directory.
It's the main source of security nightmares that we see on WIndows.
~/.local/share/openGribs/XyGrib is writeable by the user.

Tradition is that Linux Distros install their software in /usr in share lib and bin.
User developing locally on their PC do install in /usr/local.
Both requires root privilege for being written what guaranties that the code cannot be modified by a misbehaving web page JavaScript or a document macro.

Furthermore it requires to make one install per user.

Sorry, I do not wan that.

Dominig
P.S. I work in Linux Cyber Security, sorry, I cannot do that.

Please Log in to join the conversation.

Directory localisation 5 years 3 months ago #324

If you would take a moment to look at an XyGrib installation on Linux you will clearly see that it is not the software that is installed in ~/.local but the static data files that are also user specific. The software itself is under /usr/.

Please download a Linux installer from the git and run it on openSuse and see that it clearly follows best Linux practices and traditions. If you have issues with what the installer does and where it places files - please let us know.

If you don't - please try and make your package do the same thing

Please Log in to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.032 seconds

Resources on this site will always be free and open with no commercialization. However, operating costs of the servers to pre-process and deliver GRIB files to XyGrib are not trivial.

If you found the site useful, please share in the effort and help keep us up and running

 

Please Support

Go to top