When I deployed my application(botTest) on Heroku or on Replit, I received the error below:
browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/webkit-1699/pw_run.sh
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ npx playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════
I'm using nodejs, playwright(I need to use webkit) and telegraf, using npm to install packets and vs code to write codes.
My local macbook(m1) works very well, but I could not put it in "production".
I searched a lot and tried a lot of things, believe me, but I could not fix it the error alone.
I know it's my fault, but I need help to deploy my little application.
Related
I follow and try same sample code in this instruction
Playground tutorial
but when I submit a transaction Error: Could not find any functions to execute for transaction org.acme.mynetwork.Trade#d77dbd2d-53e3-4435-b4fb-d802d5bd6bec.
Anyone have any idea?
This may have been an error you saw in Playground in v0.14.3. Suggest to update (ie re-install) your Composer dev environment to the current release v0.15.0 (as of Nov 10th) - there is a new tutorial (its changed from what you saw) and it will use Business network cards for the network deploy (createComposerProfile.sh is no longer needed) - makes life easier. To get the latest version, you will need to install the modules as per the docs -> https://hyperledger.github.io/composer/installing/development-tools.html - this will get the latest release. Make sure you do a full teardown using the scripts you downloaded in fabric-tools (as your CC containers will be 0.14.3 or earlier and thus out of date) and that you then subsequently, do an npm -g uninstall of the same module names eg composer-cli, composer-playground etc and such that they are all at the same level (0.15.0) upon subsequent npm -g install of same composer modules.
I'm trying to run Odoo 10 community on Ubuntu 14.04 from nightly source files.
Everywhere on the web, it is written to run Odoo 10 in a terminal with the command ./odoo-bin.
But I don't see this file in the downloaded source files.
Where is it???
Should I inevitably run an installation script? (I prefer not)
Should I inevitably run the setup.py file to build or install the source code? I didn't have to do that with Odoo 8 to obtain openerp-server file...
I don't want to run odoo10 like a service. Not now.
In the "odoo" folder.
just cd to the main source folder, and execute the command.
$ ./odoo/odoo-bin
I have tested it on my service.
the file setup/odoo is the same as odoo-bin
you can run odoo by ./setup/odoo
if you find errors of imports move de file odoo from setup to the main folder (ex : odoo-server) and run it
if you use eclipse
you can make eclipse recognize the file odoo just by adding the extension .py (odoo ==> odoo.py)
I have a drush generated make file which I execute to download the necessary components and create a full drupal-panopoly file structure.
The file begins as follows:
; Drush make file for Panopoly site.
; Drupal core
; -----------------------------------------------------------------------------
api = 2
core = 7.x
projects[drupal] = 7.39
projects[panopoly] = 1.25
; Include any additional changes to the Panopoly make file.
projects[panopoly][patch][] = patches/panopoly-views-clean-row-classes-1360186-33.patch
projects[panopoly][patch][] = patches/panopoly-file_entity_update-2375595-4.patch
projects[panopoly][patch][] = patches/panopoly-wysiwyg_filter-area-map-1508346-4.patch
.
.
.
The make file is a coulpe of hundred lines long. Alot of the lines below the short clip above execute successfully but the first line of the patch section above fails with an error as below:
>> Unable to download patches/panopoly-views-clean-row-classes-1360186-33.patch. [error]
Please notice that all the patches are contained in a directory local called patches.
I decided to comment out the offending patch, the first line, so the drush make process could execute successfully.
However, the second patch was complained about. I commented out the second patch and then the third patch generated an error.
It takes commenting out all three patches for the make file to execute successfully but the drupal site installs with errors.
Below is a the file structure of my make directory which has the patches directory and the files it contains with 777 permissions, just incase permissions was the problem.
Can anyone give me an insight on why drush can't/won't read these patch files and how I can fix that problem?
After much investigation, I found the issue was the installed version of Drush.
I had Drush 5 installed and I was informed I needed Drush 6 atleast. The new problem was Drush would not update beyond version 5 when I attempted to execute sudo apt-get install drush because Ubuntu only supported upto version#5.
I had to execute sudo apt-get remove drush and then find a manual solution to install the specific version of Drush I required.
I am trying without success to build the Pg perl module. I set up the POSTGRES_LIB and POSTGRES_INCLUDE respectively to /opt/local/lib/postgresql93 and /opt/local/include/postgresql93. But when I run perl Makefile.pl I get this error
Configuring Pg
Remember to actually read the README file !
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
I'm not sure that you should use this module. It was last updated 15 years ago (info from the Changes file) and it has open bugs. But the most important thing that is has no likes on metacpan — it means that very few people use it.
I thinks that DBD::Pg is a better choice. It was last updates 11 years ago and it also have open bugs but has a lot of likes on metacpan that means that it works well.
I'm trying to install the texlive-full package on heroku through making a custom buildpack. I'm working on django application, so I'm currently using version of heroku-buildpack-python (https://github.com/heroku/heroku-buildpack-python).
According to this tutorial:
https://devcenter.heroku.com/articles/buildpack-binaries
I found a binary package of texlive on http://packages.ubuntu.com/lucid/texlive-binaries (Links in the right column - Download Source Package) and I added these lines of code in python default heroku buildpack in the section #Build time in order to extract and install texlive-full on heroku.
# Build Time
# Switch to the repo's context.
cd $BUILD_DIR
TEXLIVE_BINARY="http://archive.ubuntu.com/ubuntu/pool/main/t/texlive-base/texlive-base_2012.20120611-5.debian.tar.gz"
TEXLIVE_VENDOR="vendor/texlive"
# vendor awesome-vm
mkdir -p $1/$TEXLIVE_VENDOR
curl $TEXLIVE_BINARY -o - | tar -xz -C $1/$TEXLIVE_VENDOR -f -
After pushing the django application to heroku I can see that slug is 58.0 MB big (before it was just 10.0 MB), so it might have added texlive-full binary package to it (which is about 44 MB). However the latex equation on the site is still not showing and the same error appears; (That appears when texlive is not installed)
ValueError at / latex returned code 32512 for formula:
Is there some easier way to install texlive-full on heroku? Or what is the correct notation for installing texlive-full in buildpack or any other kind of debian package?
Based on this buildpack I built my own version: https://github.com/syphar/heroku-buildpack-tex
It installs a small version of TeX-Live 2013 in your slug, and you can extend it by adding your own packages (collections or single packages from CTAN).
Since your (compressed) slug-size is limited to 300 MB on Heroku you can't texlive-full inside your application.
This buildpack worked for me:
https://github.com/holiture/heroku-buildpack-tex
That error code tends to be returned because of problems with your path (https://tex.stackexchange.com/questions/21692/latex-compilation-failure-on-mac-os-x-from-python-script) Follow the last step of the tutorial here https://devcenter.heroku.com/articles/buildpack-binaries and add the directory that your build pack works on to your path.