Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while Running Disk Image #20

Open
not-nef opened this issue Dec 20, 2021 · 40 comments
Open

Error while Running Disk Image #20

not-nef opened this issue Dec 20, 2021 · 40 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@not-nef
Copy link
Member

not-nef commented Dec 20, 2021

ok, so, i tried building a disk image from the current repo state (i only excluded the line mentioned in the previous issue) and when running the app, it throws me the following error:


Process:               TimerX [967]
Path:                  /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
Identifier:            TimerX
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           TimerX [967]
User ID:               501

Date/Time:             2021-12-20 20:14:28.654 +0100
OS Version:            Mac OS X 10.13.6 (17G14042)
Report Version:        12
Anonymous UUID:        5A231B38-67FD-F6BD-0CEC-C01BB4BA3048


Time Awake Since Boot: 190 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x5] Code Signature

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @executable_path/lib/Python
  Referenced from: /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
  Reason: no suitable image found.  Did find:
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1

Binary Images:
       0x10fc18000 -        0x10fc19ffb +TimerX (0) <856E75FB-2265-3365-96A2-A3FB7DAE57BB> /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
       0x1177b1000 -        0x1177fbadf  dyld (551.5) <CB9BFB56-4511-36F1-A546-891FF770C01C> /usr/lib/dyld

Model: Macmini5,1, BootROM 135.0.0.0.0, 2 processors, Intel Core i5, 2,3 GHz, 4 GB, SMC 1.76f0
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x830B, 0x4E54324743363442384841314E532D424520
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x830B, 0x4E54324743363442384841314E532D424520
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE4), Broadcom BCM43xx 1.0 (5.106.98.102.30)
Bluetooth: Version 6.0.7f22, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Samsung SSD 840 EVO 250GB, 250,06 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Extreme SSD
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Gaming Keyboard
USB Device: USB Gaming Mouse
USB Device: IR Receiver
Thunderbolt Bus: Mac mini, Apple Inc., 25.1

F

@sumeshir26 sumeshir26 changed the title F Error while Running Disk Image Dec 21, 2021
@im-coder-lg
Copy link
Member

So it's a Mac Mini... Can it run Catalina?

@im-coder-lg
Copy link
Member

I don't understand what this means:

Dyld Error Message:
  Library not loaded: @executable_path/lib/Python
  Referenced from: /Volumes/VOLUME/TimerX.app/Contents/MacOS/TimerX
  Reason: no suitable image found.  Did find:
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1
	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: code signature invalid for '/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python'

	/Volumes/TimerX/TimerX.app/Contents/MacOS/lib/Python: stat() failed with errno=1

Is it saying that it couldn't find the Python library?

@sumeshir26
Copy link
Member

@im-coder-lg Yeah, python doesent seem to run, now running a action which will generate a DMG to give to @not-nef

@im-coder-lg
Copy link
Member

👍

@im-coder-lg
Copy link
Member

Link doesn't work.

@sumeshir26
Copy link
Member

@not-nef Try this:
TimerX(1).zip

@not-nef
Copy link
Member Author

not-nef commented Dec 21, 2021

So it's a Mac Mini... Can it run Catalina?

no, it cant run any newer version then it already does.

@sumeshir26
Copy link
Member

@not-nef Run that DMG(It should work)

@im-coder-lg
Copy link
Member

im-coder-lg commented Dec 21, 2021 via email

@not-nef
Copy link
Member Author

not-nef commented Dec 21, 2021

@not-nef Try this:

TimerX(1).zip

It says i need macos 10.14 or newer.

ill MAYBE be able to test it on a mac with big sur, but i cant promise.

@im-coder-lg
Copy link
Member

im-coder-lg commented Dec 21, 2021 via email

@not-nef
Copy link
Member Author

not-nef commented Dec 21, 2021

no its not a company laptop, its the macmini of my dad.

@im-coder-lg
Copy link
Member

Does it have Big Sur? If it does, tell your dad that you want to test an installer of an open-source project and that you will uninstall it after the test, since that could relieve your dad's mind about viruses and it will free up some disk space.

@im-coder-lg
Copy link
Member

im-coder-lg commented Dec 21, 2021

Also, noticed this(from @not-nef, no offense :))(you forgot to delete your edit):

epic quote fail

Don't worry, I am not offended, it's Vivaldi Mail(the best way to keep updated though) and GitHub, they don't format Markdown on emails. Anyway, back to the topic. Should we add a Python Library in the so-called @executable-path? Moreover @sumeshir26 can you run the release draft action of Windows and macOS? I wanna try a teardown with PeaZip. You don't need to send a link to download, you can just run the action and inform me, I'll take care of the rest.

@sumeshir26
Copy link
Member

In the actions tab, Look at artifacts produced in the latest run of the Release Build workflow.

@sumeshir26
Copy link
Member

You know what, I will give you write acess to this repo so you can do these things without waiting for me.

@im-coder-lg
Copy link
Member

I didn't recieve the notif yet, can you check that?

@not-nef
Copy link
Member Author

not-nef commented Dec 21, 2021

Bad news, i tried running the app on a big sur mac. If i open it, you can see TimerX in the Menu bar (the gui doesnt load tho) and after a split second it just closes.

i suggest dropping support for macos.

@im-coder-lg
Copy link
Member

We need some logs, can you try making a recording + install logs to help us in this? Also, I will have to use PeaZip for a teardown so prepare for that too!

@not-nef
Copy link
Member Author

not-nef commented Dec 21, 2021

this is getting a bit too complicated for me, and i wont install anything on my dads mac as he doesnt like that (not because he doesnt know anything about it, but he just doesnt want it dont ask why).

@not-nef
Copy link
Member Author

not-nef commented Dec 21, 2021

god why is macos so important to you guys

@im-coder-lg
Copy link
Member

god why is macos so important to you guys

Well, if you look at the computer(desktop/laptop) share in today's market and just compare it to the air share, Windows is like Nitrogen, macOS is like Oxygen and Linux is like the remaining 1% of mixed gases(different distros). We could use the Wine compatibility layer but that needs to be installed via HomeBrew. So we thought of making MSIs, which are successful, then DMGs, RPMs and using a Linux tool called Alien, convert the RPM to DEB.
Maybe we could just ask users to use the Wine layer till we successfully add support.

@sumeshir26
Copy link
Member

@not-nef Thanks for your help, will tell when MacOS support is re-added.

@sumeshir26
Copy link
Member

@im-coder-lg Continue with your teardown...

@im-coder-lg
Copy link
Member

Hey @sumeshir26 since we have separate actions for each OS, can we remove the old release.yml too? Best done in @not-nef's fork since that'd be easier.

@sumeshir26
Copy link
Member

No! If you run that, it successfully generates one for all platforms and creates a release successfully. I spent a week on that!

@im-coder-lg
Copy link
Member

im-coder-lg commented Dec 22, 2021

Well, didn't do that! Phew! I needed to know if we needed that since I used the same name on my old PRs.

@im-coder-lg
Copy link
Member

Anyway, teardown results:
TimerX.zip
macOS seems to run Windows apps though(check the TimerX.app/Contents/MacOS directory)... Apple, what have you done here?

@im-coder-lg
Copy link
Member

If you run that, it successfully generates one for all platforms and creates a release successfully.

Can I test that? Just curious. Also, did you mark the release as a draft(in the YAML code)? If you didn't, I will, since we need to document the changes directly, not via the GitHub Actions. There's a new feature that allows you to automatically document all changes, so I will make sure it creates a draft release and try the auto release note feature. If it releases TimerX, I'd never ever use the auto notes feature.

@sumeshir26
Copy link
Member

Yes, pease!

@im-coder-lg
Copy link
Member

Well, failed in the macOS steps, fixing that in my branch. For the delay, I was checking my notifs and clearing some Vivaldi clutter.

@not-nef not-nef closed this as completed Jan 2, 2022
@sumeshir26
Copy link
Member

Reopening because not fixed

@sumeshir26 sumeshir26 reopened this Jan 3, 2022
@not-nef
Copy link
Member Author

not-nef commented Jan 3, 2022

okay, i thought you dropped macos support, my fault

@sumeshir26 sumeshir26 added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Jan 7, 2022
@sumeshir26
Copy link
Member

Hey guys, The Go project sounds reallay awsome, Ill help however I can
Ps. i commented here because gh teams suck
Pps. Im impressed with codespaces so far... Goodbye Gitpod i guess?

@sumeshir26
Copy link
Member

@Futura-Py/Reviewers

@im-coder-lg
Copy link
Member

Sir, yes, sir! I just have to add some framework. Now my school's making me work into the actual regular timings, so devel would be really slow.

@not-nef
Copy link
Member Author

not-nef commented Jun 13, 2022

Guys i just saw we have gh pages, so we wouldnt need to host our website on netlify!

@sumeshir26
Copy link
Member

Yeah!

@im-coder-lg
Copy link
Member

But Netlify has live previews. According to me, that's better than cloning our documentation files locally and running Docusaurus via Yarn. It seems better. Maybe for an org website it's fine.

@not-nef
Copy link
Member Author

not-nef commented Jun 13, 2022

mhm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
Development

No branches or pull requests

3 participants