Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] FreeCAD 0.20.1 Crashes in the AddonManager due to reported minor version being a string
@ 2022-09-04 15:17 mkalte666
  2022-09-04 16:35 ` [ISSUE] [CLOSED] " sgn
  0 siblings, 1 reply; 2+ messages in thread
From: mkalte666 @ 2022-09-04 15:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

New issue by mkalte666 on void-packages repository

https://github.com/void-linux/void-packages/issues/39099

Description:
### Is this a new report?

Yes

### System Info

Void 5.18.19_1 x86_64 AuthenticAMD notuptodate rrmFFFFFFF

### Package(s) Affected

freecad-0.20.1_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

no. 

### Expected behaviour

Open the Addon manager, manage addons

### Actual behaviour

Open the Addon manager, i get 
```

Traceback (most recent call last):
  File "/usr/lib/freecad/Mod/AddonManager/addonmanager_workers.py", line 175, in run
    fc_minor = int(FreeCAD.Version()[1])
ValueError: invalid literal for int() with base 10: '20.1'
```

### Steps to reproduce

As above, open the Addon manager on the most recent version.

This likely happens because in the template, the version within CMakeLists.txt is modifed here 

https://github.com/void-linux/void-packages/blob/4c895c78a183b21b91015bcf0c1d6df5de5d74b2/srcpkgs/freecad/template#L47 

so that the "minoir" version includes the patch. However, this changes stuff down the line in the build. i.E., freecads python console reports 

```
>>> FreeCAD.Version()
['0', '20.1', '1', '3_voidlinux', 'VoidLinux package freecad', '(from release)']
```
, the "20.1" causing issues. The CMakeLists.txt of FreeCAD also contains the minor version however, so i wonder if one could just remove that line. 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] FreeCAD 0.20.1 Crashes in the AddonManager due to reported minor version being a string
  2022-09-04 15:17 [ISSUE] FreeCAD 0.20.1 Crashes in the AddonManager due to reported minor version being a string mkalte666
@ 2022-09-04 16:35 ` sgn
  0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2022-09-04 16:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]

Closed issue by mkalte666 on void-packages repository

https://github.com/void-linux/void-packages/issues/39099

Description:
### Is this a new report?

Yes

### System Info

Void 5.18.19_1 x86_64 AuthenticAMD notuptodate rrmFFFFFFF

### Package(s) Affected

freecad-0.20.1_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

no. 

### Expected behaviour

Open the Addon manager, manage addons

### Actual behaviour

Open the Addon manager, i get 
```

Traceback (most recent call last):
  File "/usr/lib/freecad/Mod/AddonManager/addonmanager_workers.py", line 175, in run
    fc_minor = int(FreeCAD.Version()[1])
ValueError: invalid literal for int() with base 10: '20.1'
```

### Steps to reproduce

As above, open the Addon manager on the most recent version.

This likely happens because in the template, the version within CMakeLists.txt is modifed here 

https://github.com/void-linux/void-packages/blob/4c895c78a183b21b91015bcf0c1d6df5de5d74b2/srcpkgs/freecad/template#L47 

so that the "minor" version includes the patch. However, this changes stuff down the line in the build. i.E., freecads python console reports 

```
>>> FreeCAD.Version()
['0', '20.1', '1', '3_voidlinux', 'VoidLinux package freecad', '(from release)']
```
, the "20.1" causing issues. The CMakeLists.txt of FreeCAD also contains the minor version however, so i wonder if one could just remove that line. 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-04 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-04 15:17 [ISSUE] FreeCAD 0.20.1 Crashes in the AddonManager due to reported minor version being a string mkalte666
2022-09-04 16:35 ` [ISSUE] [CLOSED] " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).