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

hangups -h command line causes error #451

Open
SoulSen opened this issue Jan 13, 2019 · 5 comments
Open

hangups -h command line causes error #451

SoulSen opened this issue Jan 13, 2019 · 5 comments

Comments

@SoulSen
Copy link
Contributor

SoulSen commented Jan 13, 2019

  File "c:\users\taluk\appdata\local\programs\python\python37\Lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\taluk\appdata\local\programs\python\python37\Lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\taluk\OneDrive\DOCUME~1\CODING~2\Python\HANGOU~1\ENVIOR~1\Scripts\hangups.exe\__main__.py", line 5, in <module>
  File "c:\users\taluk\onedrive\docume~1\coding~2\python\hangou~1\envior~1\lib\site-packages\hangups\ui\__main__.py", line 10, in <module>
    import urwid
  File "c:\users\taluk\onedrive\docume~1\coding~2\python\hangou~1\envior~1\lib\site-packages\urwid\__init__.py", line 24, in <module>
    from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
  File "c:\users\taluk\onedrive\docume~1\coding~2\python\hangou~1\envior~1\lib\site-packages\urwid\widget.py", line 216

    ^
SyntaxError: invalid syntax

Looks like it's coming from urwid might be because the version is set and required at 1.3.1 and not at latest, this may also be because I'm using Python 3.7

@das7pad
Copy link
Contributor

das7pad commented Jan 13, 2019

urwid does not support windows.

@SoulSen
Copy link
Contributor Author

SoulSen commented Jan 13, 2019

@das7pad Will this be added soon?

@das7pad
Copy link
Contributor

das7pad commented Jan 14, 2019

@SoulSen I do not think so, but there are workarounds. Here is an outline of the steps: urwid/urwid#321

@tdryer
Copy link
Owner

tdryer commented Jan 15, 2019

I've run hangups under Cygwin in the past, although others have had trouble getting it working more recently (#186).

@snoopy-coder
Copy link

C:\Temp\python-3.7.1>hangups -h
Traceback (most recent call last):
  File "runpy.py", line 193, in _run_module_as_main
  File "runpy.py", line 85, in _run_code
  File "C:\Temp\python-3.7.1\Scripts\hangups.exe\__main__.py", line 4, in <module>
  File "C:\Temp\python-3.7.1\Lib\site-packages\hangups\__init__.py", line 6, in <module>
    from .client import Client
  File "C:\Temp\python-3.7.1\Lib\site-packages\hangups\client.py", line 15, in <module>
    from hangups import (exceptions, http_utils, channel, event, hangouts_pb2,
  File "C:\Temp\python-3.7.1\Lib\site-packages\hangups\hangouts_pb2.py", line 7, in <module>
    from google.protobuf import descriptor as _descriptor
  File "C:\Temp\python-3.7.1\Lib\site-packages\google\protobuf\descriptor.py", line 47, in <module>
    from google.protobuf.pyext import _message
ImportError: DLL load failed: Invalid access to memory location.

C:\Temp\python-3.7.1>

Now there is another error related to protobuf 3.10.0 and hangups 0.4.10 does not allow the upgrade to the latest protobuf 3.11.2. Does anyone advise something? Thanks a lot.

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

No branches or pull requests

4 participants