-
Notifications
You must be signed in to change notification settings - Fork 347
No module named google.protobuf.descriptor #1573
Comments
Noone ? I'm willing to pay for resolving this issue, please contact me ! :) I believe gmusicapi could work with IronPython... |
Are you able to use |
just tried: neither of these works, same exception... |
but it works with python.exe |
Ok, but the the package is in |
yes everything is properly installed. as i said, its working with python.exe and it is not with IronPython. so i guess the problem must be somewhere with IronPython... |
Does that directory only contain .pyc files for the module? IronPython doesn't support .pyc files (precompiled python bytecode). |
it contains .py for every .pyc.... |
Doesn't look like it'll work without some work:
This failure appears to have to do with the frame stack: import sys
def test():
i = 0
try:
raise Exception()
except:
f = sys.exc_info()[2].tb_frame
while f is not None:
i += 1
f = f.f_back
return i
assert test() == 2 |
thanks slozier for the investigation... but what does it mean ? i'm quite new to IronPython, what can i do with it ? |
@radek673 It involves parts of the system which I'm not too familiar (frames). Other than trying to fix the C# code for frames I'm not sure if there's a workaround... |
ok, are there any chances it will be fixed (soon) ? :) |
please fix it, this is basic functionality, blocker that makes IronPython USELESS.... you cannot even use simple 3rd party library with IronPython.... only statements "a := b" are compatible... pitty... :( |
@pekkaklarck I am aware there are a number of issues with pip. However, I did not mean to imply that the pyparsing failure had anything to do with pip. I was just pointing out that even we got past the installation issue that would not be the end of it (getting gmusicapi to work). |
@radek673 you're welcome to debug and submit a fix yourself. |
creating an empty init.py in \Lib\site-packages\google solved the problem, sadly, there are more issues :/ I think the condition could be fooled in IronPython sources if the file is missing... |
I can use gmusicapi classes without problems when running python.exe and all is working properly.
When trying with IronPython from c#:
Any help would be greatly appreciated !
The text was updated successfully, but these errors were encountered: