You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "shajiyakhan1309 (via GitHub)" <gi...@apache.org> on 2025/03/03 08:55:41 UTC
[I] SCSS Styles Not Applying in Local Setup [mahout]
shajiyakhan1309 opened a new issue, #497:
URL: https://github.com/apache/mahout/issues/497
Hello, I am working on restructuring the Apache Mahout website and encountered an issue when setting it up locally.
🔹 **Steps to Reproduce:**
1. Forked and cloned the repository.
2. Ran the local server using:
`python -m http.server 8000`
3. Opened http://localhost:8000/ in the browser.
🔹 **Expected Behavior:**
The website should display correctly, with all SCSS styles applied.
Images should load properly.
🔹 **Actual Behavior:**
The website appears broken into parts without styling.
SCSS styles are not being applied to the HTML.
Some images are missing both in the browser and in the project files.
🔹 **Screenshots:**

🔹 **Environment Details:**
OS: Windows 10 / macOS Ventura / Linux
Browser: Chrome 120.0 / Firefox 118.0
🔹 **Additional Context:**
I checked the SCSS files, and they seem to be in the correct location.
I tried running:
`sass --watch assets/scss/main.scss:assets/css/main.css`
but the styles still do not apply.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by Shajiya Khan <sh...@gmail.com>.
I tried solving the SCSS issue by running:
bundle exec jekyll serve
However, I encountered this error:
jekyll 4.3.2 | Error: undefined method `[]' for nil (NoMethodError)
C:/Ruby33-x64/lib/ruby/3.3.0/logger.rb:384:in `level'
Additionally, I see warnings like:
csv was loaded from the standard library, but will no longer be part of the
default gems starting from Ruby 3.4.0.
I’m still working on resolving this. Do you have any suggestions on how to
fix it?
Thanks!
On Tue, Mar 4, 2025, 9:52 PM vedansh-5 (via GitHub) <gi...@apache.org> wrote:
>
> vedansh-5 commented on issue #497:
> URL: https://github.com/apache/mahout/issues/497#issuecomment-2698222848
>
> @shajiyakhan1309 were you able to resolve the error? If so, can you
> share how.
>
>
> --
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on to GitHub and use the
> URL above to go to the specific comment.
>
> To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
>
> For queries about this service, please contact Infrastructure at:
> users@infra.apache.org
>
>
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by "rawkintrevo (via GitHub)" <gi...@apache.org>.
rawkintrevo commented on issue #497:
URL: https://github.com/apache/mahout/issues/497#issuecomment-2694517831
You probablu should be starting the server with
`bundle exec jekyll serve`
I'm not famiilar with the way you're starting it.
https://jekyllrb.com/docs/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by "shajiyakhan1309 (via GitHub)" <gi...@apache.org>.
shajiyakhan1309 commented on issue #497:
URL: https://github.com/apache/mahout/issues/497#issuecomment-2694941917
Hey,
I really appreciate you taking the time to guide me with the Jekyll
documentation. It has been super helpful in understanding the structure of
the Mahout website. Thanks again for your support! 😊
Looking forward to contributing more and learning from the community!
On Mon, Mar 3, 2025, 7:53 PM Trevor Grant ***@***.***> wrote:
>
> https://mahout.apache.org/documentation/developers/how-to-update-the-website.html
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/mahout/issues/497#issuecomment-2694563062>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BCEMVXXABL5X3IJEYWNMCED2SRQWRAVCNFSM6AAAAABYGOYGZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJUGU3DGMBWGI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
> [image: rawkintrevo]*rawkintrevo* left a comment (apache/mahout#497)
> <https://github.com/apache/mahout/issues/497#issuecomment-2694563062>
>
>
> https://mahout.apache.org/documentation/developers/how-to-update-the-website.html
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/mahout/issues/497#issuecomment-2694563062>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BCEMVXXABL5X3IJEYWNMCED2SRQWRAVCNFSM6AAAAABYGOYGZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJUGU3DGMBWGI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by "vedansh-5 (via GitHub)" <gi...@apache.org>.
vedansh-5 commented on issue #497:
URL: https://github.com/apache/mahout/issues/497#issuecomment-2698222848
@shajiyakhan1309 were you able to resolve the error? If so, can you share how.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by "shajiyakhan1309 (via GitHub)" <gi...@apache.org>.
shajiyakhan1309 commented on issue #497:
URL: https://github.com/apache/mahout/issues/497#issuecomment-2700604162
@vedansh-5
### How I Fixed the Issue
I ran into a problem where Jekyll wouldn’t start because of a conflict in my Gemfile. The error message said:
`[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements.
You specified: tzinfo-data (~> 1.2025.1) and tzinfo-data (>= 0). Bundler cannot continue.`
Here’s how I fixed it:
1. I Identified the Problem:
- The error occurred because the tzinfo-data gem was listed twice in my Gemfile with different version requirements:
gem 'tzinfo-data', '~> 1.2025.1'
gem 'tzinfo-data', '>= 0'
2. I Removed the Duplicate:
- I opened the Gemfile and deleted one of the tzinfo-data lines. I kept the more specific version requirement:
`gem 'tzinfo-data', '~> 1.2025.1'`
3.I Reinstalled Dependencies:
- After saving the Gemfile, I ran:
`bundle install `
- This regenerated the Gemfile.lock and installed the correct gem versions.
4.I Tested the Fix:
- Finally, I ran:
`bundle exec jekyll serve`
- Jekyll started successfully, and the issue was resolved!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by "shajiyakhan1309 (via GitHub)" <gi...@apache.org>.
shajiyakhan1309 commented on issue #497:
URL: https://github.com/apache/mahout/issues/497#issuecomment-2697047334
Hey @rawkintrevo
I appreciate the guidance on using Jekyll for Mahout’s website. I followed the setup steps, but I’m facing an issue when running:
`bundle exec jekyll serve`
**I get this error:**
`jekyll 4.3.2 | Error: undefined method `[]' for nil (NoMethodError)
C:/Ruby33-x64/lib/ruby/3.3.0/logger.rb:384:in `level'
`
**I also see warnings like:**
`csv was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
`
### What I’ve Tried So Far:
✅ Verified _config.yml to ensure no missing values.
✅ Cleared .jekyll-cache and _site, then reinstalled dependencies with bundle install.
✅ Checked Ruby (ruby 3.3.0) and Jekyll (jekyll 4.3.2).
✅ Ran bundle exec jekyll serve --trace for debugging, but the error persists.
Would you happen to know what might be causing this issue? Any guidance would be greatly appreciated!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by "rawkintrevo (via GitHub)" <gi...@apache.org>.
rawkintrevo closed issue #497: SCSS Styles Not Applying in Local Setup
URL: https://github.com/apache/mahout/issues/497
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SCSS Styles Not Applying in Local Setup [mahout]
Posted by "rawkintrevo (via GitHub)" <gi...@apache.org>.
rawkintrevo commented on issue #497:
URL: https://github.com/apache/mahout/issues/497#issuecomment-2694563062
https://mahout.apache.org/documentation/developers/how-to-update-the-website.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org