• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

<button aria-describedby="--stacks-s-tooltip-i6cr6veo" aria-label="Bookmark" aria-pressed="false" class="js-bookmark-btn s-btn s-btn__unset c-pointer py4 js-gps-track" data-controller="s-tooltip" data-gps-track="post.click({ item: 1, priv: 0, post_type: 1 })" data-s-tooltip-placement="right" data-selected-classes="fc-yellow-600"></button><svg aria-hidden="true" class="mln2 mr0 svg-icon iconHistory" height="18" viewbox="0 0 19 18" width="19"></svg>

 

I'm working with linux(RHEL 7.4), python 3.6.10, pyinstaller 3.6/4.1.dev0

As following simple test code: test.py: import ssl,socket context = ssl.create_default_context() print(context.get_ca_certs())

I use pyinstaller to make a package on workstation A, and run it on workstation B(the two workstations' OS has some unknown differences), and in B it would print nothing.

However, following cases all work:

  1. run python script directly on both A & B, like python test.py
  2. run generated file on A
  3. run generated file on workstation C, which has the same OS as A

So I'm just wondering if the cacert.pem reference(or location) changes between A & B? How should I debug/fix this issue? Btw, I'm using miniconda on A, and for example if I remove envs/ENV/ssl/cacert.pem, directly run 'python test.py' print nothing, however, using pyinstaller generate a package and run, it shows the default ca certs... So I suppose there should be something wrong with the package process.

Thanks in advance.