Giter Club home page Giter Club logo

Comments (14)

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina -- Thank you for alerting us to this issue. I will now see if I can reproduce the problem on my development system.

from mdsplus.

WwkChina avatar WwkChina commented on September 25, 2024

Hi @WwkChina -- Thank you for alerting us to this issue. I will now see if I can reproduce the problem on my development system.
image

Sorry, the screenshot I uploaded contains some inappropriate content. I have uploaded a new screenshot for you.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

MDSplus has a client-server architecture. Thus, it would be useful to know about the configuration of each computer.

  • Are both the MDSplus client computer and the MDSplus mdsip (archive) server running the same version of MDSplus?
  • If not, please list the MDSplus version (and operating system) for each.

The %SS-W-SUCCESS in your preceding post is a confusing code. Ignore the SUCCESS portion of the code. The W means Warning. And thus, the exception you received truly is an error.

I am configuring my development system to see if I can reproduce this MATLAB issue.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

No problem was seen when running the MDSplus regression tests for MATLAB on the following configuration:

  • client = MDSplus stable-7-142-80 (a dev build), with MATLAB R2023b on Ubuntu 20.04
  • server = MDSplus alpha-7-112-1 (running on RedHat)

I will now use Ubuntu 24.04 to repeat that experiment. (It will probably take a few days to install the software to test that configuration.)

Addendum: - the client was also running Python 3.8.10

from mdsplus.

WwkChina avatar WwkChina commented on September 25, 2024

Hi @WwkChina,

MDSplus has a client-server architecture. Thus, it would be useful to know about the configuration of each computer.

  • Are both the MDSplus client computer and the MDSplus mdsip (archive) server running the same version of MDSplus?
  • If not, please list the MDSplus version (and operating system) for each.

The %SS-W-SUCCESS in your preceding post is a confusing code. Ignore the SUCCESS portion of the code. The W means Warning. And thus, the exception you received truly is an error.

I am configuring my development system to see if I can reproduce this MATLAB issue.

Thank you very much for testing the bug I submitted. The version installed on the server is most likely 7.1-14 (apologies, as I am not an administrator, just a regular user, I can only check the output using yum list installed | grep mdsplus).

I saw one of your replies saying that there is no issue on Ubuntu 20.04. However, I am experiencing the same problem on Ubuntu 20.04, MATLAB 2021b, and MDSplus 7.139.6. I suspect that the issue might be due to the old version on the server, which may have some incompatibilities with the newer versions. Currently, I have tested version 7.132.0, and it works fine.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

Thank you for the additional detail. It is very helpful.

To display the version of MDSplus installed on the mdsip server, run the following Python script from your client computer. And then post the results to this GitHub issue. This is important because it will be useful to know if the server is running stable-7-1-14 (released on 28-Mar-2017) or alpha-7-1-14 (12-Jul-2016).

import MDSplus as mds
conn = mds.Connection('<replace_with_your_mdsip_server>')
result = conn.get('Tcl("show version",_version_str)')
version = conn.get('_version_str')
print(version)

There was a change made to MDSplus in 2021 that affected mdsip connections. It might be that the error you have encountered is caused by using a client MDSplus version that is newer than 2021 with a server MDSplus version that is older than 2021.

I will now conduct an experiment with that mismatched configuration (old server, new client) and see if I can reproduce the issue.

from mdsplus.

WwkChina avatar WwkChina commented on September 25, 2024

Hello @mwinkel-dev
After using the code you provided, I received the following output:
MDSplus version: 7.1.11
Git branch: stable
Git tag: stable_release-7-1-11
View:
https://github.com/MDSplus/mdsplus/tree/stable_release-7-1-11
Download:
https://github.com/MDSplus/mdsplus/archive/stable_release-7-1-11.tar.gz
Git commit: 8035279
Build date: Wed Sep 14 00:32:42 UTC 2016

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

Thank you for the above post. With that information about the MDSplus version on the server, I should be able to reproduce the issue. I will do that investigation tomorrow and post my results.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

It is not easy to create the configuration that exists at your site. Thus it will be difficult to troubleshoot this issue.

The stable-7-1-11 running on your server is from September 2016. An examination of the source code shows that it was compiled for Ubuntu14 (or earlier). Even though our build scripts use Docker containers, the scripts were unable to immediately build stable-7-1-11. Furthermore, we do not have an Ubuntu14 virtual machine needed for testing the issue.

Based on the information you have provided, all that can be concluded so far is this.

  • On the server side, your site is running stable-7-1-11 (14-Sep-2016) which behaves differently than our alpha-7-112-1 (25-Sep-2020) server.
  • On the client side, releases newer than stable-7-132-0 (16-Dec-2022 / 3-Nov-2021) behave differently for your site than our alpha-7-139-6 (25-Aug-2022) and stable-7-142-80 (21-May-2024).

I will now discuss this issue with the rest of the MDSplus software team to get advice on how to proceed with this investigation.

Addendum:

  • Easiest near-term solution for your site is probably just to keep the client computers on MDSplus stable-7-132-0.
  • Longer-term solution is to eventually upgrade the server to a newer version of MDSplus. And at that time, also update the client computers to the same MDSplus version.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

I will set up a virtual machine that I can use for building the stable-7-1-11 that is used as the server at your site. When I am able to build that old version of MDSplus, I can then compare it to the alpha-7-112-1 used on our server. That comparison will provide us with clues as to why the stable-7-142-80 client works with our server, but fails with your server.

This investigation will take several more days.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

A few questions about your server . . .

  • What operating system?
  • What version of the operating system?
  • Is it 32-bit or 64-bit?

I now have a 64-bit version of stable-7-1-11 on an Ubuntu 14 virtual machine. However, there is still some work to be done to configure it as a mdsip server. When that configuration work is finished, then I hope to be able to reproduce the problem you reported.

from mdsplus.

WwkChina avatar WwkChina commented on September 25, 2024

Hi @mwinkel-dev ,
Thank you for taking so much time to set up the test environment.
The server's operating system is CentOS, but I'm not sure whether it's version 7 or 6, and I'm also unsure about the system's architecture. Based on the compilation time of the MDSplus on the server side, it is most likely CentOS 6, 32-bit.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

Thanks for the additional information. In particular, 32-bit is likely an important clue. The majority of our automated regression tests are now for 64-bit platforms. (But we do have a few customers using 32-bit MDSplus.) So to investigate this issue, I will also include a virtual machine running 32-bit CentOS 6 with 32-bit MDSplus stable_7_1_11.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on September 25, 2024

Hi @WwkChina,

Apologies for this delayed response. (It has been a very busy two months.) I am assuming that this MATLAB issue is still a problem at your site, so am resuming the investigation. It will take me some time to set up the virtual machines needed to run the MDSplus versions in use at your site. I will post an update here next week.

from mdsplus.

Related Issues (20)

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.