Equo update error

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
neofax
Young Hen
Posts: 20
Joined: Tue Sep 04, 2007 19:21

Equo update error

Post by neofax » Thu Jan 07, 2010 23:46

I just recieved this error today when I went to update:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/equo", line 882, in <module>
    main_rc = main()
  File "/usr/bin/equo", line 865, in main
    rc = cmd_cb(main_cmd, options)
  File "/usr/bin/equo", line 387, in _do_text_repos
    return text_repositories.repositories([main_cmd] + options)
  File "/usr/lib/entropy/client/text_repositories.py", line 56, in repositories
    force = e_req_force_update)
  File "/usr/lib/entropy/client/text_repositories.py", line 185, in _do_sync
    entropy_client.UGC.add_download_stats(reponame, [reponame])
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 304, in add_download_stats
    return self.do_cmd(repository, False, "ugc_do_download_stats", [pkgkeys], {})
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 197, in do_cmd
    srv = self.get_service_connection(repository)
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 75, in get_service_connection
    if not self.is_repository_eapi3_aware(repository):
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 93, in is_repository_eapi3_aware
    timeout = 6)
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 78, in get_service_connection
    srv = self.connect_to_service(repository, timeout = timeout)
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 70, in connect_to_service
    srv.connect(url, port)
  File "/usr/lib/entropy/libraries/entropy/services/ugc/interfaces.py", line 2221, in connect
    self.sock_conn.connect((self.hostname, self.hostport))
  File "<string>", line 1, in connect
TypeError: coercing to Unicode: need string or buffer, NoneType found

Frame connect in <string> at line 1 
	                self = <socket._socketobject object at 0xa11cdf4>
	                args = ((None, 1027),)
Anyone know the fix?

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Equo update error

Post by lxnay » Thu Jan 07, 2010 23:48

Please attach the content of /tmp/equoerror.txt and /etc/entropy/repositories.conf
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

urlwolf
Simple Hen
Posts: 47
Joined: Sat Dec 26, 2009 11:34

Re: Equo update error

Post by urlwolf » Thu Jan 07, 2010 23:49

this error was popular in IRC yesterday and today.
updating entropy and equo should take care of it. (it did for me)

neofax
Young Hen
Posts: 20
Joined: Tue Sep 04, 2007 19:21

Re: Equo update error

Post by neofax » Thu Jan 07, 2010 23:56

Code: Select all

Revision: 0.99.20.20

Traceback (most recent call last):
  File "/usr/bin/equo", line 882, in <module>
    main_rc = main()
  File "/usr/bin/equo", line 865, in main
    rc = cmd_cb(main_cmd, options)
  File "/usr/bin/equo", line 387, in _do_text_repos
    return text_repositories.repositories([main_cmd] + options)
  File "/usr/lib/entropy/client/text_repositories.py", line 56, in repositories
    force = e_req_force_update)
  File "/usr/lib/entropy/client/text_repositories.py", line 185, in _do_sync
    entropy_client.UGC.add_download_stats(reponame, [reponame])
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 304, in add_download_stats
    return self.do_cmd(repository, False, "ugc_do_download_stats", [pkgkeys], {})
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 197, in do_cmd
    srv = self.get_service_connection(repository)
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 75, in get_service_connection
    if not self.is_repository_eapi3_aware(repository):
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 93, in is_repository_eapi3_aware
    timeout = 6)
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 78, in get_service_connection
    srv = self.connect_to_service(repository, timeout = timeout)
  File "/usr/lib/entropy/libraries/entropy/client/services/ugc/interfaces.py", line 70, in connect_to_service
    srv.connect(url, port)
  File "/usr/lib/entropy/libraries/entropy/services/ugc/interfaces.py", line 2221, in connect
    self.sock_conn.connect((self.hostname, self.hostport))
  File "<string>", line 1, in connect
TypeError: coercing to Unicode: need string or buffer, NoneType found


Frame connect in <string> at line 1
	                self = <socket._socketobject object at 0xa7d9dbc>
	                args = ((None, 1027),)

Code: Select all

# Project Entropy 1.0 repositories configuration file

#
#  syntax for repositories (content in square brackets not mandatory):
#
#    repository: where the available packages and its database are stored 
#|   repository|repository_id|repository description|<packages mirror 1> <packages mirror 2> <...>|<database uri>[,<UGC service URI>][#compression_method][#<service port,ssl service port>]
#
#    example (content in square brackets not mandatory):
#|       repository|sabayonlinux.org|Sabayon Linux Official Repository|http://pkg.sabayon.org/packages|http://pkg.sabayon.org/db[,sabayon.org][#bz2][#1026,1027]
#
# Sabayon Linux Official Repository
repository|sabayonlinux.org||http://pkg.sabayon.org|
repository|sabayonlinux.org||http://riksun.riken.go.jp/pub/pub/Linux/sabayon/entropy|
repository|sabayonlinux.org||http://ftp2.cz.freebsd.org/pub/sabayon/entropy|
repository|sabayonlinux.org||http://debian.mirror.dkm.cz/sabayon/entropy|
repository|sabayonlinux.org||http://mirror.umoss.org/sabayonlinux/entropy|
repository|sabayonlinux.org||http://mirror.internode.on.net/pub/sabayonlinux/entropy|
repository|sabayonlinux.org|Sabayon Linux Official Repository|http://svn.sabayonlinux.org/entropy|http://svn.sabayonlinux.org/entropy#bz2
repository|sabayonlinux.org||http://ftp.surfnet.nl/pub/os/Linux/distr/sabayonlinux/entropy|
repository|sabayonlinux.org||http://na.mirror.garr.it/mirrors/sabayonlinux/entropy|
##repository|sabayonlinux.org||http://mirrors.cs.wmich.edu/sabayon/entropy|
##repository|sabayonlinux.org||http://ftp.cc.uoc.gr/mirrors/linux/SabayonLinux/entropy|
##repository|sabayonlinux.org||http://mirror.dun.nu/sabayonlinux/entropy|
##repository|sabayonlinux.org||http://mirror.holland.sabayonlinux.org/entropy|
##repository|sabayonlinux.org||http://cross-lfs.sabayonlinux.org/entropy|
##repository|sabayonlinux.org||http://pkg.sabayon.org|
#repository|sabayon-limbo|Sabayon Linux Limbo Repository|http://svn.sabayonlinux.org/entropy|http://svn.sabayonlinux.org/entropy#bz2
#repository|sabayon-limbo||http://na.mirror.garr.it/mirrors/sabayonlinux/entropy|

#
#  syntax for product:
#
#    product: Sabayon Linux product type (eg. standard, professional, mini)
#    product|product string (no spaces!)
#
#    example:
#    product|standard
#    or:
#    product|professional
#
# Product default setting
product|standard

#
#  syntax for branch:
#
#    branch: in Sabayon Linux each release has its branch that is the version name (eg. 3.4, 3.5)
#    branch|actual branch string (no spaces!)
#
#    example:
#    branch|4
#    or:
#    branch|5
#
# Branch default setting
branch|5

#
#  syntax for officialrepositoryid:
#
#    officialrepositoryid: Repository identifier for the official main distribution repository
#    officialrepositoryid|<repository identifier>
#
officialrepositoryid|sabayonlinux.org

#
#  syntax for downloadspeedlimit:
#
#    downloadspeedlimit: If you need a way to limit download speed, this is the option you were looking for
#    downloadspeedlimit|<maximum allowed speed in kb/sec>
#
#    example:
#    downloadspeedlimit|30
#
# downloadspeedlimit|

#
#  syntax for downloadtimeout:
#
#    downloadtimeout: If you are on a slow network, you may want to raise the
#                     download timeout value (by default, it's set to 10 secs)
#    downloadtimeout|<maximum allowed speed in kb/sec>
#
#    example:
#    downloadtimeout|20
#
# downloadtimeout|20

#
#  syntax for securityurl:
#
#    securityurl: Entropy compatible Security Advisories (GLSAs) package URL
#    securityurl|<HTTP/FTP download URL>
#
#    example:
#    securityurl|http://packages.sabayonlinux.org/security/security-advisories.tar.bz2
#
# securityurl|

neofax
Young Hen
Posts: 20
Joined: Tue Sep 04, 2007 19:21

Re: Equo update error

Post by neofax » Thu Jan 07, 2010 23:57

urlwolf wrote:this error was popular in IRC yesterday and today.
updating entropy and equo should take care of it. (it did for me)
I did equo install entropy && equo install equo and I still get the error.

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Equo update error

Post by lxnay » Fri Jan 08, 2010 8:48

Your repositories.conf sabayonlinux.org repository entry is malformed (and the crash is anyway fixed in the development branch of entropy). The first repository entry must also contain the repository db file URL location and cannot be empty.

Change this:

Code: Select all

repository|sabayonlinux.org||http://pkg.sabayon.org|
to this:

Code: Select all

repository|sabayonlinux.org||http://pkg.sabayon.org|http://pkg.sabayon.org
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

Post Reply