python-eve oplog in not working in my application

Sandeep

As per the instructions mentioned in the document, in my application, I have made required configuration for OPLOG but for some reason, it is not working as expected.

I made a few HTTP requests to my application nothing is logging. My code is:

 RESOURCE_METHODS = ['GET','POST','DELETE']

 ITEM_METHODS = ['GET','PATCH','DELETE']

 X_DOMAINS = '*'
 X_HEADERS = ['Authorization','If-Match','Access-Control-Expose-Headers','Content-Type','Pragma','Cache-Control']
 X_EXPOSE_HEADERS = ['Origin', 'X-Requested-With', 'Content-Type', 'Accept']

 OPLOG = True
 OPLOG_ENDPOINT = 'oplogger'

 DOMAIN = {
   'user': {
     'additional_lookup': {
       'url': 'regex("[\w]+")',
       'field': 'username',
     },
     'schema': {
       'firstname': {
         'type': 'string'
       },
       'lastname': {
         'type': 'string'
       },
       'username': {
         'type': 'string',
         'unique': True
       }
     }
  },
  'oplog': {
    'url': 'oplogger',
    'datasource': {'source': 'oplog'}
  }
}

Any idea how to solve this? Thank you in advance.

Nicola Iarocci

You might be hitting a known issue with the latest release of Eve. It's fixed in v0.8-dev (changelog), which is scheduled for release next month (give or take).

If you verify this is indeed your problem and are in a hurry, you can install the development version right away with:

 pip install git+git://github.com/pyeve/eve.git

See the installation instructions for detailed instructions.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Python Eve - REST API additional_lookup not working

From Dev

AWS API Gateway with Python-EVE "where" not working in deployed API

From Dev

Calling Python Eve from an Flask application leads to weird errors

From Dev

Dependency not working with my application

From Dev

TabPane is not working on my Application

From Dev

Pagination not working on my application - CodeIgniter

From Dev

localStorage is working wrong in my application

From Dev

CopyAsync method not working in my application

From Dev

backbone model save on eve is not working

From Dev

Python Eve contains filter

From Dev

Python Eve, SQLalchemy and ForeignKey

From Dev

My multiplication in python not working

From Dev

My if statement not working in python

From Dev

Why is my Spring application working with @RestController but not with @Controller

From Dev

My work manager is not working after kill the application

From Dev

Props not working in my Vue.js application

From Dev

JavaScript Interface not working in my Android Application

From Dev

How to test Push Notification is working in my application

From Dev

BroadcastReceiver not working when I kill my application

From Dev

cordova plugin permission not working in my application

From Dev

Integrating Google IMA to my application, not working

From Dev

why some photos are not working in my android application

From Dev

Why does my application stop working?

From Dev

Expo application IPA not working on my iphone

From Dev

Enum type in python eve schema

From Dev

Validations with the SQLAlchemy version of Python Eve

From Dev

Why my python class not working?

From Dev

python multithread not working in my code?

From Dev

Why is my autoclicker in python not working?

Related Related

  1. 1

    Python Eve - REST API additional_lookup not working

  2. 2

    AWS API Gateway with Python-EVE "where" not working in deployed API

  3. 3

    Calling Python Eve from an Flask application leads to weird errors

  4. 4

    Dependency not working with my application

  5. 5

    TabPane is not working on my Application

  6. 6

    Pagination not working on my application - CodeIgniter

  7. 7

    localStorage is working wrong in my application

  8. 8

    CopyAsync method not working in my application

  9. 9

    backbone model save on eve is not working

  10. 10

    Python Eve contains filter

  11. 11

    Python Eve, SQLalchemy and ForeignKey

  12. 12

    My multiplication in python not working

  13. 13

    My if statement not working in python

  14. 14

    Why is my Spring application working with @RestController but not with @Controller

  15. 15

    My work manager is not working after kill the application

  16. 16

    Props not working in my Vue.js application

  17. 17

    JavaScript Interface not working in my Android Application

  18. 18

    How to test Push Notification is working in my application

  19. 19

    BroadcastReceiver not working when I kill my application

  20. 20

    cordova plugin permission not working in my application

  21. 21

    Integrating Google IMA to my application, not working

  22. 22

    why some photos are not working in my android application

  23. 23

    Why does my application stop working?

  24. 24

    Expo application IPA not working on my iphone

  25. 25

    Enum type in python eve schema

  26. 26

    Validations with the SQLAlchemy version of Python Eve

  27. 27

    Why my python class not working?

  28. 28

    python multithread not working in my code?

  29. 29

    Why is my autoclicker in python not working?

HotTag

Archive