-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError, "Cannot use import statement outside a module" #1322
Comments
Thank you for that issue! That seems to be a problem in the main branch. Could you please test the dev branch? |
same issue with
|
same on my old Linux laptop, by the way (i7), but potentially better options for debugging. May it only work on Windows environments, as I can see in your sample code you use a Windows path name? The log here:
|
It should work on Linux too because I use it on my Unraid server. Unfortunately I messed it up and since that it doesn't seem to work. The problem is, the codebase is pretty awefull because it went from prototype to prod without further enhancements. I'm currently working on a refactoring with streamlined debugging and building capabilities and some other flexible features but that needs some more work to go. My plan is to integrate that new system in a new branch and merge it with the dev and master when it has a good starting point. Because of some private things I didn't had some time to publish my work atm. Because of that refactoring in the pipeline I don't want to debug this stuff anymore because the new system is a much better and convenient approach. |
never mind, 2.0.4 works :-) PS: this could also be useful on any customer portals like many insurance companies operate or German Telekom or similar |
Glad it worked for you!
I have some plans to outsource the definition of service portals like Vodafone or something else into a json file where you can define the process of scraping pages like loops, extract, get and some other stuff. I'm 90% done with it but some things are missing atm. If that lands in production its flexible enough to support all variations of pages to scrape documents or only information from them without even touching the source code. Its also possible then to plug in some other pre modelled defintion of pages which will later be shipped by default. |
Shouted out too quickly: it runs, yes, but it does not work properly. Only ~half of the invoices gets downloaded. I noticed it by chance on a double-check, when I was searching for a specific invoice then in PaperlessNGX and couldn’t find it (and of course, following Murphy‘s law, it’s an important one relevant for tax declaration). At first i thought it could be because for some orders one gets multiple / split invoices, but in this specific example it was even an easy simple case: one separate order, one line item, one invoice. Sad but like that I cannot rely on it. So I guess have to wait for your next major release? |
Yeah that seems reasonable. I had a bug where it doesn't properly stepped through the pages because the index wasn't correct. Unfortunately you have to wait for the major overhaul. |
Hi I would like to use it for my taxes 2024, any eta when it will work again (docker, linux host)? |
I hope I will release a preview this month but please don't pin me down on that because I am currently renovating my house and have some current health problems |
Hi Disane, everybody,
just today tried to bring up this latest (v2.0.7) as a container on my Synology DS923+ (AMD Ryzen, X64) with absolute minimum parameters but it still fails. As I have no CLI, I use Portainer and Stacks (compose) to deploy (but works like a charm with everything up to now).
Here is how my stack looks like:
And here are the logs:
Am I missing something or is there something wrong with the container/code?
The text was updated successfully, but these errors were encountered: