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

Upshot error on El Capitan #73

Open
ml opened this issue Oct 1, 2015 · 12 comments
Open

Upshot error on El Capitan #73

ml opened this issue Oct 1, 2015 · 12 comments

Comments

@ml
Copy link

ml commented Oct 1, 2015

I just updated the system to El Capitan and started getting this (a message from the console):

01/10/15 12:17:02,483 UpShot[8427]: Traceback (most recent call last):
01/10/15 12:17:02,483 UpShot[8427]:   File "/Applications/UpShot.app/Contents/Resources/__boot__.py", line 67, in <module>
01/10/15 12:17:02,483 UpShot[8427]:     _run()
01/10/15 12:17:02,483 UpShot[8427]:   File "/Applications/UpShot.app/Contents/Resources/__boot__.py", line 62, in _run
01/10/15 12:17:02,483 UpShot[8427]:     exec(compile(source, path, 'exec'), globals(), globals())
01/10/15 12:17:02,483 UpShot[8427]:   File "/Applications/UpShot.app/Contents/Resources/upshot.py", line 18, in <module>
01/10/15 12:17:02,483 UpShot[8427]:     import Preferences
01/10/15 12:17:02,483 UpShot[8427]:   File "Preferences.pyc", line 3, in <module>
01/10/15 12:17:02,483 UpShot[8427]:   File "objc/_lazyimport.pyc", line 118, in __getattr__
01/10/15 12:17:02,483 UpShot[8427]:   File "objc/_lazyimport.pyc", line 203, in __calc_all
01/10/15 12:17:02,483 UpShot[8427]: ValueError: Don't know CF type for typestr '^{OpaqueLSSharedFileListItemRef=}', cannot create special wrapper
01/10/15 12:17:02,614 UpShot[8427]: UpShot Error
01/10/15 12:17:02,614 UpShot[8427]: 2015-10-01 12:17:02.614 UpShot[8427:831787] UpShot Error

Is it related to the update or something else?

@pavelhlushchanka
Copy link

+1, doesn't work after update

@fwenzel
Copy link
Owner

fwenzel commented Oct 5, 2015

Oh no, that's ugly -- I don't have an El Capitan device yet but will look when I have updated.

Any coder who may be so inclined, feel free to debug as well.

@fwenzel
Copy link
Owner

fwenzel commented Oct 5, 2015

Also looks like a bug upstream in pyobjc, so I hope there has been an update there that I can pull in.

@corvock
Copy link

corvock commented Nov 6, 2015

Any word on if the upstream issue was resolved?

@joshstrange
Copy link

Any update on this, I just upgraded and I'm really missing UpShot

@fwenzel
Copy link
Owner

fwenzel commented Nov 13, 2015

I don't know yet if the upstream library has been updated :( I might be able to take a closer look this weekend. Sorry for the delay

@joshstrange
Copy link

For now you can turn on Dropbox's screenshot option in the "Import" tab of preferences
Screenshot

Not perfect as they put it in their frame but that's what I'll use for now until the upstream library is updated. If anyone else knows of any good replacements please post them.

@danahartweg
Copy link

@fwenzel I did some preliminary testing, and it appears that this is addressed in the following patch to pyobcj... UpShot seems to run just fine after being compiled (but I can't say I tested everything).

However, it hasn't been officially released, which means it's not available to be installed by pip. Since there's really no point in submitting a PR that would tell you to manually install the latest beta of pyobjc with the correct changes (3.1b1), I'm just leaving this note here =)

@fwenzel
Copy link
Owner

fwenzel commented Dec 3, 2015

Thank you! I have no major qualms with shipping an update against an unreleased but working version of pyobjc -- after all, it's better than NOT working at all

@fwenzel
Copy link
Owner

fwenzel commented Dec 7, 2015

Okay here's an (otherwise unchanged) build of upshot against py2app 0.10 and pyobjc 3.1b1 (both of which are unreleased development versions):

https://github.com/fwenzel/upshot/releases/tag/release-2.2

It works for me locally, anyone want to give it a shot (pun maybe intended)?

@fwenzel
Copy link
Owner

fwenzel commented Dec 7, 2015

If this seems to work, I'll push it through the update machinery. I'm not the biggest fan of building against dev versions, but "maybe there's a bug in there somewhere" is a lot better than "permanently broken"!

@fordhurley
Copy link

I'm surprised no one else has commented yet. v2.2 is working perfectly for me as well. :shipit:?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants