Posts by Eduardo Pessoa • 123 points
18 posts
-
0
votes3
answers430
viewsQ: Assign return of findOne to a global variable Node Node.js
I couldn’t do that assignment, so is there anything missing? global.pedido = db.collection('configuracoes').findOne({ parametro: "pedido_num"})
-
1
votes1
answer125
viewsQ: Semantic-ui, action-free checkbox in the form
I created a form using Semantic-Ui, but I can not enable the checkbox, I need some specific javascript for these elements? <table class="ui table"> <thead> <tr> <th class="four…
-
1
votes2
answers682
viewsQ: Adjustment of css bootstrap button
I’m trying to get the height of one button in the form, but it appears very high in relation to the fields: <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"…
-
1
votes1
answer644
viewsQ: Object.<Anonymous> (Express + Middleware)
> > node index.js C:\Users\cpsep\Projetos\nodejs\semparar\node_modules\express\lib\express.js:107 > throw new Error('Most middleware (like ' + name + ') is no longer bundled with Express…
-
0
votes1
answer788
viewsQ: Unhandledpromiserejectionwarning: I believe it is after mongodb research
I believe that this problem is in this part of the code, funny that below used a code very similar but does not give the error: UNSOnline.post('/resetpass', (req, res) => {…
-
1
votes1
answer630
viewsA: Redirect URL in Nodejs
Guys figured out the problem: res.redirect(JSON.stringify(body)) Rewriting: res.redirect(body), so it worked!
-
0
votes1
answer630
viewsQ: Redirect URL in Nodejs
I am trying to redirect my login to a new site after the user validation function. After redirecting the url in Browse is from the url where the login was:…
-
1
votes1
answer158
viewsQ: Debugging error on TDS 11.2 (Eclipse) on Linux Mint 18
I configured the debug with the path of smartclient.exe (use via Wine), the build works, only the debug that gives a permission error in java. Iniciando TOTVS Application…
-
0
votes1
answer131
viewsQ: Error installing Rails on Linux Mint
While running sudo Gem install Rails, I received this error message: Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native…
-
0
votes1
answer384
viewsA: How to capture the query string of a Restful request
I would like to record how we managed to overcome this difficulty. We developed a routine in Python + Flask from flask import Flask from flask import request from api import create_user, get_sso app…
-
1
votes2
answers6375
viewsA: python Manage.py syncdb does not work!
found the reply syncdb command has been removed from Django, now use migrate. python manage.py migrate I tested it here and it worked!!!…
-
1
votes2
answers6375
viewsQ: python Manage.py syncdb does not work!
When trying to follow a tutorial I can’t go on because the bank wasn’t set up, you can help me? Error: Unknown command: 'syncdb' Type 'manage.py help' for usage.…
-
-1
votes3
answers240
viewsA: How to read DBF generated in Protheus in Visual Fox Pro?
When you created your DBF in Protheus, you must have created another file with extension . vfp that must be together in Visualfoxpro, see discussion:…
-
0
votes3
answers315
viewsA: Error: 102 run query via Msexecauto
Sometimes I have problems with changes directly in the bank, in some cases restart the dbAccess/Topconnect solves the problem, but beware of changes on the outside, it is not recommended practice.…
advplanswered Eduardo Pessoa 123 -
1
votes1
answer384
viewsQ: How to capture the query string of a Restful request
I need to get the parameters passed by the URI, for example: http://localhost/endpoint/param1/param2/param3 if param1 == "adduser" id = param2 name = param3 Example of a function that did not work:…
-
1
votes0
answers279
viewsQ: Encode error - python 3.6
Traceback (most recent call last): File "uns.py", line 64, in <module>expiration_date="2017-08-27", File "uns.py", line 53, in create_user print(response.text) File…
pythonasked Eduardo Pessoa 123 -
1
votes1
answer28
viewsQ: References not available in the final program
I’m validating some functions created in python, I have a code that creates some functions. When running the program with the functions (test_client.py), I get an error. auth_utils.py: from hashlib…
-
1
votes1
answer168
viewsQ: Cannot import urlencode name on program run
I need to run a routine, but system informs that it cannot load the name urlencode (I don’t know if I can call this function, class), I searched for similar libraries, but I’m also not sure I’m…