primordic/IssueDupesLite huggingface dataset:
Repository: refinery/refinerycms

Issue #1985: Unable to immediately click edit after re-ordering page when changing hierarchy level
Created: 2012-10-11T20:33:42Z
Hey guys, love Refinery and want to help make it better by reporting/helping fix bugs.  Here is an issue I am running across when using 2.0.0 and Ruby 1.9.3:

Showing /Users/mattruggio/.rvm/gems/ruby-1.9.3-p194/gems/refinerycms-pages-2.0.8/app/views/refinery/admin/pages/_form.html.erb where line #2 raised:

undefined method `persisted?' for nil:NilClass
Extracted source (around line #2):

1: <%= form_for [refinery, :admin, @page],
2:              :url => (refinery.admin_page_path(@page.uncached_nested_url) if @page.persisted?) do |f| %>
3: 
4:   <%= render '/refinery/admin/error_messages', :object => @page, :include_object_name => true %>
5: 


Reproduce by:

Create root page (A)
Create another root page (B)
Create child page for A.
Reorder child page to now live under B as a parent.
Save
6  Click edit for child page (do not refresh - it will work on a refresh/fresh get)


Thoughts?

Duplicate issue #2182: problem when editing a just reordered page
Created: 2013-02-08T19:08:05Z
Using the reorder pages option, I re-ordered pages by drag and drop at pages menu, then I clicked on edit for the page ( icon with pen ) , and then, I got this error in the page form: ( the @page is nil ) undefined method `persisted?' for nil:NilClass
Notice that the bug scenario is constant, when I drag the page, I click "Done Reordering Pages"
Then, I click edit the page I just moved, and then, here is what I get:
2013-02-08T18:52:21+00:00 app[web.1]: Started GET "/cms/refinery/pages/test7/edit" for 86.108.103.209 at 2013-02-08 18:52:21 +0000
2013-02-08T18:52:21+00:00 heroku[router]: at=info method=GET path=/cms/refinery/pages/test7/edit host=www.dcaclab.com fwd=86.108.103.209 dyno=web.1 queue=0 wait=0ms connect=1ms service=147ms status=500 bytes=399
2013-02-08T18:52:21+00:00 app[web.1]:
2013-02-08T18:52:21+00:00 app[web.1]: ActionView::Template::Error (undefined method persisted?' for nil:NilClass): 2013-02-08T18:52:21+00:00 app[web.1]:     1: <%= simple_form_for [refinery, :admin, @page], 2013-02-08T18:52:21+00:00 app[web.1]:     2:              :url => (refinery.admin_page_path(@page.uncached_nested_url) if @page.persisted?) do |f| %> 2013-02-08T18:52:21+00:00 app[web.1]:   app/views/refinery/admin/pages/_form.html.erb:2:in_app_views_refinery_admin_pages__form_html_erb__3238228840078173087_63152160'

Closing comment (2013-02-12T12:32:35Z): Good!
On Tue, Feb 12, 2013 at 1:27 PM, Costis Panagiotopoulos <
notifications@github.com> wrote:

I believe this a duplicate of #1985#1985,
which has been resolved with commit 1647bdbhttps://github.com/refinery/refinerycms/commit/1647bdb68fda6fd46393fd800af39f766eb79b4a
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2182#issuecomment-13428407.



Kind Regards,
Samir Sabri
Software Architect& Developer
www.dcaclab.com
Jordan-Middle East
Repository: refinery/refinerycms

Issue #1891: If i edit a Page, all the HTML content is deleted!! BIG ISSU
Created: 2012-08-21T14:28:31Z
Hi
If i insert a table in my Content, then save the page and edit it once again. The Table is gone... the content of the cells are still there, but not the table. Also if i insert, as example, google Maps. After saving and editing again, the Code is gone... Only a few strange tags are still there.
PLS help, this issu makes impossible to add a simple table to the content...
System:
Rails 3.2.6
ruby 1.9.3p194
refinerycms (2.0.8)

Duplicate issue #1915: The `span` element containing a `style`  tag causes markup corruption
Created: 2012-08-29T18:49:26Z
When I save a page part with a span element containing the style tag the markup gets corrupted .
<span style="font-size:12px;">Hello World</span>

Gets saved as
Hello World</span>

I have seen this behavior in 2.0.6 and 2.0.8

Closing comment (2012-09-05T22:03:39Z): The data stored in the database gets corrupted and the subsequent page rendering gets messed up. The effect is quite similar to #1891 and only difference is this issue existed as far back as 2.0.6.
Repository: refinery/refinerycms

Issue #2435: Eliminate render-blocking javascript and CSS in above-the-fold content to optimize loading speed
Created: 2013-10-11T15:00:47Z
As Google points out for my under construction website (using Refinery 2.1.0): http://developers.google.com/speed/pagespeed/insights/?url=nemboweb.it

As this is the only performance issue found, I think we should really find a solution to go all green!

Duplicate issue #2434: Eliminate render-blocking JavaScript and CSS in above-the-fold content to optimize loading speed
Created: 2013-10-11T14:55:13Z
As Google insights points out for my under construction website (using Refinery 2.1.0): http://developers.google.com/speed/pagespeed/insights/?url=nemboweb.it

As this one is the only performance issue found, I think we should really find a solution.

Closing comment (2013-10-11T15:04:32Z): Sorry, for the duplicate #2435
my fault...
Repository: refinery/refinerycms

Issue #487: Custom Title would make much more sense if its role was reversed
Created: 2011-02-25T05:53:38Z
It currently is exactly backwards, IMO:
Right now, setting the page Title sets the value that appears in the menus, where as using the Custom Title advanced option overrides the page's title.
It would make much more sense if the Custom Title was used to set the value that appears in the menus. The page title intuitively makes sense when connected to what actually appears on the page while the Custom Title isn't so closely tied and would better serve as Custom Menu Title.

Duplicate issue #848: Should be able to override friendly_id for a page
Created: 2011-08-02T18:37:29Z
Problem
It's not possible to manually set the slug or friendly_id for a page.  The slug is always generated from the title of the page.  This causes problems in several situations.  Here are a few examples.

When you want to change the title of a page but want to keep the same URL.
When importing sites from legacy systems and wanting to maintain the same URL structure.
When a page has multiple translations but you want to have the same, standardized, slug for each translation (like "/en/about" and "/ru/about").

Possible solution
Add a combo selector and text field field to the Advanced Options section similar to that for "Custom title."  When someone types a custom slug into the text field, it will add that slug to the friendly_id list and set it as the current one.  This way, all old slugs will continue to work via 301 and we can continue to use the friendly_id system as normal.
Another possible solution would be to just have a text field for the slug always in Advanced Options.  If a slug already exists, it will show the current one, if the person changes it, it will update.
If cluttering up the Advanced Options section is a problem, this could be an optional setting that only appears if turned on in the Settings tab.

Closing comment (2011-08-02T23:07:34Z): This seems like a duplicate of #487
Repository: refinery/refinerycms

Issue #824: link button in wymeditor requires permission on pages
Created: 2011-07-19T07:42:59Z
Wymeditor is used for text columns, on some refinerycms engines and custom engines. Link button tries to open a dialog, but it requires permission on pages plugin. It could be fixed removing dialog from menu_match regexp, a dialog doesn't require menu_match so it won't break anything.
Also, I think that dialog should be in core instead of page, with hooks to load pages and models from other engines, although I don't know how to do that change.

Duplicate issue #987: Move page dialogues out of pages controller
Created: 2011-09-13T18:09:54Z
When adding users to Refinery, you don't want to give them permissions on the Pages engine but you have to or else they can't use the page dialogues such as Adding a Link in the rich text editor in other engines.
https://github.com/resolve/refinerycms/blob/1.0.8/pages/app/controllers/admin/pages_dialogs_controller.rb

Closing comment (2011-09-13T20:18:55Z): Duplicate of #824.
Repository: reisxd/revanced-builder

Issue #358: TikTok and Warnwetter fail to read patches (android builder)
Created: 2022-09-01T16:29:58Z
On the latest release of the builder for android the program fails to read the avaiable patches for tiktok and for warnwetter.
Here is the log provided by the terminal when trying to read tiktok's patches:
TypeError: Cannot read properties of undefined (reading 'patches')
at getPatchesList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:41:74)
at getPatchList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:73:17)
at getPatches (/data/data/com.termux/files/home/revanced-builder/wsEvents/getPatches.js:23:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async WebSocket. (/data/data/com.termux/files/home/revanced-builder/index.js:158:9)

Duplicate issue #391: TikTok patches not showing up.
Created: 2022-09-07T12:33:44Z
Describe the bug
TikTok patches not showing up.
To Reproduce
Select TikTok
Download dependencies
Click next
Nothing shows up
revanced-builder Version: v3.4.3
Desktop (please complete the following information):

OS: Android
Version: 13

Closing comment (2022-09-07T12:35:24Z): Dupe of #358.
Repository: reisxd/revanced-builder

Issue #358: TikTok and Warnwetter fail to read patches (android builder)
Created: 2022-09-01T16:29:58Z
On the latest release of the builder for android the program fails to read the avaiable patches for tiktok and for warnwetter.
Here is the log provided by the terminal when trying to read tiktok's patches:
TypeError: Cannot read properties of undefined (reading 'patches')
at getPatchesList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:41:74)
at getPatchList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:73:17)
at getPatches (/data/data/com.termux/files/home/revanced-builder/wsEvents/getPatches.js:23:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async WebSocket. (/data/data/com.termux/files/home/revanced-builder/index.js:158:9)

Duplicate issue #360: Warn wetter patches are not showing
Created: 2022-09-01T18:07:06Z
Describe the bug
As the title says
Screenshots

revanced-builder Version:
V3.3.7
Desktop (please complete the following information):

OS: android
Version: 11

Additional context
Error message
[builder] Listening at port 8000
[builder] The webserver is now running!
[builder] Opening the app in the default browser... Done, check if a browser window has opened
[builder] An error occured.
TypeError: Cannot read properties of undefined (reading 'patches')
at getPatchesList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:49:74)
at getPatchList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:81:17)
at getPatches (/data/data/com.termux/files/home/revanced-builder/wsEvents/getPatches.js:23:31)
at async WebSocket. (/data/data/com.termux/files/home/revanced-builder/index.js:158:9)

Closing comment (2022-09-01T18:23:31Z): Dupe of #358
Repository: reisxd/revanced-builder

Issue #474: MicroG support for YouTube Music fails
Created: 2022-09-27T13:27:31Z
Describe the bug:
MicroG support for YouTube Music doesn't patch properly.
To Reproduce:
Try to patch YouTube Music (recommended APK) with the MicroG support patch.
Screenshots

ReVanced-builder Version:
v.3.4.11
Desktop:

OS: Linux
Version: Fedora 36
Java 17 installed (OpenJDK)

Additional context:
Youtube patches successfully.

Duplicate issue #482: Builds of YT Music crash, while they work fine when build with the ReVanced Manager
Created: 2022-09-29T10:44:10Z
Describe the bug
Even when only build with the MicroG Patch YT music instantly crashes while I could activate every patch in the ReVanced Manager and it works fine.
To Reproduce
Steps to reproduce the behavior:
Just build with the recommended app version, happens on ARMv7 and ARMv8
revanced-builder Version: [e.g. v1.2.10]
revanced-builder v3.4.11
Desktop (please complete the following information):

OS: Windows
Version: 10

Closing comment (2022-09-29T12:36:29Z): Dupe of #474.
Repository: reisxd/revanced-builder

Issue #213: Revanced root building not working with Android device method
Created: 2022-08-10T12:30:13Z
Edit by @reisxd:
This issue was closed because @binoysankar fixed this issue thanks to #213 (comment)
Old issue:
Describe the bug:
When trying to build revanced apk/file in Android phone (rooted) I am getting the below error (PFA Screenshot).
During the building process I gave Termux the root access as well. With Microg option the build is successful.

Duplicate issue #390: error mounting revanced youtube
Created: 2022-09-07T09:11:23Z
[builder] Opening the app in the default browser... Done, check if a browser window has opened
[builder] An error occured.
Error: Command failed: su -mm -c '"/data/adb/service.d/mount_revanced_com.google.android.youtube.sh"'
mount: bad /etc/fstab: No such file or directory
at ChildProcess.exithandler (node:child_process:398:12)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket.<anonymous> (node:internal/child_process:451:11)
at Socket.emit (node:events:527:28)
at Pipe.<anonymous> (node:net:709:12)

[builder] Please report this bug here: https://github.com/reisxd/revanced-builder/issues.

Closing comment (2022-09-07T09:15:50Z): Dupe of #213.
Repository: reisxd/revanced-builder

Issue #525: YouTube Revanced crash
Created: 2022-10-24T23:53:30Z
Building the latest patches on youtube 17.36.37 makes the built app crash at startup, using the official revanced patcher the app opens as expected.
The patcher log shows no error or warning.

Duplicate issue #529: Builder not able to integrate hide-shorts properly
Created: 2022-10-27T17:36:17Z
Describe the bug
Revanced-builder is not able to integrate the hide-shorts-button patch properly, as soon as the built app is launched it crashes.
To Reproduce
Steps to reproduce the behavior:

Get the latest revanced-patches and other files. Apparent version of patch = v2.92.2
Build yt revanced (v17.36.37) and do include the hide-shorts-button patch.
Install it, and it won't launch (atleast it doesn't launch for me and few others too)

Revanced-Builder Version:
v3.4.15
Desktop (please complete the following information):

OS: Windows
Version: 10

Closing comment (2022-10-28T03:57:38Z): Dupe of #525.
Again, these issues were NEVER a Builder issue, but only patch issues. The reason why Builder doesn't get updates is because there's no reason to. It still works, and there'll be only updates when PatchOptions finally gets implemented properly / Split support finally gets implemented.
Repository: reisxd/revanced-builder

Issue #293: Termux error
Created: 2022-08-22T19:22:31Z

Duplicate issue #304: Builder can't download jar files
Created: 2022-08-24T11:11:25Z
Describe the bug
The builder cannot download the jar files when it comes to the dependencies page.
To Reproduce
Steps to reproduce the behavior:

Start the builder
Select YouTube
See error

Screenshots

revanced-builder Version: 3.2.4
Desktop (please complete the following information):

OS: Android
Version: 11

Additional context

Closing comment (2022-08-24T11:12:22Z): Dupe of #293
Repository: reisxd/revanced-builder

Issue #358: TikTok and Warnwetter fail to read patches (android builder)
Created: 2022-09-01T16:29:58Z
On the latest release of the builder for android the program fails to read the avaiable patches for tiktok and for warnwetter.
Here is the log provided by the terminal when trying to read tiktok's patches:
TypeError: Cannot read properties of undefined (reading 'patches')
at getPatchesList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:41:74)
at getPatchList (/data/data/com.termux/files/home/revanced-builder/utils/PatchListRememberer.js:73:17)
at getPatches (/data/data/com.termux/files/home/revanced-builder/wsEvents/getPatches.js:23:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async WebSocket. (/data/data/com.termux/files/home/revanced-builder/index.js:158:9)

Duplicate issue #432: Error patching tiktok
Created: 2022-09-16T16:40:47Z
Error showing up while trying to patch "Tiktok"
After "downloading dependencies" has finished I automatically receive this error:
"TypeError: Cannot read properties of undefined (reading 'patches') at get PatchesList.

Closing comment (2022-09-16T18:16:37Z): Dupe of #358.
Repository: remix-run/remix

Issue #2987: Identifier 'React' has already been declared with multiple external libraries
Created: 2022-04-26T14:47:22Z
What version of Remix are you using?
1.4.1
Steps to Reproduce
More Details:
React Version: 18
Yarn

Install remix for cloudflare pages setup
Add libraries like (react-spring, framer-motion, react-hook/mouse-postion)
Use them (simple import is enough)

Expected Behavior
Application/Website loads correctly when running wrangler pages dev ./public and remix watch
Actual Behavior
Website loads, shows for a few ms, then breaks. Console sends multiple errors:
Uncaught SyntaxError: Identifier 'React' has already been declared

Uncaught Error: Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.

Hydration failed because the initial UI does not match what was rendered on the server.

react-dom.development.js:86 Warning: An error occurred during hydration. The server HTML was replaced with client content in <#document>.

The first error shows the error into the installed packages from above, always the same line (the first react import)
var React = __toESM(require_react());
This happens to a lot of modules. You can fix that by renaming React to something else within the package and patching those with npx patch-package. But this makes things hard as you have to patch a lot of packages. It looks like something is going wrong during compilation (which naturally is part of remix - non-configurable).
Can somebody reproduce this issue?
Edit:
Node Version: v16.13.2
Mac M1 Max

Duplicate issue #3015: SVG Icon causing `Uncaught Error: Cannot initialize 'routeModules'.`
Created: 2022-04-28T17:33:47Z
What version of Remix are you using?
1.4.3
Steps to Reproduce
Can't reproduce on a clean install but happens whenever I use a ReactIcon component, nothing else changes in the application.
Expected Behavior
To render the application without server code
Actual Behavior
The app crashes

Closing comment (2022-06-08T00:27:47Z): It is related to #2987 ! I minified the code and it's working now!
Repository: remix-run/remix

Issue #1077: [Docs]: Did not expect server HTML to contain a <script> in <html>
Created: 2021-12-16T16:35:50Z
What version of Remix are you using?
1.0.6
What version of Node are you using? Minimum supported version is 14.
16
Steps to Reproduce

Run npx create-remix@latest
Run yarn to install packages
run yarn dev to start the server
Observe the browser dev tools console

Expected Behavior
No errors should be shown in the console
Actual Behavior
The following error is shown in the browser dev console:
react-dom.development.js:67 
        
       Warning: Did not expect server HTML to contain a <script> in <html>.
    at head
    at html
    at Document (http://localhost:3000/build/root-KCVDQOQR.js:65:21)
    at App
    at RemixCatchBoundary (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:1518:10)
    at RemixErrorBoundary (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:1457:5)
    at RemixRoute (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:2947:3)
    at Routes (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:2930:7)
    at Router2 (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:457:21)
    at RemixCatchBoundary (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:1518:10)
    at RemixErrorBoundary (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:1457:5)
    at RemixEntry (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:2827:12)
    at RemixBrowser (http://localhost:3000/build/_shared/chunk-RDYF4RHT.js:3509:42)

Duplicate issue #1158: [Bug]: Warning: Did not expect server HTML to contain a <div> in <html>.
Created: 2021-12-19T21:03:12Z
Which Remix packages are impacted?

 remix (Remix core)
 create-remix
 @remix-run/architect
 @remix-run/cloudflare-workers
 @remix-run/dev
 @remix-run/express
 @remix-run/netlify
 @remix-run/node
 @remix-run/react
 @remix-run/serve
 @remix-run/server-runtime
 @remix-run/vercel

What version of Remix are you using?
1.1.1
What version of Node are you using? Minimum supported version is 14.
14
Steps to Reproduce

Install the 10ten Japanese Reader extension
Run npx create-remix@latest <project-name>
Choose any template
Install the dependencies
Run cd <project-name> && npm run dev
Open the browser console

Expected Behavior
The expected behavior is that the console window is empty.
Actual Behavior
The following error is displayed:
Warning: Did not expect server HTML to contain a <div> in <html>.
    at html
    at App
    at RemixRoute (http://localhost:3000/build/_shared/chunk-XXZOVCAU.js:3022:3)
    at Routes (http://localhost:3000/build/_shared/chunk-XXZOVCAU.js:3010:7)
    at Router2 (http://localhost:3000/build/_shared/chunk-XXZOVCAU.js:478:21)
    at RemixCatchBoundary (http://localhost:3000/build/_shared/chunk-XXZOVCAU.js:1564:10)
    at RemixErrorBoundary (http://localhost:3000/build/_shared/chunk-XXZOVCAU.js:1489:5)
    at RemixEntry (http://localhost:3000/build/_shared/chunk-XXZOVCAU.js:2907:12)
    at RemixBrowser (http://localhost:3000/build/_shared/chunk-XXZOVCAU.js:3314:27)

Closing comment (2022-03-18T01:07:51Z): Duplicate of #1077
Repository: remix-run/remix

Issue #5625: Error: Is a directory (os error 21), readfile 'public/' with deno template
Created: 2023-03-01T22:10:16Z
What version of Remix are you using?
1.14.0
Are all your remix dependencies & dev-dependencies using the same version?

 Yes

Steps to Reproduce
Run npx create-remix@latest --template=deno --typescript
Open the project, run npm install and run npm run dev
deno --version

deno 1.31.1 (release, aarch64-apple-darwin)
v8 11.0.226.13
typescript 4.9.4

Expected Behavior
The remix project to start and working on http://localhost:8000
Actual Behavior
Error: Is a directory (os error 21), readfile 'public/'
    at async Object.readFile (internal:runtime/js/40_read_file.js:23:18)

Duplicate issue #5912: Using Deno doesn't work
Created: 2023-03-25T20:24:53Z
What version of Remix are you using?
1.14.3
Are all your remix dependencies & dev-dependencies using the same version?

 Yes

Steps to Reproduce
Run npx create-remix@latest and select Deno
Do an npm install.
run npm run dev
Expected Behavior
It should work
Actual Behavior
Get error
Error: Is a directory (os error 21), readfile 'public/'
    at async Object.readFile (ext:deno_fs/30_fs.js:695:18)
    at async serveStaticFiles (file:///Users/olliew/code/remixed/my-remix-app/build/index.js:12947:16)
    at async Server.<anonymous> (file:///Users/olliew/code/remixed/my-remix-app/build/index.js:12965:14)
    at async Server.#respond (https://deno.land/std@0.128.0/http/server.ts:298:18)

There have been a lot of updates to Deno recently so maybe that caused the issue?
It would be great if there were more docs about using Deno with Remix. There are no resources at all about it at the moment.

Closing comment (2023-03-25T20:51:38Z): Dupe of #5625
Repository: remix-run/remix

Issue #2067: 15 min blog tutorial `front-matter` issue
Created: 2022-02-22T04:14:21Z
Thank you for this amazing framework, folks! It's a pleasure using it! Came across a minor issue in the blog tutorial that might possibly confuse people. It's caused by a dependency conflict with front-matter
What version of Remix are you using?
1.2.2
Following blog tutorial here: https://remix.run/docs/en/v1/tutorials/blog
Steps to Reproduce
Full report is available on front-matter's issue tracker.
See jxson/front-matter#84
Expected behaviour
Should parse frontmatter
Actual behaviour
Blows up with an error.
Error: Function yaml.safeLoad is removed in js-yaml 4. Use yaml.load instead, which is now safe by default.
    at /Users/monarchwadia/Sandbox/2022-02-21-remix-run/action/node_modules/js-yaml/index.js:10:11
    at parse (/Users/monarchwadia/Sandbox/2022-02-21-remix-run/action/node_modules/front-matter/index.js:64:20)
    at extractor (/Users/monarchwadia/Sandbox/2022-02-21-remix-run/action/node_modules/front-matter/index.js:26:12)
    at /Users/monarchwadia/Sandbox/2022-02-21-remix-run/action/app/post.ts:22:30
    at async Promise.all (index 1)
    at Object.callRouteLoader (/Users/monarchwadia/Sandbox/2022-02-21-remix-run/action/node_modules/@remix-run/server-runtime/data.js:73:14)

Duplicate issue #841: [Bug]: parseFrontMatter broke API and needs to be updated
Created: 2021-12-02T02:59:40Z
Which Remix packages are impacted?

 remix (Remix core)
 create-remix
 @remix-run/architect
 @remix-run/cloudflare-workers
 @remix-run/dev
 @remix-run/express
 @remix-run/netlify
 @remix-run/node
 @remix-run/react
 @remix-run/serve
 @remix-run/server-runtime
 @remix-run/vercel

What version of Remix are you using?
latest
Steps to Reproduce
Hi!  Love remix so far!  Following the tutorial, something changed recently in the yaml parser, something about using parse instead of safeParse, or something like that... anyways the fix is to do this:
  const { attributes } = parseFrontMatter(
    file.toString(), {allowUnsafe: true}
  )

instead of
  const { attributes } = parseFrontMatter(
    file.toString()
  )

didn't take me too long to figure it out, but some other noob like myself might run into this problem and give up on remix, and that might be a bad thing!  Might want to update the tutorial https://remix.run/docs/en/v1/tutorials/blog#creating-the-project
💿 Update getPosts to read from the file system
in that section.  Thanks again for creating remix!!!
Expected Behavior
not to error out when loading /posts
Actual Behavior
errors out when loading /posts

Closing comment (2022-03-24T08:32:46Z): Tracked in #2067
Repository: remix-run/remix

Issue #493: [Feature]: Importing CSS in Components instead of routes
Created: 2021-11-23T10:16:51Z
What is the new or updated feature that you are suggesting?
I figured CSS imports can only be done with route components for now, it'd be cool to be able to import it in any component
Why should this feature be included?
This is because not all components are routes and some [helper] components needs their styles to be isolated with them much more like data to UI. Ryan — styles colocation, please 😢

Duplicate issue #571: [Feature]: Component Level CSS
Created: 2021-11-24T08:25:00Z
What is the new or updated feature that you are suggesting?
It would be great for Remix to support component level CSS. That way you could import a CSS file in the component's file itself and remix, while generating the assets.json file could evaluate which stylesheets are being imported in each route, similar to what it does for js imports to prevent waterfall. These stylesheets could then be rendered in the Links component by Remix. This would still prevent the case where all CSS gets bundled into a large file, since esbuild would consider each route as its own separate entry point and each route CSS file will only include the CSS of the components that esbuild thinks are required further down the component tree.component-level
Why should this feature be included?
The current model suggests importing the CSS file for each route on its respective page and then passing it to the links function. That works fine for apps in which you know which component is being rendered where, but it doesn't prevent you from class name clashes. Imagine a button component that is being used in 2 routes. The way it would work currently is either to add it to the global CSS file which would bloat it for the pages that aren't rendering the button, or create a separate button.css file which would be manually imported in each route that uses it. The issues with this approach are that:-

If we were to separate each component's CSS file and load it into the routes that use it, it would require a lot of CSS files to be loaded and it could be difficult to later evaluate which CSS file is being used in which component
This wouldn't scale very well as your components won't be aware of where they're getting their CSS from and would also cause a lot of friction, since now whenever I add the Button component to another route, I've to make sure to import the button.css file in that route. The route approach could work for cases where all your markup is present in the route file itself, but for anything a bit more complex that isn't using an atomic CSS framework like tailwind, I think it could be a problem

Closing comment (2022-03-18T18:47:45Z): Duplicate of #493
Repository: remix-run/remix

Issue #414: Cloudflare KV namespaces expiration seems wrong
Created: 2021-11-20T05:47:05Z
Actually, if we set a maxAge to our cloudflare session's cookie, it makes the KV namespace entry being valid for less than a second and that throws an error.
I think there's an issue here:

  
    
      remix/packages/remix-cloudflare-workers/sessions/cloudflareKVSessionStorage.ts
    
    
         Line 49
      in
      a69a631
    
  
  
    

        
          
           expiration: expires?.getUTCMilliseconds() 
        
    
  


Indeed, .getUTCMilliseconds() returns milliseconds portion of the time object's value (between 0 and 999) whereas Cloudflare expects a time since UNIX epoch in seconds.
So I think the right code would be something like .getTime() / 1000.

Duplicate issue #839: [Bug]: createCloudflareKVSessionStorage isn't setting `expires` correctly
Created: 2021-12-02T00:33:16Z
What version of Remix are you using?
Every
Steps to Reproduce
export const kvSessionStorage = createCloudflareKVSessionStorage({
  kv: KV_SESSION,
  cookie: {
    name: "__session",
    secure: NODE_ENV === "production",
    secrets: [SESSION_SECRET],
    sameSite: "lax",
    path: "/",
    maxAge: 60 * 60 * 24 * 7, // sessions expire after a week <-- I'm setting the maxAge
    httpOnly: true,
  },
});
Expected Behavior
I expect the maxAge to be able to control the expires option in KV.
Actual Behavior
I get the following error:
Error: KV PUT failed: 400 Invalid expiration of 632. Please specify integer greater than the current number of seconds since the UNIX epoch.

Right now, the code sets the expires value based on what it gets in the expires parameter. So maybe the problem actually lies somewhere else. Not sure.

Closing comment (2021-12-05T20:41:04Z): Dupe of #414.
Repository: remix-run/remix

Issue #4692: LiveReload - Indefinite loop in Firefox
Created: 2022-11-26T17:23:14Z
What version of Remix are you using?
v1.7.6
Steps to Reproduce

create-remix using defaults
Add a loader to app/routes/index.tsx that sleeps for 1 second
Open http://localhost:3000 in Firefox Developer Edition (I'm using 108.0b6 (64-bit) macOS silicon)
Make a change to the file to cause remix rebuild while the firefox window is in view (focus state doesn't seem to matter)
Page continually reloads until window is no longer in view (focus state doesn't seem to matter)

export const loader: LoaderFunction = async () => {
        await new Promise((resolve) => setTimeout(resolve,1000));
        const data = { key: "value" };
        return json(data);
}
Expected Behavior
The page should only live reload once
Actual Behavior
The page reloads in a looping manner. Normal behavior can be observed in chrome or by removing the sleeping timeout.

Duplicate issue #4722: Remix dev asset server web socket error before first file change
Created: 2022-11-30T22:04:20Z
What version of Remix are you using?
1.7.6
Steps to Reproduce
Using create-remix without a template and the following selection:

Just the basics
Cloudflare Workers
Typescript
No npm install

After starting the dev server with npm run dev, both Firefox and Safari cannot connect to the dev asset server web socket.
Expected Behavior
Browser should be able to connect to web socket.
Actual Behavior

Browser attempts to reconnect to web socket unsuccessfully.
The remix.config.js setting devServerPort is ignored in my barebones project (no changes made).
Observation
After saving any file in the app folder (which triggers either 2 or 3 [mf:inf] Worker reloaded! (0.50MiB) messages for me) AND subsequently reloading the page in the browser, the browser can connect to the web socket.
However, after worker reloaded 2 or 3 times, it falls back to port 8002 by itself. As I said above, this does not depend on the devServerPort setting; it falls back to 8002 either way.

Closing comment (2022-12-01T10:16:57Z): Duplicate of #4692, fixed by #4725
Repository: remix-run/remix

Issue #846: [Bug]: Route filename starting with escaped at-sign [@] does not match
Created: 2021-12-02T06:56:32Z
Which Remix packages are impacted?

remix (Remix core)
@remix-run/react

What version of Remix are you using?
1.0.6
Steps to Reproduce

Create a file [@]hello.jsx in app/routes
Visit https://example.com/@hello

Expected Behavior
The route matches successfully.
Actual Behavior
No routes matched location "/@hello"
GET /@hello 404 - - 17.564 ms

Duplicate issue #947: [Bug]: Cannot use @ character to start the route
Created: 2021-12-08T06:20:08Z
What version of Remix are you using?
1.0.6
What version of Node are you using? Minimum supported version is 14.
16.13.1
Steps to Reproduce
Setup these routes

routes/a.tsx
routes/a@.tsx
routes/@.tsx
routes/@a.tsx

Expected Behavior
Remix creates 4 pages

/a
/a@
/@
/@a

Actual Behavior
Remix only creates 2 out of those 4 pages

/a
/a@
/@ --> not created
/@a --> not created

Closing comment (2021-12-10T12:53:43Z): Duplicate of #846
Repository: renpy/renpy

Issue #4156: [Request] Add a launcher command to apply translation ids to dialogue
Created: 2022-12-14T18:31:20Z
With speech bubbles coming in 7.6/8.1 and the bubble data being associated based on the translation ids, I think this functionality becomes more important to help protect associations in light of changes to the underlying text (for typos or other edits) similar to adding from clauses to call statements.

Duplicate issue #4670: Baking dialogue IDs into the game
Created: 2023-05-27T04:57:50Z
Just like how you can add 'from' clauses to your calls in the SDK, would it be possible to add a button to bake the dialogue IDs into the game? The use case for this is, for example, fixing a typo in your game whilst having more than one language, currently, whenever you fix a typo, you have to regenerate the translations and then go one by one, file by file, replacing the new string with what was previously there (because more often then not, a typo in the scripts will not be present in its translation). This can be very tiresome, so I'd appreciate it if this was added or an alternate solution was provided.
Thank you very much.

Closing comment (2023-05-27T11:26:24Z): Reads like a duplicate of #4156.
I believe the expected way to handle this is to add the id clause yourself when correcting a typo, thus removing the need to update each translation file, with the id being easily retrieved from any one of the translation files.
Repository: renpy/renpy

Issue #1643: FLIF Image Format Support
Created: 2018-11-16T15:56:38Z
This proposition was made once before on the Lemmasoft forums, right here, however it went stale and did not receive a definitive answer. Since I couldn't find an issue for this topic/feature request on here I created this issue to hopefully keep track on what the status of FLIF support is.
From the official website:

FLIF is a novel lossless image format which outperforms PNG, lossless WebP, lossless BPG, lossless JPEG2000, and lossless JPEG XR in terms of compression ratio.

It would be nice to have support for a more efficient format than lossless WebP (which FLIF allegedly outperforms by about 14%).
As far as I can tell, sdl_image does not yet support FLIF images, so I'm not sure how much effort it would take to implement support for this filetype.

Duplicate issue #1877: JPEG2000 with Alpha support
Created: 2019-06-14T06:51:55Z
Similar to #1643 but I am looking for JPEG2000 specifically lossy compression (to save space) and alpha channel so I can use it in sprites.  At least until RenPy supports animated files which support alpha channels like APNG or others here https://www.digitalrebellion.com/blog/posts/list_of_video_formats_supporting_alpha_channels

Closing comment (2019-06-14T13:36:11Z): I don't have plans to add this format. Similar to #1643, I look to see the popularity of a a format, considering the adoption in tools like image editors and web browsers. Jpeg 2000 doesn't have any adoption, and so I have no plans to support it.
I'd suggest looking at .webp, which supports the same things, and is supported.
Repository: renpy/renpy

Issue #2631: Ren'Py x86 is _falsely_ detected as a virus on Windows.
Created: 2021-01-29T01:10:07Z
For now (in Ren'Py 7.4.2), the workaround is:
define build.include_i686 = False

The fundamental problem appears to be the GCC-compiled exe file, so it might make sense to try a different version of mingw and see if that fixes things. (Or perhaps linking against a different msvcrt.) The problem seems to trigger with an empty file.

Duplicate issue #2676: [7.4.2] Windows security system detects x32 exe as if it were a Trojan horse
Created: 2021-02-19T00:40:39Z
In my recent build of my game Windows detects the x32 exe as a trojan and blocks it.
virustotal: https://www.virustotal.com/gui/file/b2f6211d55cd5f3a66602dea2837d756a96f07a599d0fca4120ad39235548c88/detection


Message error in english:
Alert Level: Severe
Status: Active
Category: Trojan Horse
Details: This program is dangerous

Closing comment (2021-02-19T02:18:25Z): This is a duplicate of #2631  . Can you try the 7.4.3 nightly, to see if it fixes things?
Repository: renpy/renpy

Issue #2468: main_menu_music not triggered
Created: 2020-11-16T01:59:07Z
The music I set using define config.main_menu_music = audio.whatever doesn't trigger when launching the gam and arriving to the main menu. However when I play the game then go back to the main menu, the music does trigger.
Happens with the last Nightly build, but not with the Prerelease nor with the Stable build.

Duplicate issue #2522: [Nightly] When first launching the game on Android, main_menu_music does not play.
Created: 2020-12-24T05:51:00Z
When first launching the game on Android, main_menu_music does not play.
Unless return, this state persists.
Tested on nightly-2020-12-23-d43728801.

Closing comment (2020-12-24T10:17:41Z): May be related to #2468
Repository: renpy/renpy

Issue #4245: Images on the GL2 renderer get cut in half and skewed
Created: 2023-01-14T12:34:44Z
Hello, a small number of people that play the game that I work on have reported getting some of their images cut in half and skewed.
I believe this happens on the GL2 Renderer. Changing the renderer from GL2 to ANGLE2 seems to fix the issue for these people.

Some people have said that this is due to large resolution images (I do have some 4000x5000 images that also have this issue) but I believe this to not be true as the menu image is 2880 x 1800 yet it has the same issue and the ANGLE2 renderer does not have the issue either.

Duplicate issue #4343: Display glitch on certain devices
Created: 2023-02-11T14:52:05Z
Greetings,
Several of our players have reported a visual glitch issue when they launch our game. See below.


One of them told us they managed to find a workaround:
"I had to disable Ren'Py's OpenGL support, which is done by holding down shift while starting the game. I was then able to force the game to use a different software renderer from the available options and now the backgrounds and CGs look as they should both in-game and in the gallery."
Just figured it may be worth reporting.

Closing comment (2023-02-11T15:05:01Z): Likely duplicate of #4245, the tl;dr of which is that it seems to be down to using very old drivers and graphics hardware.
Repository: renpy/renpy

Issue #215: Will not start if the path to game.exe isn't representable in the system encoding.
Created: 2013-11-03T19:48:14Z
Per http://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=23691&start=30#p296699 , Ren'Py will not start if it has a path like:
c:\Users\田中\desktop\newgame\newgame.exe
. As best as I can tell, this only happens if the path can't be represented by the system encoding - so the error would occur with that path if the system encoding is set to English, but not if it's set to Japanese.
The error seems to be because of http://bugs.python.org/issue2128 , and the issues underlying it - it seems bad enough that Python can't find its standard library.
This doesn't seem to be a major issue with Ren'Py - it's existed for the life of Ren'Py 6.15, and this is the first time someone has encountered it. At this point, I don't see a workaround that doesn't involve porting to python3.
Comments?

Duplicate issue #2767: Special characters In Windows username cause CTD when load the game.
Created: 2021-04-13T07:45:31Z
If Windows system username contains non-english characters, Ren'Py creating the save files at the game directory instead of "roaming".
After trying to load that created save file, the game crashing to the desktop.
Example username: Алёшö

Closing comment (2021-04-13T16:23:04Z): Алёшö is just such a case for sure. ё is Cyrillic symbol and ö is a Latin, not ASCII char so cannot exists in any Cyrillic codepage.
So, it's duplicate of #215
Repository: renpy/renpy

Issue #3999: Problem with the size of element with xfill inside hbox with multiple children
Created: 2022-09-26T18:06:07Z
Problem
Example, where hbox has two children: one has xfill as xsize, the other has constant xsize.
screen dumb_main():
    frame:
        background Solid("#d42abeb7") # Pink
        align (0.5, 0.5)
        padding (15,15)

        xysize (1600, 1000)
        has hbox

        frame: 
            padding (0,0)
            background Solid("#18df398f") # Green
            
            xsize 100 # Takes 100px from hbox
            
        frame:
            padding (0,0)
            background Solid("#492ec5") # Blue
            
            xfill True # Gets remaining xsize = 1600 - 100 = 1500


In this case everything fits inside main frame and looks like what I expect.

The second case is when the xfill child is placed before const sized child
screen dumb_main():
    frame:
        background Solid("#d42abeb7") # Pink
        align (0.5, 0.5)
        padding (15,15)
        
        xysize (1600, 1000)
        has hbox

        frame:
            padding (0,0)
            background Solid("#492ec5") # Blue
            
            xfill True # Hbox gives all of the xsize of frame (1600)

        frame:
            padding (0,0)
            background Solid("#18df398f") # Green
            
            xsize 100 # Isn't accounted for and gets pushed out of the main frame region resulting in overall 1700 frame
            

Which results in unexpected(for me) behavior:

Expected result
I mentioned this in discord and got response from Feniks who checked engine code and said that currently hbox doesn't distribute space with all children in mind, just left to right in order. Since first child has xfill all remaining space gets allocated to it, while I expect second child be placed inside main frame without need to explicitly set the size of the first child, and get this:

Duplicate issue #4765: xfill + box_reverse has incorrect behavior
Created: 2023-06-22T09:13:42Z
To Reproduce
With Ren'Py 8.1.1:
screen test():

    frame:
        background Solid("#d42abeb7") # Pink
        align (0.5, 0.5)
        padding (15,15)

        xysize (1600, 1000)
        has hbox
        box_reverse True

        frame:
            padding (0,0)
            background Solid("#18df398f") # Green

            xsize 100 # Takes 100px from hbox

        frame:
            padding (0,0)
            background Solid("#492ec5") # Blue

            xfill True # Gets remaining xsize = 1600 - 100 = 1500

Expected Behavior

Observed Behavior

Closing comment (2023-06-22T13:38:31Z): This seems like a duplicate of #3999
Repository: requarks/wiki

Issue #1314: Scrollbar in long markdown tables
Created: 2019-12-16T11:47:00Z
I created the following test table in a .md file:



Test1
Test2
Test3
Test4
Test5
Test6
Test7




Hello
code
code
code
code
code
longtextlongtextlongtextlongtextlonglongtextlongtextlongtextlongtextlong



The contents of a row that expand beyond the current window are not viewable. There is also no way to scroll horizontally on the table to view the contents at the end of the row.
Any ideas how to get around this?
Thanks.

Duplicate issue #2340: Big Tables break Mobile UI
Created: 2020-08-26T12:21:06Z
The Problem
When Tables have too much content in them, they break the UI on small Screens.
To Reproduce
Create a table with much text in many columns and open it on a small screen
Expected behavior
The tables should get their own scrollbars independent from the rest of the page
Screenshots

Host Info:

OS: Docker(Linux)
Wiki.js version: 2.4.107
Database engine: postgres 11.8

Closing comment (2020-12-01T15:29:55Z): Duplicate of #1314 .
Repository: requarks/wiki

Issue #2707: I accidentally deleted a page, is there any way to restore the page？
Created: 2020-11-15T09:06:01Z
Question
I accidentally deleted a page, is there any way to restore the page？
Host Info (please complete the following information):
OS: macOS
Wiki.js version: [e.g. 2.5.170]
Database engine: [mysql 5.7.30]

Duplicate issue #2728: I accidentally deleted the interface. Is there any way to restore it?
Created: 2020-11-19T10:12:20Z
I accidentally deleted the interface. Is there any way to restore it?
n order to test the deletion function, I should have deleted the new page, but I mistakenly deleted the home page.

Closing comment (2020-11-19T14:08:21Z): Duplicate of #2707
Repository: requarks/wiki

Issue #2758: Visual Editor Not Working in Firefox in wiki.js version 2.5.170
Created: 2020-11-25T16:57:21Z
Describe the bug
The visual editor is not working when modifying pages at random times.
To Reproduce
Steps to reproduce the behavior:

Create a page with visual editor and type several words in the content field
Save page
Modify the same page
Play around. Type random characters and try to delete them with backspace. Navigate in the middle of some word with the mouse, type and delete. ...
Sometimes you can not delete the chars you wrote for no reason
At this point, nothing works anymore
If you can not reproduce, save the page and try again to modify it.

Or see below in the comments
Expected behavior
Deletion of characters does not work anymore, neither marking words or erase markings. The whole editor won't behave as expected. It will just "freeze".
Host Info (please complete the following information):

OS: Docker (Linux)
Wiki.js version: 2.5.170
Database engine: postgres 10.11

Duplicate issue #2800: Writing content - after a few Words i can't delete
Created: 2020-12-08T22:12:03Z
Dggescribe the bug
You create a page or update a Page with  a few words or Pictures, than i cant delete anymore.
You can mark a part and your can ad more words, but you cant delete anymore. I have this Prolbem at two Wiki JS Servers now.
I cant't be a Prolbem with my PC oder Server. I tried differnd Kind of PCs and look for Rules in Wiki JS but nothing helps.
All Users are affected. When i start i knew instance i dont have this Problem. I don't know why, but something went wrong and than you are get this Bug.
Sometimes you can use del, but not Enter. But this is rare.
To Reproduce
Steps to reproduce the behavior:

Create an New Page or Update a existing page (in visual editior)
Write a few Words or make a few changes
A bit later you notice that you cant delete anything.
There is no Errorcode. You can wirte more, but if you do, all changes will be lost.
Click Save an Leave the Page. You see all changes would be made until this Bug happens. Other is lost.
Update this Page again and start with Step two again. This goes endless.

Expected behavior
I want to write Content as usual and want to delete words, if i write something wrong.
Screenshots
there is noting to see. Its lite this is a seeentence.
Now you press "del", but nothing happens.
Host Info:

OS: Debian 10
Wiki.js: 2.5.170
Database is Postgre SQL

The other Server is:

OS: Windows Server 2019
Wiki.js : 2.5.170
Database is MySQL

Additional context
Sry for my bad English. I try my best. Thanks for this good software and any Help. Google can't help me.

Closing comment (2020-12-09T15:57:17Z): Duplicate of #2758