Comments (15)
I found an empty folder, and after deleting it the problem was solved. Thank you.
from cork.
@buresdv I have built the latest version and tested it. The issue had been resolved. Thank you.
from cork.
Would you be able to run Cork through Xcode? That would help me tremendously with tracking down what went wrong.
from cork.
Tried running compiling and running through Xcode. Same result.
I get 3 issues:
HelpButton
'controlShadowColor' was deprecated in macOS 11.0: Use a color that matches the semantics being used, such as
separatorColor
'controlShadowColor' was deprecated in macOS 11.0: Use a color that matches the semantics being used, such as
separatorColor
Install Package
Variable 'packageToInstall' was never used; consider replacing with '_' or removing it
I get this error when trying to run through Xcode:
Cork/Get Contents of Folder.swift:57: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “INSTALL_RECEIPT.json” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/opt/homebrew/Cellar/php/8.1.13/INSTALL_RECEIPT.json, NSUnderlyingError=0x6000007e84e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2023-03-31 14:05:07.144081+0200 Cork[29871:227244] Cork/Get Contents of Folder.swift:57: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “INSTALL_RECEIPT.json” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/opt/homebrew/Cellar/php/8.1.13/INSTALL_RECEIPT.json, NSUnderlyingError=0x6000007e84e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
(lldb)
from cork.
Can you try building from the branch install-receipt-missing-fix
? I tried fixing it, so just confirm if I did it right.
from cork.
No errors, starts without problems now.
Thanks for the quick fix!
from cork.
No problem 😊 Expect an update containing the fix soon
from cork.
After pulling the update, the program still crashes.
from cork.
@steveshi Has this crash happened to you in other previous versions? Because looking at the code, if Cork crashes at that step, something is seriously wrong with your Homebrew installation.
At that point, it looks through the folder that contains all the Formulae. And this crash can only happen only if your Formulae folder exists and is accessible, one of your packages is registered with Homebrew as working, but the package does not have any versions installed, which is impossible.
from cork.
Since building version 0.6, it has been crashing constantly.
from cork.
But versions 0.5 and earlier work normally without crashing.
from cork.
I suppose that's when I switched from Homebrew's extremely slow system to my own custom system, which checks for more problems than Homebrew.
Anyway, how many installed packages do you have installed? If it's not too many, you could have a look through the folder /opt/homebrew/Cellar
(Apple Sillicon) or /usr/local/Cellar
(Intel) to see if there are any folders that don't have any sub-folders in them (every folder in that Cellar folder should have at least one sub-folder).
If there are no folders that have any sub-folders, it's something different. It would be really useful to know to know what I'm supposed to fix.
from cork.
No problem 😊 I will create an issue that will add this checking into Cork and offer to fix it for you, so this doesn't happen in the future.
from cork.
@steveshi I have created an issue for this, you can follow its progress here: #86
from cork.
@steveshi Your problem has been fixed and a new version that includes the automatic fixing of this problem is out 😉
https://elk.zone/mstdn.social/@davidbures/110140730430120957
https://elk.zone/mstdn.social/@davidbures/110142600790912240
from cork.
Related Issues (20)
- Pin commits instead of branches HOT 3
- Failed to Resolve HOT 4
- Package resolution errors HOT 1
- Temporary fix for Homebrew bug about Updating
- Implement a more gradual uninstallation progress flow
- Fails when attempting to update when a package requires input HOT 1
- Add searching by description
- Add tokens to package search
- Application Badge not updating HOT 1
- Cork reports an Error Updating Homebrew when everything is actually fine... HOT 1
- Add support for brew leaves HOT 1
- Convert package loading to `taskGroup` HOT 1
- Control services from the menu bar
- Update services in the Services manager
- Implement basic support for Homebrew services
- Implement starting/stopping of Homebrew services
- Imlement killing of services
- Notification about new outdated packages shows a list of all packages, instead just the new package
- Categorize cached download according to package type HOT 1
- Replace old instances of non-sanitized packages with sanitized views HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cork.