processing / processing/processing4

Can't load native code to bring window to front using the absolute path: ... Hmm. Can't load native code to bring window to front.

オープン
#1,215 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
3

説明

Most appropriate sub-area of Processing 4?

I'm not sure

Processing version

4.4.6

Operating system

MacOS 15.6 (24G84)

Bug description

In console:

Hmm. Can't load native code to bring window to front using the absolute path: /Users/philipp/Documents/Processing/modes/PythonMode/mode/libjniosx.dylib.
Hmm. Can't load native code to bring window to front.
Steps to reproduce this
  1. run sketch

  2. close sketch preview window

  3. get error in console

snippet
# SOLVING EQUATIONS GRAPHICALLY

#set the range of x-values
xmin = -10
xmax = 10

#range of y-values
ymin = -10
ymax = 10

#calculate the range
rangex = xmax - xmin
rangey = ymax - ymin

def setup():
    global xscl, yscl
    size(600,600)
    xscl =  width / rangex
    yscl = -height / rangey
    
def draw():
    global xscl, yscl
    background(255) #white
    translate(width/2,height/2)
     #cyan lines
    strokeWeight(1)
    stroke(0,255,255)
    stroke(0,255,255)
    for i in range(xmin,xmax+1):
        line(i*xscl,ymin*yscl,i*xscl,ymax*yscl)
    for i in range(ymin,ymax+1):
        line(xmin*xscl,i*yscl,xmax*xscl,i*yscl)
    stroke(0) #black axes
    line(0,ymin*yscl,0,ymax*yscl)
    line(xmin*xscl,0,xmax*xscl,0)

But its doesn't matter which sketch

Additional context

No response

Would you like to work on the issue?

No, I’m just reporting the issue

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

macOS 15.6 上で PythonMode を使用して Processing 4.4.6 で報告を再現し、その後 modes/PythonMode/mode/libjniosx.dylib のネイティブライブラリ読み込みパスを調査します。プレビューウィンドウを閉じた後の sketch で動作を確認します。報告されたコンソールエラーなしでウィンドウが処理されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, macos, python
領域
desktop, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。