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

Twitter tests are failing #177

Open
Mikaela opened this issue May 25, 2014 · 4 comments
Open

Twitter tests are failing #177

Mikaela opened this issue May 25, 2014 · 4 comments

Comments

@Mikaela
Copy link
Contributor

Mikaela commented May 25, 2014

% supybot-test Twitter
Failed to load plugin Twitter:Traceback (most recent call last):
  File "/home/mikaela/.local/bin/supybot-test", line 200, in <module>
    pluginModule = plugin.loadPluginModule(pluginName)
  File "/home/mikaela/.local/lib/python2.7/site-packages/supybot/plugin.py", line 65, in loadPluginModule
    module = imp.load_module(name, *moduleInfo)
  File "./Twitter/__init__.py", line 57, in <module>
    from . import plugin
  File "./Twitter/plugin.py", line 69, in <module>
    raise callbacks.Error('You need the python-twitter library.')
Error: You need the python-twitter library.
(pluginDirs: ['.'])
Testing began at Sun May 25 14:28:30 2014 (pid 22185)

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
% pip freeze|grep twitter
Warning: cannot find svn location for apsw==3.8.2-r1
python-twitter==1.3.1
twitter==1.14.3
@traumschule
Copy link

Same.

 $ pip freeze|grep twitter
python-twitter==3.5
twitter==1.18.0
$ torsocks supybot-test Twitter
/home/traumschule/.local/lib64/python3.6/site-packages/supybot/plugin.py:32: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
Failed to load plugin Twitter:Traceback (most recent call last):
  File ".local/bin/supybot-test", line 205, in <module>
    pluginModule = plugin.loadPluginModule(pluginName)
  File ".local/lib64/python3.6/site-packages/supybot/plugin.py", line 62, in loadPluginModule
    raise ImportError(name)
ImportError: Twitter
(pluginDirs: ['.'])
Testing began at Fri Dec 14 21:48:20 2018 (pid 6301)

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

@progval
Copy link
Owner

progval commented Dec 14, 2018

@traumschule The error you get means that it could not find the plugin.

@traumschule
Copy link

According to pip it is installed, no?

$ pip install Twitter --user
Requirement already satisfied: Twitter in .local/lib64/python3.6/site-packages (1.18.0)

@progval
Copy link
Owner

progval commented Dec 14, 2018

That's a twitter library, not a limnoria plugin

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

3 participants