Comments (3)
Hi @tvmvmaor,
Thank for you reporting an issue and helping improve Kaltura!
To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):
- Is the issue you're experiencing consistent and across platforms? or does it only happens on certain conditions?
please provide as much details as possible. - Which Kaltura deployment you're using: Kaltura SaaS, or self-hosted?
If self hosted, are you using the RPM or deb install? - Packages installed.
When using RPM, paste the output for:
# rpm -qa \"kaltura*\"
For deb based systems:
# dpkg -l \"kaltura-*\"
- If running a self hosted ENV - provide the MySQL server version used
- If running a self hosted ENV - is this a single all in 1 server or a cluster?
- If running a self hosted ENV, while making the problematic request, run:
# tail -f /opt/kaltura/log/*.log /opt/kaltura/log/batch/*.log | grep -A 1 -B 1 --color \"ERR:\|PHP\|trace\|CRIT\|\[error\]\"
and paste the output.
- When relevant, provide any screenshots or screen recordings showing the issue you're experiencing.
For general troubleshooting see:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.13.0/doc/kaltura-packages-faq.md#troubleshooting-help
If you only have a general question rather than a bug report, please close this issue and post at:
http://forum.kaltura.org
Thank you in advance,
from clients-generator.
Hello @tvmvmaor ,
The entire bulkUpload
service is deprecated. Please use media.bulkUploadAdd()
instead (https://developer.kaltura.com/console/service/media/action/bulkUploadAdd?query=media).
Let me know if that works correctly (it should).
Thanks,
from clients-generator.
Hi @jessp01
Thanks for getting back to me.
I keep getting an error running this example code (credentials removed):
from KalturaClient import *
from KalturaClient.Plugins.Core import *
config = KalturaConfiguration()
config.serviceUrl = "https://www.kaltura.com/"
client = KalturaClient(config)
ks = client.session.start(
"",
"",
KalturaSessionType.ADMIN,
)
client.setKs(ks)
file_name = "tvmidtvest-d472d2f9-a004-4ae1-8795-1885674a63d7.xml"
file_data = open(file_name, 'rb')
bulk_upload_data = KalturaBulkUploadXmlJobData()
bulk_upload_entry_data = KalturaBulkUploadEntryData()
result = client.media.bulkUploadAdd(file_data)
print(result)
Error:
Traceback (most recent call last):
File "test.py", line 18, in <module>
bulk_upload_data = KalturaBulkUploadXmlJobData()
NameError: name 'KalturaBulkUploadXmlJobData' is not defined
It's almost exactly the same code as the output from https://developer.kaltura.com/console/service/media/action/bulkUploadAdd?query=media (credentials removed) (which works and the xml-file is exactly the same (tvmidtvest-d472d2f9-a004-4ae1-8795-1885674a63d7.xml)) :
from KalturaClient import *
from KalturaClient.Plugins.Core import *
config = KalturaConfiguration()
config.serviceUrl = "https://www.kaltura.com/"
client = KalturaClient(config)
ks = client.session.start(
"",
"",
KalturaSessionType.ADMIN,
)
client.setKs(ks)
file_data = open('/path/to/file', 'rb')
bulk_upload_data = KalturaBulkUploadXmlJobData()
bulk_upload_entry_data = KalturaBulkUploadEntryData()
result = client.media.bulkUploadAdd(file_data)
print(result)
Server: Debian 9
Python: Python 3.8.1
Kaltura API Client: KalturaApiClient-15.14.0
from clients-generator.
Related Issues (20)
- Feature request - action execution callbacks HOT 3
- 'KalturaClient' object has no attribute 'elasticsearch' HOT 6
- NameError: name 'KalturaBulkUploadXmlJobData' is not defined HOT 4
- TestMe and TestMeDocs clients and the confMaps service
- Exception when adding streams to KalturaMediaEntry HOT 2
- Error in nodejs client when body includes unicode HOT 17
- Kaltura PHP5 API Client uses curl_exec without proper validation. HOT 1
- Python KalturaClient throws a SyntaxError during initialization HOT 2
- [Feature Request] Support go HOT 2
- License of generated code HOT 1
- Regarding the Errors of "clients-generator" HOT 2
- Regarding the Error Of "Clients-Generator" HOT 3
- Python undefined name `postResult` used before defined HOT 2
- PHP 8.1+ compatibility HOT 5
- captionAsset.serve and captionAsset.serveAsJson do not exist as a function
- java client can't be used due to org.json vulnerability
- PHP String could not be parsed as XML
- Python client needs lxml now to run and doesn't include it as an install_requires
- Gson Reflection in Java 17 Compatibility
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 clients-generator.