Comments (5)
This tells us Python can't find the rollbar-agent entry point to execute. There are a few reasons this could be.
- The symbolic link path is incorrect https://github.com/rollbar/rollbar-agent#set-up-the-rollbar-agent-service.
- There was an error setting up the virtual environment. If some of the files were not copied correctly, that could result in that issue.
If you run ls
in your terminal inside the virtual environment directory you should see the following files from rollbar-agent.
LICENSE
requirements.txt
rollbar-agent
rollbar-agent-init.sh
rollbar-agent.conf
To test it you should be able to test the agent is running by following these steps...
- Activate the virtual environment.
source ./<venv name>/bin/activate
should do the trick. - Start the agent manually
python rollbar-agent
. You may need to run with escalated permissions. - Once you are done you can deactivate the virtual environment with the
deactivate
command.
from rollbar-php.
Thank you for replying @danielmorell !!
I'm not using virtual environment.
When I tried running python rollbar-agent
it worked perfectly, Application error log files were getting parsed and I received the Rollbar notifications over email as well.
But when I start the Rollbar service using service rollbar-agent start
, Application error logs are not getting parsed and same error which I mentioned in above question is getting logged in /var/log/rollbar-agent.log
from rollbar-php.
Can you provide the contents of your rollbar-agent service file?
from rollbar-php.
What do you get when you run...
$ service rollbar-agent status
from rollbar-php.
I am going to close this issue due to inactivity.
from rollbar-php.
Related Issues (20)
- Prevent exception grouping HOT 3
- Issue logging Symfony Doctrine errors HOT 2
- Uncaught TypeError: Rollbar\Payload\Frame::__construct(): Argument #1 ($filename) must be of type string HOT 6
- Running rollbar in Lambda using Bref HOT 6
- Deprecation error in PHP 8.1 HOT 1
- Is Rollbar really bad or what's going on? HOT 3
- Rollbar\\Payload\\Body::__construct(): Argument #1 ($value) must be of type Rollbar\\Payload\\ContentInterface, Rollbar\\Payload\\TraceChain given HOT 1
- Plans for psr/log v.3? HOT 6
- PHP message: PHP Fatal error: Uncaught TypeError: file_exists(): Argument #1 ($filename) must be of type string, null given in /src/vendor/rollbar/rollbar/src/DataBuilder.php:502
- Uncaught BadMethodCallException: Cannot serialize Symfony\Component\Routing\CompiledRoute HOT 1
- Uncaught ErrorException: Using the Serializable interface has been deprecated. HOT 2
- Monolog 3 support HOT 3
- PHP 8.2 Compatibility HOT 1
- Write upgrade from v3 to v4 documentation HOT 1
- Declaration of Tribe\Log\Canonical_Formatter::format(array $record) must be compatible with Monolog\Formatter\FormatterInterface::format(Monolog\LogRecord $record) HOT 1
- Add status code to failed API send verbose log.
- RollbarLogger::log() incompatible with Psr\Log\LoggerInterface::log() v1.0 HOT 1
- Exception message override log message HOT 2
- Onboarding instructions for Java SDK and Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rollbar-php.