I use UE4.26.2 and window10.
After i followed the UE4 guide : Setting up Dedicated Servers, i can get folders and files that are packaged by UE4 engine. And i make shortcut FPSServer.exe with "-log" tag as well. But the problem is happened when i run it. Many text lines appeared and suddenly were closed before i check what logs on the Prompt. Fortunately, i can stop scrolling it clicking Mouse1 on Prompt screen.
=== Critical error: ===
Fatal error!
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000200
0x00007ff7685fc444 FPSServer.exe!UnknownFunction []
0x00007ff76549663a FPSServer.exe!UnknownFunction []
0x00007ff76549c9cb FPSServer.exe!UnknownFunction []
0x00007ff765b3ac09 FPSServer.exe!UnknownFunction []
0x00007ff765d85627 FPSServer.exe!UnknownFunction []
0x00007ff76833ead5 FPSServer.exe!UnknownFunction []
0x00007ff7647917d1 FPSServer.exe!UnknownFunction []
0x00007ff768301f3e FPSServer.exe!UnknownFunction []
0x00007ff7683207c2 FPSServer.exe!UnknownFunction []
0x00007ff768d0bebc FPSServer.exe!UnknownFunction []
0x00007ff768d12403 FPSServer.exe!UnknownFunction []
0x00007ff76909a87d FPSServer.exe!UnknownFunction []
0x00007ff7690b722f FPSServer.exe!UnknownFunction []
0x00007ff7654efb4f FPSServer.exe!UnknownFunction []
0x00007ff7654eff4e FPSServer.exe!UnknownFunction []
0x00007ff765500e1b FPSServer.exe!UnknownFunction []
0x00007ff7691056f2 FPSServer.exe!UnknownFunction []
0x00007ff7691107d2 FPSServer.exe!UnknownFunction []
0x00007ff7689d22ef FPSServer.exe!UnknownFunction []
0x00007ff7689dbbd2 FPSServer.exe!UnknownFunction []
0x00007ff76883b2fe FPSServer.exe!UnknownFunction []
0x00007ff764652d9d FPSServer.exe!UnknownFunction []
0x00007ff76466630d FPSServer.exe!UnknownFunction []
0x00007ff7646663ca FPSServer.exe!UnknownFunction []
0x00007ff764676630 FPSServer.exe!UnknownFunction []
0x00007ff76a443fbe FPSServer.exe!UnknownFunction []
0x00007ffb8cc17034 KERNEL32.DLL!UnknownFunction []
0x00007ffb8ce82651 ntdll.dll!UnknownFunction []
It is only what i just have known about EXCEPTION_ACCESS_VIOLATION is for Pointer problem. But i don't understand why my game is working well on UE4 editor with using multiplayer option and why this problem is appeared after package my game. Could you please help me to solve this error and let me know why it is happened?
Related
I am using the export to spreadsheet control in SAPUI5 ( "sap/ui/export/Spreadsheet" described under https://sapui5.hana.ondemand.com/#/api/sap.ui.export.Spreadsheet).
When calling the odata Service without filters it works fine. When adding filters I get an 'uncaught in promise Unexpected Server Response' error in the frontend. What is the correct Url including filters that I have to specify under dataUrl?
Thank you for the help!
Christophe
So far I am trying with:
dataUrl: "/sap/opu/odata/sap//?$filter=Export eq 'X'"
oSettings = {
workbook: {
columns: aCols,
hierarchyLevel: "Level",
},
dataSource: {
type: "odata",
dataUrl: "/sap/opu/odata/sap/<myService>/<myEntitySet>?$filter=Export eq 'X'",
serviceUrl: oModelInterface.sServiceUrl,
headers: oModelInterface.getHeaders ? oModelInterface.getHeaders() : null,
count: oBinding.getLength ? oBinding.getLength() : null,
useBatch: true,
sizeLimit: oModelInterface.iSizeLimit
},
worker: false,
};
var oSpreadsheet = new Spreadsheet(oSettings);
oSpreadsheet.build();
There is an API for the download URL.
Just use oBinding.getDownloadUrl()
Just to be safe:
dataUrl: oRowBinding.getDownloadUrl ? oRowBinding.getDownloadUrl() : null
Reference: https://openui5.hana.ondemand.com/#/api/sap.ui.model.odata.v2.ODataListBinding
I am trying to save some data to a Postgres database using Sequelize. This is my code to connect to the database and create the model:
import Sequelize from 'sequelize'
const getModels = Connection => {
return {
User: Connection.define('users', {
id: { type: Sequelize.STRING, primaryKey: true },
refresh_token: { type: Sequelize.STRING }
})
}
}
const getInstance = () => {
const Connection = new Sequelize(
process.env.DATABASE_URL, {
dialect: 'postgres',
logging: process.env.NODE_ENV === 'production' ? false : console.log,
omitNull: true,
}
)
return getModels(Connection)
}
export default getInstance
I am trying to save the user id and refresh_token when the user logs in (authenticating using Auth0). Here is my code to do this:
const {User} = getInstance()
const user = User.build({ id: user_id, refresh_token: refresh_token })
user.save().then(() => {
console.log('save completed')
}).catch(error => {
console.log(`Something went wrong: ${error}`)
})
I am getting this error: Something went wrong: TypeError: undefined is not a constructor (evaluating 'new net.Stream()')
If I do console.log(user.id) or user.refresh_token I get the correct info back so the .build function is working. Something is wrong with the save function though. Thanks for any help in solving it - I am using a React app with Webpack (plus server-side rendering); I'm getting some warnings about dependencies from Webpack due to Sequelize as I'm using it on the front-end, not back-end. If anyone has any ideas on how to fix these, that'd be great:
[0] ./~/sequelize/lib/sequelize.js
[0] Critical dependencies:
[0] 686:60-73 the request of a dependency is an expression
[0] # ./~/sequelize/lib/sequelize.js 686:60-73
[0] ./~/sequelize/lib/dialects/mssql/connection-manager.js
[0] Critical dependencies:
[0] 18:15-71 the request of a dependency is an expression
[0] # ./~/sequelize/lib/dialects/mssql/connection-manager.js 18:15-71
[0] ./~/sequelize/lib/dialects/mysql/connection-manager.js
[0] Critical dependencies:
[0] 18:17-60 the request of a dependency is an expression
[0] # ./~/sequelize/lib/dialects/mysql/connection-manager.js 18:17-60
[0] ./~/sequelize/lib/dialects/postgres/connection-manager.js
[0] Critical dependencies:
[0] 20:14-57 the request of a dependency is an expression
[0] # ./~/sequelize/lib/dialects/postgres/connection-manager.js 20:14-57
[0] ./~/sequelize/lib/dialects/sqlite/connection-manager.js
[0] Critical dependencies:
[0] 22:15-71 the request of a dependency is an expression
[0] # ./~/sequelize/lib/dialects/sqlite/connection-manager.js 22:15-71
[0] webpack built 3215b07a25217c8e67e0 in 13519ms
Thanks!
Unable to figure out why the EON spline chart is not loading history upon load (Yes, the Storage and Playback features are enabled) . The chart will render data properly as data comes in and no errors are visible in the console. Any clues as to what may be going on?
eon.chart({
channel: channel,
history: true,
flow: true,
pubnub: pubnub,
debug: true,
generate: {
bindto: '#chart',
data: {
type: 'spline',
labels: false
}
},
transform: function(m) {
return { eon: {
'temp': m.temp
}}
}
});
And here is the output from the console:
EON-CHART: PubNub: Subscribed to runtimewareiotchannel
eon.js:7657 EON-CHART: Status: Restoring from history
eon.js:7657 EON-CHART: History: Retrieving messages from undefined
eon.js:7657 EON-CHART: Status: Chart Animation Enabled
eon.js:7657 EON-CHART: History: 10 messages found
eon.js:7657 EON-CHART: History: Complete... Rendering
eon.js:7657 EON-CHART: History: Retrieving messages from 14689036992721526
eon.js:7657 EON-CHART: History: 1 messages found
eon.js:7657 EON-CHART: History: Complete... Rendering
The data posted to PubNub is as follows - very simple:
{
"temp": 76.662498
}
Thanks!
Derek
This was a temporary issue today and should be resolved. See this example:
http://pubnub.github.io/eon-chart/examples/history.html
I want to create separate files for every log levels, and it should store respective files. says,
sails.log.info('Info log');
It should store at info.log file.
var logger = new (winston.Logger)({
transports: [
new (winston.transports.Console)({}),
new (winston.transports.File)({
name: 'info-file',
filename: 'info.log',
level: 'info',
json: false
}),
new (winston.transports.File)({
name: 'error-file',
filename: 'error.log',
level: 'error',
json: false
}),
new (winston.transports.File)({
name: 'debug-file',
filename: 'debug.log',
level: 'debug',
json: false
})
]
});
In config/log.js
custom: logger
My problem is some logs are not shows in terminal, and info.log and debug.log files has not only info and debug log respectively.
How to achieve this?
Well, looks like Winston writes to logs based on their numeric levels. So that error messages will be always written to info log, but info never to error log.
So I think it is better to separate to different instances in config/bootstrap.js:
sails.warnLog = new (winston.Logger)({
transports: [
new (winston.transports.Sentry)({
name: 'warn-Sentry',
dsn: '{my account dsn}',
patchGlobal: true
level: 'warn'
})
]});
sails.infLog = new (winston.Logger)({
transports: [
new (winston.transports.Loggly)({
name: 'info-Loggly',
subdomain: '{my subdomain}',
inputToken: '{my input token}'
level: 'info'
})
]});
sails.verbLog = new (winston.Logger)({
transports: [
new (winston.transports.Console)({
name: 'verb-console',
timestamp: true,
prettyPrint: true,
colorize: true,
level: 'verbose'
})
]});
And then you can write to log:
sails.warnLog.warn('Warning');
sails.infLog.info('Information');
sails.verbLog.verbose('Verbose');
I am getting this error in console everytime I try to run the following code
$('#autcomplete_search').typeahead({
highlight: true
},
{
name: 'apple_game',
remote: "/search/autocomplete?keyword=make"
});
Typeahead: Uncaught Error Missing source
If fetching remote, you need to specify the engine. Here is an example from the docs
var bestPictures = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: '../data/films/post_1960.json',
remote: '../data/films/queries/%QUERY.json'
});
bestPictures.initialize();
$('#remote .typeahead').typeahead(null, {
name: 'best-pictures',
displayKey: 'value',
source: bestPictures.ttAdapter()
});
in this example, var bestPictures is your engine
bloodhound documentation