[Bug 901365] Review Request: python-mongoengine - MongoEngine is an ORM-like layer on top of PyMongo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=901365

--- Comment #4 from Yohan Graterol <yohangraterol92@xxxxxxxxx> ---
Hello Eduardo,

I made the corresponding changes after both investigate and follow your
recommendations.

BUT,  in the process of build the file .rpm, did not complete and showed
errors.

These are the errors:

======================================================================
ERROR: test_order_by_in_django_template (tests.test_django.QuerySetTest)
Ensure that QuerySets are properly ordered in Django template.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/makerpm/rpmbuild/BUILD/mongoengine-0.7.9/tests/test_django.py",
line 32, in setUp
    connect(db='mongoenginetest')
  File "mongoengine/connection.py", line 162, in connect
    return get_connection(alias)
  File "mongoengine/connection.py", line 126, in get_connection
    raise ConnectionError("Cannot connect to database %s :\n%s" % (alias, e))
ConnectionError: Cannot connect to database default :
could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: test_pagination (tests.test_django.QuerySetTest)
Ensure that Pagination works as expected
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/makerpm/rpmbuild/BUILD/mongoengine-0.7.9/tests/test_django.py",
line 32, in setUp
    connect(db='mongoenginetest')
  File "mongoengine/connection.py", line 162, in connect
    return get_connection(alias)
  File "mongoengine/connection.py", line 126, in get_connection
    raise ConnectionError("Cannot connect to database %s :\n%s" % (alias, e))
ConnectionError: Cannot connect to database default :
could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: test_q_object_filter_in_template (tests.test_django.QuerySetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/makerpm/rpmbuild/BUILD/mongoengine-0.7.9/tests/test_django.py",
line 32, in setUp
    connect(db='mongoenginetest')
  File "mongoengine/connection.py", line 162, in connect
    return get_connection(alias)
  File "mongoengine/connection.py", line 126, in get_connection
    raise ConnectionError("Cannot connect to database %s :\n%s" % (alias, e))
ConnectionError: Cannot connect to database default :
could not connect to localhost:27017: [Errno 111] Connection refused

======================================================================
ERROR: test_model_signals (tests.test_signals.SignalTests)
Model saves should throw some signals.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/makerpm/rpmbuild/BUILD/mongoengine-0.7.9/tests/test_signals.py",
line 23, in setUp
    connect(db='mongoenginetest')
  File "mongoengine/connection.py", line 162, in connect
    return get_connection(alias)
  File "mongoengine/connection.py", line 126, in get_connection
    raise ConnectionError("Cannot connect to database %s :\n%s" % (alias, e))
ConnectionError: Cannot connect to database default :
could not connect to localhost:27017: [Errno 111] Connection refused

----------------------------------------------------------------------
Ran 57 tests in 0.045s

FAILED (errors=56)
error: Bad exit status from /var/tmp/rpm-tmp.MxMS7j (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.MxMS7j (%check)

What's your opinion Eduardo about it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=zIGpXDheyd&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]