Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Termux: Issues with installation #808

Open
b9Joker108 opened this issue Apr 11, 2024 · 0 comments
Open

Termux: Issues with installation #808

b9Joker108 opened this issue Apr 11, 2024 · 0 comments
Labels
Status: Needs Triage Should be the default status for issues that have been acknowledged, but not yet processed. Type: Bug Indicates that WebProtege is not working as expected

Comments

@b9Joker108
Copy link

b9Joker108 commented Apr 11, 2024

Describe the bug

I tried to establish an account woth the Web app, but it wouldn't register my Gmail account. I then endeavoured to install it locally. But had the following errors:

~mvn clean package
# ...
# ...
# ...
[INFO] Running edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase                                 
[ERROR] Tests run: 11, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.013 s <<< FAILURE! - in edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase                                                   

[ERROR] shouldReturnDateRendering21(edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase)  Time elapsed: 0.004 s  <<< FAILURE!                                                                            java.lang.AssertionError:                                                                                                                                                                                   Expected: is "21st September 2011"                                                                         but: was "22nd September 2011"                                                                           at edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase.shouldReturnDateRendering21(TimeUtil_TestCase.java:96)                                                                                                                                                                                          

[ERROR] shouldReturnDateRendering30(edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase)  Time elapsed: 0 s  <<< FAILURE!                                                                                java.lang.AssertionError:                                                                                                                                                                                   Expected: is "30th September 2011"                                                                         but: was "1st October 2011"                                                                              at edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase.shouldReturnDateRendering30(TimeUtil_TestCase.java:102)                                                                                                                                                                                         

[ERROR] shouldReturnDateRendering2(edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase)  Time elapsed: 0.001 s  <<< FAILURE!                                                                             java.lang.AssertionError:                                                                                                                                                                                   Expected: is "2nd September 2011"                                                                          but: was "3rd September 2011"                                                                            at edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase.shouldReturnDateRendering2(TimeUtil_TestCase.java:78)                                                                                                                                                                                           

[ERROR] shouldReturnDateRendering3(edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase)  Time elapsed: 0.002 s  <<< FAILURE!                                                                             java.lang.AssertionError:                                                                                                                                                                                   Expected: is "3rd September 2011"                                                                          but: was "4th September 2011"                                                                            at edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase.shouldReturnDateRendering3(TimeUtil_TestCase.java:84)                                                                                                                                                                                           

[ERROR] shouldReturnDateRendering4(edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase)  Time elapsed: 0 s  <<< FAILURE!                                                                                 java.lang.AssertionError:                                                                                                                                                                                   Expected: is "4th September 2011"                                                                          but: was "5th September 2011"                                                                            at edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase.shouldReturnDateRendering4(TimeUtil_TestCase.java:90)                                                                                                                                                                                           

[ERROR] shouldReturnDateRendering(edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase)  Time elapsed: 0 s  <<< FAILURE!                                                                                  java.lang.AssertionError:                                                                                                                                                                                   Expected: is "1st September 2011"                                                                          but: was "2nd September 2011"                                                                            at edu.stanford.bmir.protege.web.shared.TimeUtil_TestCase.shouldReturnDateRendering(TimeUtil_TestCase.java:72)                                                                                                                                                                                            

[INFO] Running edu.stanford.bmir.protege.web.shared.mail.SetEmailAddressActionTestCase                
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in edu.stanford.bmir.protege.web.shared.mail.SetEmailAddressActionTestCase                                                
[INFO] Running edu.stanford.bmir.protege.web.shared.mail.GetEmailAddressActionTestCase               
 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in edu.stanford.bmir.protege.web.shared.mail.GetEmailAddressActionTestCase                                                  
   [INFO] Running edu.stanford.bmir.protege.web.shared.mail.SetEmailAddressResult_TestCase           
    [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in edu.stanford.bmir.protege.web.shared.mail.SetEmailAddressResult_TestCase                                            
    [INFO] Running edu.stanford.bmir.protege.web.shared.admin.ApplicationPreferences_TestCase          
   [INFO] Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s - in edu.stanford.bmir.protege.web.shared.admin.ApplicationPreferences_TestCase                                      
       [INFO] Running edu.stanford.bmir.protege.web.shared.permissions.GetProjectPermissionsAction_TestCase
  [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in edu.stanford.bmir.protege.web.shared.permissions.GetProjectPermissionsAction_TestCase                               
    [INFO] Running edu.stanford.bmir.protege.web.shared.color.Color_TestCase                              

[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in edu.stanford.bmir.protege.web.shared.color.Color_TestCase                                                              

[INFO] Running edu.stanford.bmir.protege.web.shared.shortform.DictionaryLanguageFilter_TestCase       [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in edu.stanford.bmir.protege.web.shared.shortform.DictionaryLanguageFilter_TestCase                                        [INFO] Running edu.stanford.bmir.protege.web.shared.viz.EntityGraphFilter_TestCase                    [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in edu.stanford.bmir.protege.web.shared.viz.EntityGraphFilter_TestCase                                                     [INFO] Running edu.stanford.bmir.protege.web.shared.merge.OntologyDiff_TestCase                       [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in edu.stanford.bmir.protege.web.shared.merge.OntologyDiff_TestCase                                                       [INFO] Running edu.stanford.bmir.protege.web.shared.watches.SetEntityWatchesAction_TestCase           [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in edu.stanford.bmir.protege.web.shared.watches.SetEntityWatchesAction_TestCase                                           [INFO]                                                                                                [INFO] Results:                                                                                       [INFO]                                                                                                [ERROR] Failures:                                                                                     [ERROR]   TimeUtil_TestCase.shouldReturnDateRendering:72                                              Expected: is "1st September 2011"                                                                          but: was "2nd September 2011"                                                                    [ERROR]   TimeUtil_TestCase.shouldReturnDateRendering2:78                                             Expected: is "2nd September 2011"                                                                          but: was "3rd September 2011"                                                                    [ERROR]   TimeUtil_TestCase.shouldReturnDateRendering21:96                                            Expected: is "21st September 2011"                                                                         but: was "22nd September 2011"                                                                   [ERROR]   TimeUtil_TestCase.shouldReturnDateRendering3:84                                             Expected: is "3rd September 2011"                                                                          but: was "4th September 2011"                                                                    [ERROR]   TimeUtil_TestCase.shouldReturnDateRendering30:102                                           Expected: is "30th September 2011"                                                                         but: was "1st October 2011"                                                                      [ERROR]   TimeUtil_TestCase.shouldReturnDateRendering4:90                                             Expected: is "4th September 2011"                                                                          but: was "5th September 2011"                                                                    [INFO]                                                                                                [ERROR] Tests run: 2253, Failures: 6, Errors: 0, Skipped: 0                                           [INFO]                                                                                                [INFO] ------------------------------------------------------------------------                       [INFO] Reactor Summary for webprotege 5.0.0-SNAPSHOT:                                                 [INFO]                                                                                                [INFO] webprotege ......................................... SUCCESS [  5.107 s]                       [INFO] webprotege-shared-core ............................. SUCCESS [ 38.500 s]                       [INFO] webprotege-shared .................................. FAILURE [01:13 min]                       [INFO] webprotege-server-api .............................. SKIPPED                                   [INFO] webprotege-server-lucene ........................... SKIPPED                                   [INFO] webprotege-server-core ............................. SKIPPED                                   [INFO] webprotege-client .................................. SKIPPED                                   [INFO] webprotege-server .................................. SKIPPED                                   [INFO] webprotege-cli ..................................... SKIPPED                                   [INFO] ------------------------------------------------------------------------                       [INFO] BUILD FAILURE                                                                                  [INFO] ------------------------------------------------------------------------                       [INFO] Total time:  02:10 min                                                                         [INFO] Finished at: 2024-04-12T04:47:10+10:00                                                         [INFO] ------------------------------------------------------------------------                       [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project webprotege-shared: There are test failures.                                             [ERROR]                                                                                               [ERROR] Please refer to /data/data/com.termux/files/home/webprotege/webprotege-shared/target/surefire-reports for the individual test results.                                                              [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.                                                                                                 [ERROR] -> [Help 1]                                                                                   [ERROR]                                                                                               [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.                   [ERROR] Re-run Maven using the -X switch to enable full debug logging.                                [ERROR]                                                                                               [ERROR] For more information about the errors and possible solutions, please read the following articles:                                                                                                   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException                [ERROR]                                                                                               [ERROR] After correcting the problems, you can resume the build with the command                      [ERROR]   mvn <args> -rf :webprotege-shared



**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
I hoped the installation would be a success'

**OS**
 
```zsh
❯ uname -a                                                                                            
Linux localhost 5.15.94-android13-8-27940245-abX910XXU1BWL1 #1 SMP PREEMPT Mon Dec 4 10:05:43 UTC 2023 aarch64 Android

Any help greatly appreciated.

Thanking you in anticipation
Beauford

@b9Joker108 b9Joker108 added Status: Needs Triage Should be the default status for issues that have been acknowledged, but not yet processed. Type: Bug Indicates that WebProtege is not working as expected labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Should be the default status for issues that have been acknowledged, but not yet processed. Type: Bug Indicates that WebProtege is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant