View Issue Details

IDProjectCategoryView StatusLast Update
0038262LazarusPackagespublic2021-05-18 18:23
ReporterTrevor Roydhouse Assigned ToBalázs Székely  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platformx86_64OSFreeBSD 
Product Version2.0.10 
Summary0038262: OPM unable to open packages
DescriptionI cannot install any packages from Package > Online Package Manager - always the same error "Cannot open package file".

See image in post at https://forum.lazarus.freepascal.org/index.php/topic,52645.msg388515.html#msg388515
Steps To ReproduceTry to install any package via OPM.
Tagsfreebsd, OPM, packages
Fixed in Revision
LazTarget
WidgetsetGTK 2
Attached Files

Activities

Juha Manninen

2021-02-28 12:59

developer   ~0129232

This may be a local configuration or network issue.

Trevor Roydhouse

2021-02-28 13:32

reporter   ~0129235

It's not a network issue because it downloads the .lpk file. Local configuration issue... I guess it's possible.

Balázs Székely

2021-02-28 19:21

developer   ~0129250

I don't have FreeBDS to test, but it must be a permission issue. The packages are open via the package editing interface. If OPM cannot open a package, means that the IDE cannot open the package.
Can you install a random package via the standard Install/Uninstall package... dialog? Please try to install AnchorDocking for example.

Trevor Roydhouse

2021-05-14 06:17

reporter   ~0130864

Yes, I installed AnchroDiocking via the standard Install/Uninstall package dialog with no problems.

I just compiled Lazarus trunk (in my home directory) and have thje same problem.

I have attached window captures to demonstrate the issue.
opm.png (16,830 bytes)   
opm.png (16,830 bytes)   
opm2.png (8,205 bytes)   
opm2.png (8,205 bytes)   
opm3.png (22,311 bytes)   
opm3.png (22,311 bytes)   

Balázs Székely

2021-05-14 15:59

developer   ~0130872

Thanks for testing. I will install FreeBSD to a VM.

Balázs Székely

2021-05-18 18:23

developer   ~0130941

@Trevor
You have to fight for your meal with FreeBSD. It took me two hours to install it, but in the end everything went well. :)
I also installed Lazarus via the package system, but the good news ends here:
1. I cannot rebuild Lazarus with profile: Debug IDE
2. I cannot edit files inside ($LazarusDir/IDE)

However if start Lazarus with sudo everything works like magic. It's a permission issue after all. I made a small video with Lazarus running as sudo: https://youtu.be/3Y1lAt5Nsss (please switch to 720p).
Why Lazarus behaves like this on FreeBSD I cannot tell.

Issue History

Date Modified Username Field Change
2020-12-26 21:07 Trevor Roydhouse New Issue
2020-12-26 21:08 Trevor Roydhouse Tag Attached: freebsd
2020-12-26 21:08 Trevor Roydhouse Tag Attached: packages
2020-12-26 21:08 Trevor Roydhouse Tag Attached: OPM
2021-02-28 12:58 Juha Manninen Assigned To => Balázs Székely
2021-02-28 12:58 Juha Manninen Status new => assigned
2021-02-28 12:59 Juha Manninen Note Added: 0129232
2021-02-28 13:32 Trevor Roydhouse Note Added: 0129235
2021-02-28 19:21 Balázs Székely Note Added: 0129250
2021-05-14 06:17 Trevor Roydhouse Note Added: 0130864
2021-05-14 06:17 Trevor Roydhouse File Added: opm.png
2021-05-14 06:17 Trevor Roydhouse File Added: opm2.png
2021-05-14 06:17 Trevor Roydhouse File Added: opm3.png
2021-05-14 15:59 Balázs Székely Note Added: 0130872
2021-05-18 18:23 Balázs Székely Note Added: 0130941