Giter Club home page Giter Club logo

studio's Introduction

GAMS Studio

GAMS Studio is the official development environment of the General Algebraic Modeling System (GAMS). For further information about GAMS please visit GAMS or the GAMS documentation.

How to build

1. Download and install Qt

The recommended way to get Qt is via its official Qt online installer. If you are interested in the Qt sources you can download them through the installer or build Qt from scratch by following the Qt documentation. Alternatively, you can get and build Qt from the official Qt GitHub mirror.

2. Download and install GAMS

GAMS Studio requires the GAMS low-level APIs. All those files are provided by the GAMS distribution packages, which are available for all major platforms. The installation package for your platform can be obtained from the GAMS download page. After downloading the package please follow the latest GAMS installation instructions.

Note By default GAMS will run in demo mode. Please check the download page for further details.

3. Get the GAMS Studio source code

Download the GAMS Studio sources from GitHub (via git or as zip archive). All information about the usage of this program can be found within the GAMS Documentation.

4. Building the GAMS Studio project

Start Qt Creator, open the project file gams-studio.pro and click Build -> Run qmake. This generates the file gamsinclude.pri that defines the default location of the GAMS installation location. The path within the gamsinclude.pri may have to be updated to the correct GAMS installation location on your system.

On Windows the file contains:

GAMS_DISTRIB=C:/GAMS/35
GAMS_DISTRIB_C_API=$$GAMS_DISTRIB/apifiles/C/api
GAMS_DISTRIB_CPP_API=$$GAMS_DISTRIB/apifiles/C++/api

On Unix it will look like:

GAMS_DISTRIB=$$(HOME)/gams/gams35.0_linux_x64_64_sfx
GAMS_DISTRIB_C_API=$$GAMS_DISTRIB/apifiles/C/api
GAMS_DISTRIB_CPP_API=$$GAMS_DISTRIB/apifiles/C++/api

Then perform a Build All operation (Build -> Build All) to build the project. Finally, the GAMS Studio can be executed by triggering Run button or pressing Ctrl + R.

Contributing

Your contributions to the GAMS Studio project are highly appreciated! Depending on your type of improvement you may want to create an issue or fork GAMS Studio and open a pull request when your changes are ready.

Before you request a review of your changes please make sure that you used the latest GAMS release for development and that your code is following the Qt Coding Style.

Dependencies and Licenses

Dependency License Description
Qt 6 LGPL Qt Licensing. The Qt 6 everywhere package (source) can be downloaded from GAMS or directly from https://www.qt.io/download, where installers are provided as well.
dtoaLoc License
engineapi MIT Owned by GAMS and can be used in other projects.
yaml-cpp MIT The project can be found at https://github.com/jbeder/yaml-cpp

studio's People

Contributors

0x17 avatar clemensgams avatar fproske avatar jazzco avatar jparnjai avatar lutzwestermann avatar mrmontag avatar nefissakhd avatar pandahs avatar rgoltermann avatar sdirkse67 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

studio's Issues

Button tcol-one and tcol-all only works when clicking over a small area

Hi, this is a really small issue, but maybe it's easy to fix.

The button to choose the columns to which the filter applies is a bit finnicky, it only clicks over a very small area. All buttons in the filter field have the same issue. The image bellow shows the area it clicks for me. I'm using macOS Monterey, version 12.6.1 (21G217) on a MacBook Pro 2021. I didn't have the chance to test on Windows or Linux. Maybe it's an issue with QT and macs. These are the only buttons that have this issue. The New, Open, Save, ... buttons all work fine.

image

Open Folder in Explorer

Hello,

I personally would find it really helpful to be able to open a folder in the explorer, and see all files inside that folder and be able to quickly open files from there. Similar to the Project Pane in sublime/atom/textmate/... .

In this regard a "go-to" file functionality might also be helpful, with partial matching to the path and filename, also inspired by what is available in text editors like sublime/atom/textmate/... .

This is very much driven by my personal style of organizing the code and I usually have my code split accross multiple files, since I find it really hard to navigate and handle files with hundreds/thousands lines of code.

Problem with Text in Macintosh Dark Mode

If you launch Studio on a Macintosh in 10.14 "Dark Mode", most text is white and invisible against the white background of the page. The work around is to switch to "light mode", open Studio, then switch back to "dark mode".

Studio from GAMS 42.5.0 has started to exit shortly after launch

Curiously, on the machine of a colleague and also my machine, and a third machine, GAMS studio has stopped working whereas before it definitely was working. The application launches, but then with a brief delay of about 1 second exits again.

This happens on Windows when launched via the start menu, file explorer, or from the command line.

The command line options --ignore-settings or --reset-settings or --reset-view do not resolve the issue. No error messages are visible. The same issue does not occur with the studio that ships with GAMS 41.5 (1.12.3) nor with earlier GAMS installs.

I downloaded the latest release compatible with GAMS 42 from here: https://github.com/GAMS-dev/studio/releases/download/v1.13.5/GAMS_Studio-1.13.5-x86_64.zip and replaced the studio subdirectory of C:\GAMS\42 with its content, but the odd behavior persists.

Installing GAMS 44.4.0 and launching its studio results in the same behavior: the window briefly shows and then closes.

Cannot "Search & Replace" within a selected part of the code only by just pressing Replace All

Dear developers of Studio,

Maybe this has been resolved already, and if yes please forgive me.

I cannot find how can I perform a "Search & Replace " action within a selected part of the code by pressing the Replace All button. This is a basic functionality in all editors, but in Studio when I select a part of the code and I want to replace a string in this part only, the Replace All button replaces the string in the whole file. I can only replace within a selected part of the code by repeatedly pressing the Replace button to perform the action in each occurrence. But,, this can be very cumbersome in some cases.

As I wrote in the beginning please accept my apologies if there is a way to perform a "Search & Replace" in a selected part of the code only, and not in the whole file, without my intervention/confirmation of the action in each occurrence of the string that is to be replaced.

Thank you very much
Evangelos

AppImage should include "libjoatdclib64.so"

Version: GAMS_Studio-0.12.8-x86_64.AppImage

On the first launch GAMS Studio could not find GAMS, and when I try open "About" dialog it show me warning notification about missed libjoatdclib64.so:

$ ./GAMS*.AppImage
Error [00:48:44]: Could not find GAMS. Please check your GAMS setup. The installation instructions can be found at www.gams.com/latest/docs/UG_MAIN.html#UG_INSTALL
Current path to GAMS: 
Error [00:49:14]: Could not load shared library libjoatdclib64.so: libjoatdclib64.so: cannot open shared object file: No such file or directory
"[Could not open About GAMS dialog. Could not load shared library libjoatdclib64.so: libjoatdclib64.so: cannot open shared object file: No such file or directory"

pic.1

Use older distribution for more compatible AppImages

I am trying to run released AppImages under Debian 8 and I am unable to do so due to the fact that AppImages have been built using newer versions of GLBC than the one available in my system.

Is there any possibility to downgrade jenkins OS version for more compatible AppImages?

Thanks in advance

Possible issue/conflict between GAMS Studio and Box Drive

Hello,

I recently downloaded GAMS 42.4.0 and I am having problems opening GAMS Studio (v 1.13.4). I am running it on Windows 10 Enterprise and using Box drive (v 2.31.64). When I tried to open this new version of GAMS Studio for the first time, it started to open but then it froze into a white screen and stopped responding. I kept retrying to open it, but this problem kept happening.

I then noticed that when I opened GAMS Studio, Box Drive started to download/sync a long list of my gdx files (and other GAMS files) that are supposed to be online only. This should not happen since these files are supposed to be online only. Since this is a very long list, it takes forever and GAMS Studio just won't open (it seems that it is waiting for all the downloads to finish). Not sure why this is happening. Maybe GAMS Studio is scanning and indexing all GAMS files when it opens for the first time? And this is triggering Box Drive to download files that should be online only?

When I forced GAMS Studio to close, Box Drive stopped downloading the files.

And when I closed Box Drive before opening GAMS Studio, GAMS Studio opened normally.

With GAMS Studio opened, I restarted Box Drive. Box Drive then started to sync some .gsp files that I believe are not even mine (they could be from other colleagues in folders shared with me in Box Drive that appear in my folder tree). After that I could close and open GAMS Studio a few times.

So, I can open the new GAMS Studio now, but I am wondering if this is an issue observed before.

Thank you!

Best

Francisco

Will not open if CheckForUpdateWrapper::distribIsLatest() hangs

Working from behind a proxy, with some apparent network trouble today, application will hang before opening any window. Seems that some timeout is required so that the check for the latest version of gams will not hang gams-studio.

This is the traceback from GDB:

Thread 1 "studio" received signal SIGINT, Interrupt.
0x00007fffee593cfc in recv () from /usr/lib/libpthread.so.0
(gdb) bt
#0 0x00007fffee593cfc in recv () from /usr/lib/libpthread.so.0
#1 0x00007fffd42657c2 in P3UTILS_p3getfromurl(unsigned char const*, unsigned char const*, unsigned short, signed char ()(void, int, void*), void*, unsigned char*) () from /opt/gams/gams28.2_linux_x64_64_sfx/libjoatdclib64.so
#2 0x00007fffd426e89b in CHK4UPDATEOBJ_tlicobj_DOT_c4ucheck4update(CHK4UPDATEOBJ_tlicobj_OD_S*) () from /opt/gams/gams28.2_linux_x64_64_sfx/libjoatdclib64.so
#3 0x00007fffd425ed99 in c4ucheck4update () from /opt/gams/gams28.2_linux_x64_64_sfx/libjoatdclib64.so
#4 0x00005555555cba91 in gams::studio::support::CheckForUpdateWrapper::lastDistribVersion (this=0x7fffffffde00) at ../../GAMS/src/support/checkforupdatewrapper.cpp:117
#5 0x00005555555cbbfa in gams::studio::support::CheckForUpdateWrapper::distribIsLatest (this=0x7fffffffde00) at ../../GAMS/src/support/checkforupdatewrapper.cpp:136
#6 0x00005555557c2f92 in gams::studio::HelpWidget::getOnlineStartPageUrl (this=0x555555be8be0) at ../../GAMS/src/help/helpwidget.cpp:568
#7 0x00005555557bed8d in gams::studio::HelpWidget::HelpWidget (this=0x555555be8be0, parent=0x555555aa8330) at ../../GAMS/src/help/helpwidget.cpp:73
#8 0x00005555556675d3 in gams::studio::MainWindow::MainWindow (this=0x555555aa8330, parent=0x0) at ../../GAMS/src/mainwindow.cpp:133
#9 0x00005555555c5cdc in gams::studio::Application::init (this=0x7fffffffe780) at ../../GAMS/src/application.cpp:60
#10 0x0000555555666163 in main (argc=1, argv=0x7fffffffe8e8) at ../../GAMS/src/main.cpp:46

How is the Example library provided by the IDE?

To provide our customers a smooth start we should provide a example library. The collection should contain all examples we provide with our APIs.

Option 1: Arduino approach - Provide a main menu entry where the user can select the sample project

  • (+) Projects are loadable through the IDE
  • (+) IDE has a collection of examples, which should always work.
  • (-) Additional menu entry.

Option 2: Qt approach - Provide a example help page and guide the user to the distribution example folder

  • (+) IDE has a collection of examples, which should always work.
  • (-) Indirect example access (through GAMS help).
  • (-) Basic examples projects are

Next Steps

  • Review/Discuss
  • Decide which option we should take

output (log) window blocks complete app

Hello,

i'm using the studio app on ubuntu 18.04 from the 26.1 release. I'm solving many small model instances one after another and the log window slows down a lot and the complete studio becomes unresponsive. This already happens for a small trial run of 200 instances. The log gets stuck at some point at for example iteration 41 and the next update then jumps to 63, and so on... Restarting the app has no observeable effect.

I can easily circumvent this by running the code in question from the terminal, where there is no slow-down happening and it just happily flys by.

If there is any information that might be helpful from my side, I will do my best to supply it :-)

Cannot type # in Studio using a Swiss German Keyboard

Hi,
In Swiss-German keyboard the character # is typed by the combination of ALTGR+3 . However, this combination activates in Studio the GAMS options windo. Thus this character cannot by typed with a Swiss-German keyboard in Studio. Whenever I need to type this character, I need to do it in an external editor e.g. notepad, and then copy-paste it in Studio.
Thanks a lot for your consideration
Evangelos

Solver lincense information

Is it possible, that GAMS Studio does not displays the license information correctly? GAMS Studio shows DEMO for all solvers, where as the GAMS IDE has different information:

GAMS IDE:
image

GAMS Studio:
image

Or could I have an error in my GAMS setup? Note, that I can solve problems with CPLEX or other solvers without getting a license error.

GDX viewer variable tables

I really love the table view to display symbols in GAMS studio.

When viewing variables in the table view, I always select a single column in the Value column:
image

This selection is not stored and after refreshing the *.gdx file, I need to select Table View and the Value column of my choice again. It would be awesome if the previous selection is stored, or that only a single Value column is selected when clicking ong Table View.

AppImage for download on GitHub Releases

./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/studio.desktop -appimage -bundle-non-qt-libs -no-translations -extra-plugins=iconengines -exclude-libs=libnss3,libnssutil3

Could you please provide the resulting AppImage for download on GitHub Releases? Thank you.

Feature request: GUI scriptability

A means to script GUI elements within the context of GAMS Studio would be helpful. For example through a combination of the embedded code facility and PyQt.

For use cases of such functionality, and an indicator that there is a market for it, have a look at the GAMS Graphical User Interface Generator (GGIG).

Umlauts in Path -> GDX Open broken

On trying to open a GDX file, where the parent directory contains an umlaut results in the following error:

Unable to open GDX file: /home/XXX/development/repositories/GAMS/XXXIntensitätsstufen_Düngeraufkommen_XXX/tmp/3aggregate.gdx
Error: Ungültiges oder unvollständiges Multi-Byte- oder Wide-Zeichen

Symlinking the directory to a path without an umlaut, the gdx file can be opened and viewed just fine.

Environment: Ubuntu 18.04, GAMS - 25.1.1, ntfs formatted drive

On an unrelated side note: This reminded me: Whenever i try to run gams from the command line and the path contains a space, gams does not want to execute the file :( And I've to symlink the directory, from where it works just fine...

Cannot change default solver

In gamside I have specified Gurobi solver as the default one for LP problems. However, when I start GAMS Studio the default solver is CPLEX.

So, how can I change default solver in GAMS Studio?

System info:
OS: Windows 10
GAMS: 29.1.0
GAMS Studio: 0.13.2

Feature Request: Change the size of tabs

In gams studio you can manually resize -among other- the "project explorer" and the "help" tab.

It could be really useful if these manually resized tabs to be set as default, so I do not have to resize them each time I open gams studio.

Feature Request: More themes for syntax highlighting

It would be nice if we would be able to manually edit the color of gams command, comments, etc.

Ideally, you could provide some options (different themes, like material, dracula, solarizied, etc) on syntax highlighting

Code folding for sections

It would be great to extend the code folding feature, which is limited to a very small set of code blocks for now, to work with whole sections.

This would allow quick navigation in big models by jumping to the proper section after folding everything.

One question is how to define code sections. One reasonable approach would be to follow RStudio approach, which would translate as defining a section by a line starting with a comment character and that contains at least four dashes:

* First level section ----

** Second level section ----

*** Third level section ----

This is compatible with the language and is easy to type and parse.

Here is an example of what it gives in emacs, where I have just implemented it:
section-folding

The icing on the cake would be to add a different syntax highlighting for section headings to distinguish them from simple comments, as I did in the emacs example.

I don't need this feature in GAMS Studio since I program in emacs, but having this in GAMS Studio would create a standard for code section and prevent me from fighting with co-authors who would not see the point of writing comments like this and would break my flow.

Some special characters do not display correctly in Sudio version 0.14.6

Hi all,
there is an issue when special characters are used in the GAMS studio. For instance, I need to read a special character ¤. In Notepad Plus++ (even under different fonts) and GAMSIDE the character is displayed correctly. But, in GAMS Studio not.

For example, the following statement in GAMSIDE (or Notepad Plus++) is displayed correctly:
SET v vintage/1900*2100,0,"-","¤"/

But, in GAMS Studio, I get:
SET v vintage/1900*2100,0,"-","�"/

The worst is that this strange character in Studio causes domain violation errors when reading parameters defined over this set via gdxrrw, becuase it does not appear in their data

Best regards
Evangelos Panos

Studio crashes when opening GAMS file from macOS finder

Description

When double clicking a file in macOS Finder that is associated with GAMS Studio (.gms, .lst, etc.), and Studio is not open yet, Studio crashes upon startup. When subsequently clicking the "Open again" button prompted by the macOS error alert, Studio starts up correctly, but does not open the intended file.

gams_bug_macos.mp4

When Studio is running in the background, opening the file works just fine!

Additional information

Tested on 2 Apple Silicon machines running macOS Monterey 12.5.1, GAMS 41.5.0, Studio 1.12.3

2023-01-17-gams_studio_crash_report.txt

Space in path do not work in GAMS on Linux and Mac OS X

Originally reported in #134.

On an unrelated side note: This reminded me: Whenever i try to run gams from the command line and the path contains a space, gams does not want to execute the file :( And I've to symlink the directory, from where it works just fine...

Currently this is a legacy of GAMS on Linux and macOS. If GAMS is used on Windows spaces in paths should work just fine.

Blank operations

As a user, I am particularly interested in an easy way to remove trailing blanks from all lines in a selected text range. But there are more blank operations that could be handy in general.

Suggested Steps

  • Add a new entry Blank Operations to the menu Edit below Advanced that allows the following operations in a sub-menu:
    • Trim Leading Spaces
    • Trim Trailing Spaces
    • Trim Leading and Trailing Spaces
    • EOL to Space
    • TAB to Space

Run Options not file specific/sticky anymore

In the studio version from 31.1 it appears that the run options (the text input box above the source window) is not really file/group specific anymore and switches to the last selected value of one file/group for all files. The behavior was different in 30.3.
I hope this is understandable, if not I will try to clarify it with a screenshot or alike :-)

For me this is somewhat unexpected and also counter-productive, as I tend to split code into separate steps that are run in order with restart points and therefore file/group specific run options.

GAMS Studio (X11/CentoOS 7) freezes when a lock file is set

Greetings,

I have successfully installed and run GAMS Studio via the AppImage in a high-performance computing environment running CentOS7.

I wanted to report the the program runs smoothly (great job, folks!), but can exhibit anomalous behavior in the event that a lock file is set. This likely occurred as a result of a network interruption when running GAMS Studio as an X11 application remotely over SSH. It appears that GAMS Studio wants to update the file

~/.config/GAMS/uistates.ini

But if the following file is present

~/.config/GAMS/uistates.ini.lock

then GAMS Studio freezes after about ~30 seconds (or if any command is initiated via a drop-down menu or dialog box) and the X11 window does not refresh. In that instance the only remedy is to terminate the studio process, and zombie window, via kill -9.

Once the user manually deletes ~/.config/GAMS/uistates.ini.lock , the application runs normally.

I am not sure that this might rise the the level of a bug, but it's certainly something for the FAQ, as it took about a week for my IT support to figure out what was going on.

Regards,

-i

File modified dialog flooding

On modifying a file loaded in GAMS Studio 0.9.2 outside of GAMS Studio, a File modified dialog pops up with the message <file path> has been modified externally. Reload?

Not just one but many of these dialogs are opened by GAMS Studio on successive external modifications. To get back to normal, these all have to be confirmed/cancelled.

Ubuntu 18.04: Studio 1.0.0 -- Settings export does not work

I was trying to export the settings to the file through the Settings menu. Hitting export and subsequently save sadly does not create a file. I tried this with the included version from the 31.0 beta release, and the released version from github.

Ubuntu 18.04: Shift+Arrow-Keys does not work

Hello,

i just installed the latest 31.0 beta release and noticed that in the Studio editor I can no longer mark text by holding down shift and moving the cursor by the arrow keys. The same error happens for me with 31.3, though not with the Studio version from 27.2.

Additionally on my home-machine, also Ubuntu 18.04., the numpad does not work for number input, but seems to be stuck in "arrow"-mode.

I hope this is somewhat understandable, if I can provide any more input, I'd be happy to :-)

Cannot open GAMS Studio: Missing library libjoatdclib64.so

Downloaded the version 1.6.0 from the releases, but it refuses to run with a notification telling the library libjoatdclib64.so is missing. Here is what I get from the command line run (by ..., I mean an error is repeated multiple times, so is truncated):

"[Could not initialize from gams system directory. Could not load shared library libjoatdclib64.so: libjoatdclib64.so: cannot open shared object file: No such file or directory"
...
Info [05:58:24]: Running:  -listdirs
Error [05:58:24]: Could not load shared library libjoatdclib64.so: libjoatdclib64.so: cannot open shared object file: No such file or directory
...
terminate called after throwing an instance of 'gams::studio::Exception'
  what():  [Could not initialize from gams system directory. Could not load shared library libjoatdclib64.so: libjoatdclib64.so: cannot open shared object file: No such file or directory

The cause of the error should be obvious: There is a missing library in the resulting AppImage.

System Information

OS: Fedora Workstation 33 (Linux kernel 5.11.13)
DE: Gnome 3.38.5
Tested versions:

  • 1.6.0
  • 1.5.5

GAMS Studio crashes when opening project from the welcome screen

Dear GAMS Studio dev team,

When trying to open a project, which includes also a GDX file in the project explorer, GAMS Studio crashes when the project is opened from the recent list of files and projects from the welcome screen. The issue is also valid for GAMS studio 1.17.0

However the project is opened without problems using the open project menu item, or even by double clicking the project name in windows explorer.

Best regards
Evangelos

GDX Viewer: Rearranging the data

I love the GAMS studio and I already prefer using it over the gams ide.

My top missing feature is to be able to rearrange the data in the GDX viewer:

  • Viewing 2-dimensional data in a table
  • Viewing indices to a separate filter area

Thanks and keep up the great work.

The desktop file is lacking a `Categories=` entry

The desktop file is lacking a Categories= entry in the *.desktop file.

According to the menu spec,

By including one of the Main Categories in an application's desktop entry file, the application will be ensured that it will show up in a section of the application menu dedicated to this category. If multiple Main Categories are included in a single desktop entry file, the entry may appear more than once in the menu.

Hence, please add at least one of the following in the Categories= key.

Main Category Description Notes
AudioVideo Application for presenting, creating, or processing multimedia (audio/video)
Audio An audio application Desktop entry must include AudioVideo as well
Video A video application Desktop entry must include AudioVideo as well
Development An application for development
Education Educational software
Game A game
Graphics Application for viewing, creating, or processing graphics
Network Network application such as a web browser
Office An office type application
Science Scientific software
Settings Settings applications Entries may appear in a separate menu or as part of a "Control Center"
System System application, "System Tools" such as say a log viewer or network monitor
Utility Small utility application, "Accessories"

In addition, you could specify one or more from the longer list of Additional Categories.

Please test the result with desktop-file-validate and make sure it passes.

electron-builder offers native support for this since v19.22.1.. Please see the category key at https://www.electron.build/configuration/linux-other.

References:

Group by containing directory in Project Explorer

When having source files with the same name but located in different directories open, their groups sort alphabetically in the Project Explorer. But such co-incident source files typically belong to different branches/repositories cloned/checked-out in different directories.

In the Project Explorer, it is possible to manually sort source files into groups, and rename groups to achieve the desired grouping on a per-branch/directory/repo-working-copy basis, but it would be helpful were the Project Explorer support a more automatic workflow to achieve the same.

For example, some heuristic that automatically groups the source files that can be reasonably assumed to belong together given the ((grand)parent)directory they are all contained in and whether that least-common-denominator directory has a .git or .svn subdirectory, then automatically renames the group according to that directory's name, and possibly adds a sub-hierarchy to the group that reflects subdirectories.

Error message with o=NUL

Running a script with gams transport o=NUL prevents a *.lst file from beeing created. This works as expected, but when doing this in GAMS studio, an error message is displayed:

error

Error [18:46:55]: Could not find GAMS

I have Ubuntu 19.10 and R 3.6.1. I installed GAMS and could run GAMS code from the command line.
The trouble started when I wanted to install GAMS Studio. My GAMS path is currently opt/gams/gams30.2_linux_x64_64_sfx, and it is in the PATH variable. I tried to launch the AppImage from the directory opt/gams/gams30.2_linux_x64_64_sfx/studio but I get an error: in GUI it says "Could Not display studio.AppImage" and in command line it says

"QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[32166:32166:0222/185342.241885:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180."

I tried

"
chmod a+x studio.AppImage
"
It didn't fix it. And then I tried

"
./studio.AppImage --no-sandbox
"
and I got "Unknown option 'no-sandbox'."

Now stuck since I couldn't find a lot of info with these, so I copied the AppImage file directly to the home directory (without root permission necessary) and I could launch the studio.AppImage file and I see the interface. However, it seems that now the studio cannot find GAMS because when I now run a gms file in the studio, it returns the error message

"Error [18:46:55]: Could not find GAMS"

So I suppose I have to now tell studio where GAMS is, but I don't know how to do that.

Any info would be great!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.