Git Product home page Git Product logo

Comments (15)

jithurjacob avatar jithurjacob commented on May 26, 2024

Closing this as I don't have to waste my "time" reading your problem.

from windows-10-toast-notifications.

Bluscream avatar Bluscream commented on May 26, 2024

Sorry, the wording was kinda bad, but i'm not a native english speaker so please forgive me. I just had the experience a few times that i've spent > an hour to explain my problem to a dead repo/account

from windows-10-toast-notifications.

Bluscream avatar Bluscream commented on May 26, 2024

So i'm actually trying to use your lib in https://github.com/pathmann/pyTSon which is a custom C->python wrapper. the problem is that i can't get the toasts to work even tho i installed pypiwin32.

2/18/2018 03:22:38	pyTSon.PluginHost.reload	Error	Error loading python plugin from C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon\scripts\friendNotifications\: Traceback (most recent call last):
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\pluginhost.py", line 322, in reload
    cls.modules[base] = importlib.__import__(base)
  File "<frozen importlib._bootstrap>", line 1055, in __import__
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\friendNotifications\__init__.py", line 4, in <module>
    from win10toast import ToastNotifier
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/include\win10toast\__init__.py", line 19, in <module>
    from win32api import GetModuleHandle
ImportError: No module named 'win32api'

If you require more infos to understand it please tell me :)

from windows-10-toast-notifications.

jithurjacob avatar jithurjacob commented on May 26, 2024

Are you able to import win32api separately?

from windows-10-toast-notifications.

Bluscream avatar Bluscream commented on May 26, 2024

by just adding an import win32api to which file?

here's a overview of the installed packages after installing win10toast
grafik

from windows-10-toast-notifications.

jithurjacob avatar jithurjacob commented on May 26, 2024

I'm not familiar with PyTSon. Can you please open a new python cli in shell/cmd and try "import win32api"

from windows-10-toast-notifications.

Bluscream avatar Bluscream commented on May 26, 2024

Like this?

or this?

from windows-10-toast-notifications.

jithurjacob avatar jithurjacob commented on May 26, 2024

Second way.

Can you please try "pip install pypiwin32"

from windows-10-toast-notifications.

Bluscream avatar Bluscream commented on May 26, 2024

from windows-10-toast-notifications.

jithurjacob avatar jithurjacob commented on May 26, 2024

Is PyTSon using different Python installation?

Please open a new cmd and try the sample code given readme.

from windows-10-toast-notifications.

Bluscream avatar Bluscream commented on May 26, 2024

Your readme or pywin32's ?

from windows-10-toast-notifications.

jithurjacob avatar jithurjacob commented on May 26, 2024

Mine

from windows-10-toast-notifications.

harmanvishnoi avatar harmanvishnoi commented on May 26, 2024

_2018-02-27_15-37-07

Notification is appearing like this .not showing content. clicking on it does nothing.
(I have Win10)

from windows-10-toast-notifications.

Bluscream avatar Bluscream commented on May 26, 2024

Sorry for not trying thus so far. Gonna do it today

from windows-10-toast-notifications.

micropicostack avatar micropicostack commented on May 26, 2024

@harmanvishnoi I had the same issue, but it was solved by allowing 'Notifications' under 'System->Notifications & actions'

Should this be added to the readme as prerequisite?

from windows-10-toast-notifications.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.