Hey everyone, I have an Python script that uses PyQt5. Unfortunately there is no wheel for pyqt5 to install it with pip so you have to build from source, if you are on arm64. This is how I successfully did it till today: It requires qmake, which I installed via brew (brew install qt5). After adding this to my path I can execute it (which qmake shows the correct path). Then I install pyqt5 via pip with this command: pip install pyqt5 --config-settings --confirm-license= --verbose (pyqt5 asks for license agreement, but pip install is not interactive, hence the long command). As I said, till last week I could do this successfully. When I tried this today I got the error: The dbus-python package does not seem to be installed. These bindings will be built: Qt, pylupdate, pyrcc. Generating the Qt bindings... Generating the pylupdate bindings... _in_process.py: /private/var/folders/ws/vdb_nvyj35g9ck_srpvqpccm0000gn/T/pip-install-jr3725ba/pyqt5_7d0f0bcc5a7241bd8afa726e0fa5e8d1/sip/QtCore/qprocess.sip: line 99: column
Search results for
column
2,071 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
When using the column based split view controller, it presumes that clients want a navigation controller in each of its non-compact columns and will wrap a view controller in one of not provided. This is primarily so that collapsing (when it moves from multiple to single column) behaves deterministically and automatically. So what is happening is you're getting a tab bar controller wrapped in a navigation controller with additional navigation controllers inside – and thus double navigation bars. Realistically this may be a case where you want to create your own custom view controller container instead of using UISplitViewController, as I'm not sure how many of the edge cases you would hit might be resolved.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
I had the exact same problem. On the first startup everything is ok, then on the second one it crashes. It seems SwiftData doesn't see the already existing column for one-to-many relationship. This, in turn, crashes the application because of the duplicated column. The solution that I found is to explicitly create the inverse relationship in the second model. So, in your case, changing your DeskPosition model to this: @Model final class DeskPosition { let id: UUID var title: String var desk: Desk? private var heightInCm: Double @Transient var height: DeskHeight { get { DeskHeight(value: heightInCm, unit: .centimeters).localized } set { heightInCm = newValue.converted(to: .centimeters).value } } init(id: UUID, height: DeskHeight, title: String) { self.id = id self.heightInCm = height.converted(to: .centimeters).value self.title = title self.height = height } }
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags:
Hello everyone, I am experiencing a very weird issue. I have a simple relationship between 2 models, that occasionally starts crashing the app, with the following error: error: : Attempting recovery from error encountered during addPersistentStore: 0x282523c60 Error Domain=NSCocoaErrorDomain Code=134110 An error occurred during persistent store migration. UserInfo={sourceURL=file:///private/var/mobile/Containers/Shared/AppGroup/F8286D67-AC8C-4441-A151-13B5AAA509F3/Library/Application%20Support/default.store, reason=Cannot migrate store in-place: I/O error for database at /private/var/mobile/Containers/Shared/AppGroup/F8286D67-AC8C-4441-A151-13B5AAA509F3/Library/Application Support/default.store. SQLite error code:1, 'duplicate column name: Z1POSITIONS', destinationURL=file:///private/var/mobile/Containers/Shared/AppGroup/F8286D67-AC8C-4441-A151-13B5AAA509F3/Library/Application%20Support/default.store, NSUnderlyingError=0x2825c6700 {Error Domain=NSCocoaErrorDomain Code=134110 An error occurred during
I’m talking about CSS-functions: https://w3c.github.io/csswg-drafts/css-values/#round-func) .example { --result: round(up, var(--number), 1); } In Safari 16.x css round didn’t work perfect.round(up, x, 1) did its job, if x wasn’t a “natural” number (all digits after the fraction mark 0). If it was, it resulted the next one! Now Safari 17.0 gives 0 for all numbers! !Update! Sorry, Safari 17 does round! But: not in code like that: :root { --result: round(up, var(--number), 1); Had a project, where this was used to define the number of columns and rows I wanted for an (mostly) quadratic layout. What’s working instead: grid-template-columns: repeat(round(up, sort(var(--items), 1), minimal(…); the former css used the :root-variant (grid-template-columns: repeat(var(--result) …). !Update 2! After some experiments I found: Safari 17 doesn’t like :root any more! (https://www.w3.org/TR/selectors-3/#root-pseudo) And: Safari doesn’t calc correct: `round(up,1,1)˚ is 2 — says Apple. YOU MUST NOT
AFAIK, not directly in Table. When there are multiple columns, would you have section for a specific column or for all ? It is possible in List. Cen you adapt your code to use List instead ?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Using a Dispatch semaphore to turn an asynchronous call into a synchronous call is generally considered bad form. That’s because the semaphore can’t propagate priority. That’s why we have -synchronousRemoteObjectProxyWithErrorHandler:. In the code serverProxy for synchronousRemoteObjectProxyWithErrorHandler access object The use of dispatch_async is to implement an asynchronous operation, and implement the corresponding timeout operation, to be precise, I should be required here to drop a serial column, the reason is because I found the line of sight NSXPC interface call timeout mode is like this. On the server side does not trigger the callback, the awareness is that the client side calls callbackWithInfo:info reply:^(bool action) and waits for the server side to call the action to implement the callback, but if the server side does not call the action all the time, That leads to more and more fds. I'm sure that if the NSXPC server side does not call the action callback function, the number of ports
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags:
All datasets are doubles with around 20-50 columns and around 1000 rows. I have noticed the significant slowdown across the board, whether training with just 50 rows or up to 1000. All exhibit the same degree of slowdown. The slowdown scales linearly with the number of iterations performed.
Topic:
Machine Learning & AI
SubTopic:
General
Tags:
This may be trivial to some but I just would like to know if you can copy an array to a new array and change the type of the data for each column of elements? I have loaded a file into an array as String data as I can't seem to do it any other way (i.e. as another type) I now want to convert some of the columns to a different type in possibly a new array. I have an array full of string data and I would like to convert it to Double, or some Int, data so that I can easily do my calculations. I would appreciate as much info as possible as I am relatively new to SwiftUI and Xcode. Many thanks, D Norris
I created a new project in xCode 15 on MacOS 14. This project only has a View with a Table that has two columns. When I call the view I get the following error several times: Metal failed to load render pipeline: pipeline=PL008BsovXmw_TprcA3Xhf sdk=23A322 Failed to find reflection in binary archives Here is the code: struct Freunde: Identifiable { var id: UUID = UUID() var firstName: String = var lastName: String = init(firstName: String, lastName: String) { self.firstName = firstName self.lastName = lastName } } struct ContentView: View { @State var sortOrder = [KeyPathComparator(Freunde.firstName)] @State public var selectedItems: Set = [] @State var myList: [Freunde] = [ Freunde(firstName: Klaus, lastName: Kirchhoff), Freunde(firstName: Patrik, lastName: Grot), Freunde(firstName: Johannes, lastName: Gottfried), Freunde(firstName: Daniel, lastName: Schaedla) ] var body: some View { VStack { Table(myList, selection: $selectedItems, sortOrder: $sortOrder) { TableColumn(Vorname, value: .firstName) T
I'm confused by the stats on the TestFlight builds screen. See below. There are more crashes than sessions. So the definition of session can't quite be what I thought. Does a session have to last more than a certain amount of time to be included? Do sessions that end in a crash not count as sessions? Do multiple invocations within a short period of time count as a single session? The number of sessions falls over time. I.e. once I have released a new version, the reported Sessions numbers for older versions slowly fall. Maybe as soon as a user has used version N+1, all their sessions for version N are removed from the stats? The invites column is clearly the same for every version, while it should have been slowly increasing. Is there any value in these numbers?
Found the fix! Choose your Target, select Build Phases. Expand Link Binary With Libraries, press the + button Add your Framework (in this case, VisionKit)... and then choose 'Optional' in the status column. Not quite sure why this fixes it, but it does.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hi, did you solve this? My guess is ( I didn't need it yet so far, but know I have to start about this next week ), but can't you make all the fields a Text and do a check if it is a row/column that should be ( by check double click or so ) edited replace the row with TextField's and change it back to Text. I think that you to have .modify one of the other to match each other visually. Beside that the var is used in all the rows and the same and is not usable to edit or change one people item. But if you found a solution then.... let us/me know.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
In the My Certificates tab, that certificate and its associated private key both show login in the Keychain column. I have several other development identities in my keychain and others are working, it's just this one that isn't. The others also have both their certificates and private keys in the login keychain.
Topic:
Code Signing
SubTopic:
General
Tags:
Do you think this means I didn't correctly import the key initially? It’s possible, but I’m leaning towards the theory that something got borked in the interim. Or that the key was revoked and I need to check with the account holder? I doubt it was revoked. Revoking Developer ID certificates is tricky and, even if were revoked, Keychain Access wouldn’t get that error trying to export it. I suspect that your keychain is just broken in some way. However, I’ve one more test to run before I suggest remedial action: In Keychain Access, switch to My Certificates and find your Developer ID identity. Click the chevron to disclose the private key. Look at the Keychain column for both items. Are both items in the same keychain? Is it your login keychain? Or something else? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
Code Signing
SubTopic:
General
Tags: