Git Product home page Git Product logo

Comments (7)

dmonn avatar dmonn commented on June 23, 2024

Hey @tionis . Can you please give me some more information on the OS you use etc.? The error message seems like there was an error with the server. However it worked after my test now. Can you confirm that you still encounter this error?

from socialize.

 avatar commented on June 23, 2024

Sure
I am using Windows 8.1 and the error still occurs ist seens to be an error in the Python script.

from socialize.

dmonn avatar dmonn commented on June 23, 2024

Hey, I still can't reproduce the error, I have tested it in my Windows 8.1 VM. Have you installed Socialize via pip? If so, which version are you using right now? Also, could you paste the full traceback in here? Thanks.

from socialize.

 avatar commented on June 23, 2024

I installed socialize via pip, it should be version 1.0.5.
This is the error:
C:\Windows\system32>socl find friends
An error occured. Send this to your administrator: name 'file' is not defined
Traceback (most recent call last):
File "C:\Python34\Scripts\socl-script.py", line 9, in
load_entry_point('socialize==1.0.5', 'console_scripts', 'socl')()
File "C:\Python34\lib\site-packages\click\core.py", line 722, in call
return self.main(*args, **kwargs)
File "C:\Python34\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "C:\Python34\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python34\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python34\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Python34\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "C:\Python34\lib\site-packages\socialize\router.py", line 238, in friends
finders.random_users()
File "C:\Python34\lib\site-packages\socialize\services\finder_service.py", lin
e 8, in random_users
self.format_user_list(r)
File "C:\Python34\lib\site-packages\socialize\services\finder_service.py", lin
e 20, in format_user_list
for user in u:
TypeError: 'NoneType' object is not iterable

from socialize.

dmonn avatar dmonn commented on June 23, 2024

Ok I will check that out. Is that always the case or just with this specific command?

from socialize.

 avatar commented on June 23, 2024

from socialize.

dmonn avatar dmonn commented on June 23, 2024

Problem was the file() function which was deprecated in Python3.5. It's fixed now with newly released version 1.0.6.

from socialize.

Related Issues (7)

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.