Skip to content

error in sutime.py #40

Description

@agrawal-b

In sutime.py, there are certain jar files which are marked as required, and in jars those files have been updated and therefore now sutime.py is showing error, so to resolve this, i manually changed the names of those 'required jar files' in sutime.py.
can you please fix this issue, so that I do not need to manually change the names of jar files.

Activity

  1. Utkichaps commented on Jul 19, 2020

    @Utkichaps

    Yeah for some reason the sutime.py file in the repo and the one after doing pip install don't match even though they are the same version. The code in the repo has the correct version of the java files

  2. kaushikacharya commented on Aug 13, 2020

    @kaushikacharya

    Yeah for some reason the sutime.py file in the repo and the one after doing pip install don't match even though they are the same version. The code in the repo has the correct version of the java files

    Version of java dependencies have been changed in this commit on 27th Oct 2018: 67c4798

    https://pypi.org/project/sutime/#history
    pip install version=0.2.0 is from Jan 11, 2017
    (Though there have been few more releases, but the default version is 0.2.0)

    Hence when we download dependencies using the updated pom.xml, there are mismatches regarding dependency jars.

    Solution:
    Either take the latest version from pypi or install from the local directory.

    Regarding pom.xml
    In few threads(e.g. #33), people have mentioned to copy pom.xml into sutime folder.
    But in my opinion, that's not required.
    Instead of that change:
    mvn dependency:copy-dependencies -DoutputDirectory=./jars
    to
    mvn dependency:copy-dependencies -DoutputDirectory=./sutime/jars

    Would request @FraBle to make this change.

    @Utkichaps
    Thanks for
    a. #41 (comment) Showing visually the version differences in jars.
    b. #41 (comment) Mentioning the changes needed to convert java.lang.String to python str.

    These helped in making the code run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions