View Issue Details

IDProjectCategoryView StatusLast Update
0033337Open CASCADEOCCT:DRAWpublic2023-03-27 11:46
Reporterdpasukhi Assigned Todpasukhi  
PrioritynormalSeveritymajor 
Status verifiedResolutionfixed 
PlatformLinuxOSUbuntu 20.04 
Product Version7.7.0 
Target Version7.8.0 
Summary0033337: DRAW - Can't load plugins on Linux OS
DescriptionI have some problems with loading plugins.
There a few problem: symbol '\r' and incorrect parsing of plugins list.

gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
GUI - Konsole from gnome
Steps To Reproducetest bugs demo bug23671
TagsNo tags attached.
Test case numberbugs demo bug23671

Relationships

has duplicate 0023671 closedbugmaster pload function does not work if $DRAWDEFAULT file has win format 

Activities

dpasukhi

2023-02-27 16:45

administrator   ~0113208

There is problem with Resource_Manager.
We have trouble to cleaing \r symbol.
As soon, as update parsing resource with cleaning \r all working well

git

2023-03-09 19:25

administrator   ~0113247

Branch CR33337 has been created by dpasukhi.

SHA-1: 721c4b432172a63099967402bca92fa035b27d0e


Detailed log of new commits:

Author: dpasukhi
Date: Thu Mar 9 16:24:11 2023 +0000

    0033337: DRAW - Can't load plugins on Linux OS
    
    WSL 2 have windows FileSystem and as a result we have \r symbols before \n
    For this cases we can just remove \r\n (\n is a last symbol) for the node value.

git

2023-03-10 02:27

administrator   ~0113253

Branch CR33337 has been updated forcibly by dpasukhi.

SHA-1: b989082fe113f89aa5a3d0fa1dd56b2ad6ea7a89

dpasukhi

2023-03-10 12:31

administrator   ~0113256

Dear ika,
please review CR33337

Ubuntu tests are ok, see
http://jenkins-test-10.nnov.opencascade.com/view/CR33337-master-dpasukhi/view/COMPARE/
http://jenkins-test-10.nnov.opencascade.com/view/CR33337-master-dpasukhi/view/TESTING/job/CR33337-master-dpasukhi-OCCT-Ubuntu2004-64-opt-test-restart/HTML_20Report
There are some problems with Jenkins (windows OS) But This ticket only for the Linux OS. So, We can believe that all should be fine.

I impliment cleaning \r sybmols on the line end. This can be happened if we are working with windows text on Linux OS.

ika

2023-03-10 15:23

developer   ~0113260

No remarks.

Dear bugmaster,
please integrate CR33337

vglukhik

2023-03-27 11:46

administrator   ~0113328

Combination -
OCCT branch : IR-2023-03-24
Products branch : IR-2023-03-24
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Ubuntu2004-64:
OCCT
Total CPU difference: 17860.210000000374 / 18523.170000000337 [-3.58%]
Products
Total CPU difference: 11917.870000000039 / 12541.969999999983 [-4.98%]
Windows-64-VC142:
OCCT
Total CPU difference: 19289.6875 / 19753.9375 [-2.35%]
Products
Total CPU difference: 13790.3125 / 13932.359375 [-1.02%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

Related Changesets

occt: master 5e432742

2023-03-09 16:24:11

dpasukhi


Committer: vglukhik Details Diff
0033337: DRAW - Can't load plugins on Linux OS

WSL 2 have windows FileSystem and as a result we have \r symbols before \n
For this cases we can just remove \r\n (\n is a last symbol) for the node value.
Affected Issues
0033337
mod - src/Resource/Resource_Manager.cxx Diff File
mod - tests/bugs/demo/bug23671 Diff File

Issue History

Date Modified Username Field Change
2023-02-27 13:24 dpasukhi New Issue
2023-02-27 13:24 dpasukhi Assigned To => akaftasev
2023-02-27 13:26 dpasukhi Description Updated
2023-02-27 16:45 dpasukhi Note Added: 0113208
2023-02-28 15:19 dpasukhi Assigned To akaftasev => dpasukhi
2023-03-06 18:54 ebelouso Target Version 7.7.1 => 7.8.0
2023-03-09 19:25 git Note Added: 0113247
2023-03-10 02:27 git Note Added: 0113253
2023-03-10 02:28 dpasukhi Test case number => bugs demo bug23671
2023-03-10 12:31 dpasukhi Assigned To dpasukhi => ika
2023-03-10 12:31 dpasukhi Status new => resolved
2023-03-10 12:31 dpasukhi Steps to Reproduce Updated
2023-03-10 12:31 dpasukhi Note Added: 0113256
2023-03-10 15:23 ika Assigned To ika => bugmaster
2023-03-10 15:23 ika Status resolved => reviewed
2023-03-10 15:23 ika Note Added: 0113260
2023-03-12 15:27 dpasukhi Relationship added has duplicate 0023671
2023-03-27 11:20 vglukhik Changeset attached => occt master 5e432742
2023-03-27 11:20 dpasukhi Assigned To bugmaster => dpasukhi
2023-03-27 11:20 dpasukhi Status reviewed => verified
2023-03-27 11:20 dpasukhi Resolution open => fixed
2023-03-27 11:46 vglukhik Note Added: 0113328