Comments (5)
Bug with https://github.com/confluentinc/confluent-kafka-python
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.11.8/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.8/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/anyio/from_thread.py", line 217, in _call_func
retval = await retval_or_awaitable
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/_schedulers/async_.py", line 427, in add_schedule
await self.data_store.add_schedule(schedule, conflict_policy)
File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/datastores/sqlalchemy.py", line 496, in add_schedule
schedule.marshal(self.serializer)
File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/_structures.py", line 143, in marshal
marshalled["args"] = serializer.serialize(self.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/serializers/pickle.py", line 29, in serialize
return dumps(obj, self.protocol)
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot pickle 'cimpl.Producer' object
from apscheduler.
Any update?
from apscheduler.
Bug with https://github.com/confluentinc/confluent-kafka-python
Traceback (most recent call last): File "/opt/homebrew/Cellar/[email protected]/3.11.8/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py", line 456, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.8/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result raise self._exception File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/anyio/from_thread.py", line 217, in _call_func retval = await retval_or_awaitable ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/_schedulers/async_.py", line 427, in add_schedule await self.data_store.add_schedule(schedule, conflict_policy) File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/datastores/sqlalchemy.py", line 496, in add_schedule schedule.marshal(self.serializer) File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/_structures.py", line 143, in marshal marshalled["args"] = serializer.serialize(self.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/toanlk/company-project/36hc/bet/.venv/lib/python3.11/site-packages/apscheduler/serializers/pickle.py", line 29, in serialize return dumps(obj, self.protocol) ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: cannot pickle 'cimpl.Producer' object
How is this an APScheduler bug if pickle can't serialize an unserializable object?
from apscheduler.
So can you explain what the problem is with callable_to_ref()
? The traceback you posted offers no hints on that.
from apscheduler.
Closing due to lack of responses.
from apscheduler.
Related Issues (20)
- SQLAlchemyDataStore doesn't respect a custom schema for types
- Create a Cron Trigger with month="*/12" does not work HOT 6
- So confusing between sync and async. HOT 2
- Logger not logging events of the scheduler instance HOT 1
- Infinite loop in CalendarIntervalTrigger with UTC timezone
- Support pausing and unpausing schedules HOT 4
- When a job is forcibly cancelled by calling `stop()`, the added schedule to the scheduler will no longer create new job.
- background cron job getting stopped after time run HOT 1
- Implement schedule filters
- [v4.0.0a4] Combining daily and weekly triggers increments by 14 days HOT 7
- [v4.0.0a4] Setting `timezone` in `CalendarIntervalTrigger` loops forever HOT 1
- RuntimeError: cannot schedule new futures after interpreter shutdown when the job is triggered HOT 6
- PsycopgEventBroker.from_async_sqla_engine raises
- `'CronTrigger' object has no attribute 'year'` when try to pause schedule HOT 13
- Save results of scheduler jobs, version: 4.0.0a5 HOT 6
- Table Prefix for SQLAlchemyDataStore HOT 2
- Improved documentation around "day_of_week" 0/1 confusion HOT 1
- TypeError: cannot pickle '_io.TextIOWrapper' object HOT 5
- Event loop is closed when using AsyncScheduler with RedisEventBroker HOT 1
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 apscheduler.