Code Monkey home page Code Monkey logo

Comments (16)

didiatworkz avatar didiatworkz commented on June 6, 2024

Hello @MangNPB
First of all, cool that you use SOMO :)
But I don't understand where the error "Server Error: int() argument must be a string or a number, not 'NoneType'" appears in your description?
Is it directly on the screenly player or in SOMO?

For the uploads, I would need to know from you where this happened, since the technique in the multiuploader is different than when you do the whole thing from the player menu.

About the date, that is known and is on my list https://github.com/didiatworkz/screenly-ose-monitoring/projects/4

The thing with the duration is again important, with which uploader this happened.

Regards,
didiatworkz

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

Thank you for the response and thank you for your creation. Your project makes life at the open source much easier. Upload seem to have the same problem using both multilayer and single player "add asset" at the player menu. Upload display seem fine and complete with some files show up on the assets list to be play by it will never play no matter what i do. Switching to screenly ose web ui i can see the assets too but can't get any to play. Disable assets works but when i try to enable them i get the long error message above and assets will stay disable.

When using the screenly ose webui to upload everything works fine.

from screenly-ose-monitoring.

didiatworkz avatar didiatworkz commented on June 6, 2024

Hey @MangNPB

I can reproduce the error...
When you upload video the default duration time will normally set to the time in sec of the video
That's not happened at the moment - I will fix this

Regards,
didiatworkz

from screenly-ose-monitoring.

didiatworkz avatar didiatworkz commented on June 6, 2024

Hey @MangNPB

I found the issue and fixed it - I will test it tomorrow and release it when everything is ok

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

I do not know if this is related to the upload above but also found that the close button once upload is completed is not responding or doing anything.

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

Update on fixes that is still broken for uploading mp4 videos. the fix works great for photos but for uploading video we have the following behaviors that ended up with the same broken result:

Single player upload: upload window abruptly closed when it seems like the process is done but upon refreshing the page there is no newly uploaded asset /assets to be found on play list in either SOMO or Screenly web ui.

Multiplayer upload: Up on what it seems like a completed upload the "reload" button shows up but on inspecting of SOMO single player list and Screenly web UI there is also no newly uploaded asset/s to be found.

Mang

from screenly-ose-monitoring.

didiatworkz avatar didiatworkz commented on June 6, 2024

Hello @MangNPB
can you tell me how big the file(s) are?
Which upload size do you configure in the settings and can you take a screenshot from the settings page with all versions of the scripts?

Btw: I tested the upload with up to 500MB mp4 files without any problems yet.

didiatworkz

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

Hello again.
The size in setting i set is 200mb. file size ranges from 12mb to 74 mb. all of them fail.

image

from screenly-ose-monitoring.

didiatworkz avatar didiatworkz commented on June 6, 2024

Hey @MangNPB
do you use raspbian stretch on the server and on the players?

Best
didiatworkz

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

yes, it's the image from screenly. Should i put it on buster?

Mang

from screenly-ose-monitoring.

didiatworkz avatar didiatworkz commented on June 6, 2024

Hey @MangNPB
I will test your configuration tomorrow and hopefully find the issue. I have done all the tests so far with buster.
Let's see what comes out.
I will keep you informed

Best
didiatworkz

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

Greatly appreciate all the efforts!

Magn

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

I have tried to manual install Screenly OSE on Buster and no matter how i try i keep getting a python packing error that prevent the installation from being complete. Just wondering how did you get yours to run on buster? the latest image they have is only on stretch.

Mang

from screenly-ose-monitoring.

didiatworkz avatar didiatworkz commented on June 6, 2024

Hello @MangNPB
when you run into the same error as me in the past (Python OpenSSL issue) you can read the solution here: Screenly/Anthias#1264

If you run in another errors, paste the console output here to identify the issue - But normally that's a Screenly OSE problem and not a problem from my script 😉
I'm setting up a stretch at the moment - So stay tuned.

Best
dididatworkz

from screenly-ose-monitoring.

didiatworkz avatar didiatworkz commented on June 6, 2024

Hello @MangNPB

I found the problem and fixed it - Please reinstall SOMO with the command: bash <(curl -sL https://git.io/JttTW)
As an extra I implement a better error handling for uploads.
I close the issue.

Best
didiatworkz

PS: Please close the issue at Screenly-OSE (Issues #1486), too.

from screenly-ose-monitoring.

MangNPB avatar MangNPB commented on June 6, 2024

Thank you very much, DidiaWorkz. You are quite a life saver!
Once again thank you for all your helps.

Mang

from screenly-ose-monitoring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.