GithubHelp home page GithubHelp logo

empuploader's People

Contributors

datawhores avatar dependabot[bot] avatar foobar2016 avatar smoukus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

empuploader's Issues

Exception when running preview/upload mode

I followed the instructions on the Wiki, and on the Preview or Upload step, the script gives me following exception:

================ Browser output: ================
<launching> /home27/boltok/empuploader/bin/chrome_Linux/chrome --disable-field-trial-config
--disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess
--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache
--disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages
--disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage
--disable-extensions
--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,
DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBe
foreUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection
--disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync
--force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic
--use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio
--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox
--user-data-dir=/tmp/playwright_chromiumdev_profile-3XJzIc --remote-debugging-pipe --no-startup-window
<launched> pid=138717
======================= logs =======================
<launching> /home27/boltok/empuploader/bin/chrome_Linux/chrome --disable-field-trial-config
--disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess
--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache
--disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages
--disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage
--disable-extensions
--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,
DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBe
foreUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection
--disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync
--force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic
--use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio
--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox
--user-data-dir=/tmp/playwright_chromiumdev_profile-3XJzIc --remote-debugging-pipe --no-startup-window
<launched> pid=138717
============================================================
Traceback (most recent call last):
 File "/home27/boltok/empuploader/empupload/puppet.py", line 244, in getbrowserHelper
   return await browsertype.launch()
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/async_api/_generated.py", line 14340, in
launch
   await self._impl_obj.launch(
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_browser_type.py", line 93, in
launch
   Browser, from_channel(await self._channel.send("launch", params))
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 44, in send
   return await self._connection.wrap_api_call(
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 419, in
wrap_api_call
   return await cb()
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 79, in
inner_send
   result = next(iter(done)).result()
playwright._impl._api_types.Error: Browser closed.
================ Browser output: ================
<launching> /home/boltok/.cache/ms-playwright/chromium-1045/chrome-linux/chrome --disable-field-trial-config
--disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess
--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache
--disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages
--disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage
--disable-extensions
--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,
DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBe
foreUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection
--disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync
--force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic
--use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio
--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox
--user-data-dir=/tmp/playwright_chromiumdev_profile-77QzIz --remote-debugging-pipe --no-startup-window
<launched> pid=135847
../../base/allocator/partition_allocator/partition_address_space.cc(101) Check failed: false
======================= logs =======================
<launching> /home/boltok/.cache/ms-playwright/chromium-1045/chrome-linux/chrome --disable-field-trial-config
--disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess
--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache
--disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages
--disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage
--disable-extensions
--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,
DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBe
foreUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection
--disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync
--force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic
--use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio
--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox
--user-data-dir=/tmp/playwright_chromiumdev_profile-77QzIz --remote-debugging-pipe --no-startup-window
<launched> pid=135847
../../base/allocator/partition_allocator/partition_address_space.cc(101) Check failed: false
============================================================

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/home27/boltok/empuploader/empupload/modes.py", line 35, in upload
   console.console.print(puppet.upload_torrent(emp_dict),style="yellow")
 File "/home27/boltok/empuploader/empupload/puppet.py", line 222, in upload_torrent
   uploadurl=asyncio.get_event_loop().run_until_complete(run_upload(upload_dict))
 File "/home/boltok/.pyenv/versions/3.8.13/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
   return future.result()
 File "/home27/boltok/empuploader/empupload/puppet.py", line 34, in run_upload
   browser = await getbrowserHelper(playwright)
 File "/home27/boltok/empuploader/empupload/puppet.py", line 247, in getbrowserHelper
   return await browsertype.launch(executable_path=create_chrome())
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/async_api/_generated.py", line 14340, in
launch
   await self._impl_obj.launch(
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_browser_type.py", line 93, in
launch
   Browser, from_channel(await self._channel.send("launch", params))
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 44, in send
   return await self._connection.wrap_api_call(
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 419, in
wrap_api_call
   return await cb()
 File "/home27/boltok/empuploader/env/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 79, in
inner_send
   result = next(iter(done)).result()
playwright._impl._api_types.Error: Browser closed.
================ Browser output: ================
<launching> /home27/boltok/empuploader/bin/chrome_Linux/chrome --disable-field-trial-config
--disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess
--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache
--disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages
--disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage
--disable-extensions
--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,
DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBe
foreUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection
--disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync
--force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic
--use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio
--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox
--user-data-dir=/tmp/playwright_chromiumdev_profile-3XJzIc --remote-debugging-pipe --no-startup-window
<launched> pid=138717
======================= logs =======================
<launching> /home27/boltok/empuploader/bin/chrome_Linux/chrome --disable-field-trial-config
--disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess
--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache
--disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages
--disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage
--disable-extensions
--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,
DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBe
foreUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection
--disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync
--force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic
--use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio
--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox
--user-data-dir=/tmp/playwright_chromiumdev_profile-3XJzIc --remote-debugging-pipe --no-startup-window
<launched> pid=138717
============================================================

I am on Linux (seedbox), and am running the script via ssh.

Cant run script : AttributeError: 'Namespace' object has no attribute 'mtn'

../venv/bin/python3 empuploader.py --torrents torrentdir --data txtdir --trackerurl http://tracker.empornium.sx:2710/key/announce --media afolder -f OpenSans-Regular

Could not read config
Traceback (most recent call last):
  File "/home/jared/empuploader/empuploader.py", line 28, in <module>
    general.create_binaries_linux(args)
  File "/home/jared/empuploader/empupload/general.py", line 276, in create_binaries_linux
    args.mtn.exe=mtn
AttributeError: 'Namespace' object has no attribute 'mtn'

Im experiencing this error when I try to run the script in my Ubuntu environment. The bin folder is executable

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.