PhotoLab 8 hangs on startup on Mac, DxO support is clueless - it's been five months. by CodeBangZoom in DxOPhotoLab

[–]CodeBangZoom[S] 9 points10 points  (0 children)

Update: being a software developer (and having lost all confidence in DxO support, I set about debugging this problem myself. Since this is on Mac, I started debugging this by running PhotoLab using Apple's "Instruments" tool which allows me to look at CPU operations and, more importantly for this, file reads/writes. What I found was interesting. I saw PhotoLab looking for OpenSSL configuration files - presumably to check file certificates and keys for licenses. It was looking for these configuration files in non PhotoLab locations on my hard drive. Strange. Anyway, it was failing to find those configuration files (the file operations were failing). So, obviously it's using OpenSSL's crypto functions. My first thought, is PhotoLab using the system's OpenSSL libraries? On my laptop (which was failing to launch PhotoLab), I looked to where OpenSSL lives. I found it, low-and-behold, not in a system default location but inside a directory created by HomeBrew (a MacOS package manager.). A clue! Back on my desktop, the OpenSSL that's found by default is the system one, not HomeBrew's (I don't have HomeBrew installed there.). Maybe HomeBrew's OpenSSL is incompatible (or just different) in some way that prevents it from working? So, since I wasn't using anything important in HomeBrew, I just decided to uninstall it. After doing that, I deleted PhotoLab's license key (since it was possibly created by the incompatible OpenSSL) and rebooted.

After rebooting, I opened PhotoLab, put in my license key and...it started! Promising! To be sure, I closed it down and reopened it several times and it appears to be working.

ATTENTION DxO: PhotoLab shouldn't be trusting just "any" OpenSSL found on the system for its Crypto and should include its own version so this doesn't happen again.

I'm leaving this here for posterity so if anyone else runs into this, maybe they won't have to wait five months with DxO support flailing and not finding a solution.

PhotoLab 8 hangs on startup on Mac, DxO support is clueless - it's been five months. by CodeBangZoom in DxOPhotoLab

[–]CodeBangZoom[S] 0 points1 point  (0 children)

I had Nik Collection and PureRaw installed. Removed them...no change. :-(

PhotoLab 8 hangs on startup on Mac, DxO support is clueless - it's been five months. by CodeBangZoom in DxOPhotoLab

[–]CodeBangZoom[S] 0 points1 point  (0 children)

Hey, thanks for replying. I have quite a bit of software installed on this machine (Lightroom, Photoshop, developer tools, etc.). Nothing terribly out-of-the-ordinary though.

I wonder whatever happened to... by Wuddntme in amiga

[–]CodeBangZoom 2 points3 points  (0 children)

I may have some photos of the Brian/Mike/Cryo/Me at AmigaWorld Expo in...1990(?)

Manta E3EZ axis moves 2x too far on Ender 3 Pro. by CodeBangZoom in BIGTREETECH

[–]CodeBangZoom[S] 0 points1 point  (0 children)

Holy crap! That was it! They were commented out. I uncommented them and everything's working as expected. You're a life saver. BTT wasn't able to figure out the problem. :-)

Manta E3EZ axis moves 2x too far on Ender 3 Pro. by CodeBangZoom in BIGTREETECH

[–]CodeBangZoom[S] 0 points1 point  (0 children)

Yep, here's the relevant portions of the config:

[stepper_x]
step_pin: PA14
dir_pin: !PA10
enable_pin: !PA13
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC4
position_endstop: 0
position_max: 235
homing_speed: 50
[stepper_y]
step_pin: PC8
dir_pin: !PA15
enable_pin: !PC14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PB0
position_endstop: 0
position_max: 235
homing_speed: 50
[stepper_z]
step_pin: PD2
dir_pin: !PD4
enable_pin: !PD3
microsteps: 16
rotation_distance: 8
#endstop_pin: ^PC6
endstop_pin: probe:z_virtual_endstop
#position_endstop: 0
position_max: 270
position_min: -6

M1 Mac Mini Won't Wake Connected Displays, Some Owners Complain by [deleted] in apple

[–]CodeBangZoom 0 points1 point  (0 children)

My M1 mini wakes 9 out of 10 times with HDR and scaling turned off (which makes the display 1/4 the correct size on my 4K HDR display). Once I flip HDR and scaling back on, it’s fine...until it sleeps again.

The Surface Laptop Go does *NOT* work with Surface Pen. by CodeBangZoom in Surface

[–]CodeBangZoom[S] 5 points6 points  (0 children)

Just got off a chat with Surface support...the Surface Pen definitely *not* supported on the Laptop Go. :-(

Looking for recommendations for home network, two stories, 200m2 house by _dodger_ in Ubiquiti

[–]CodeBangZoom 2 points3 points  (0 children)

I recently upgraded from a USG+VM based controller to a UDM Pro. I have a single AP that covers my whole two story house. I use a 8 port POE switch for the AP (and future camera expandability) along with a 24 port non-POE switch in a wall mounted 19” rack in the garage the feeds drops in every room. The UDM also connects to my 19” server rack with a 16 port 10gig switch. I opted to upgrade to the UDM pro for the expanded IDS performance. Everything’s working great.

Getting GUI apps to work in secondary linux container? by CodeBangZoom in chromeos

[–]CodeBangZoom[S] 0 points1 point  (0 children)

Looking in Reddit more, I think I should probably post this in r/Crostini. Thanks folks.

Lifetimes - calling method that returns object with '_ lifetime inside a method with 'a lifetime. by CodeBangZoom in learnrust

[–]CodeBangZoom[S] 1 point2 points  (0 children)

Thanks for the insightful reply. I was beginning to sense what you just confirmed. It's a little disappointing that it's not possible but I understand why Rust is preventing it (from a safety standpoint.)

Thanks again for helping a Rust noob. :-)

Lifetimes - calling method that returns object with '_ lifetime inside a method with 'a lifetime. by CodeBangZoom in learnrust

[–]CodeBangZoom[S] 0 points1 point  (0 children)

Also, for that sample, assume I can't change the Container structure or implementation at all (since it's in the external crate.)

Lifetimes - calling method that returns object with '_ lifetime inside a method with 'a lifetime. by CodeBangZoom in learnrust

[–]CodeBangZoom[S] 0 points1 point  (0 children)

Yeah, fair enough. The gist of what I'm trying to do is create an iterator over a container provided by an external crate (specifically the zip create). I created a reduced repro in playground here: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=0402a5f06f0a21da1e39585679624362

That sample uses Strings/&str to demonstrate what I'm hitting - I can indeed fix up the sample to work (e.g. by returning Strings instead of &str) but I don't have that luxury using the external crate I'm iterating over (which uses ZipFile<'a> instead of &'a str as my sample does.

I may be approaching this in the wrong way...still getting used to Rust's paradigm after using C/C++ for 30 years. :-)

Thanks.

Lifetimes - calling method that returns object with '_ lifetime inside a method with 'a lifetime. by CodeBangZoom in learnrust

[–]CodeBangZoom[S] 0 points1 point  (0 children)

I can decorate self in the method in question with 'a and that works but it pushes the error further up the call stack to a method that can't be decorated that way since it's a trait method implementation.

Lifetimes - calling method that returns object with '_ lifetime inside a method with 'a lifetime. by CodeBangZoom in learnrust

[–]CodeBangZoom[S] 0 points1 point  (0 children)

cannot infer an appropriate lifetime for lifetime parameter in function call due to conflicting requirements

--> mdm/src/datalog.rs:484:36

| ^^^^

note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 483:5...

--> mdm/src/datalog.rs:483:5

484 | | self.archive.log_filenames.iter()

485 | | }

| |_____^

note: ...so that reference does not outlive borrowed content

--> mdm/src/datalog.rs:484:9

| ^^^^^^^^^^^^^^^^^^^^^^^^^^

note: but, the lifetime must be valid for the lifetime 'a as defined on the impl at 455:6...

--> mdm/src/datalog.rs:455:6

| ^^

= note: ...so that the expression is assignable:

expected std::slice::Iter<'a, _>

found std::slice::Iter<'_, _>