Any problem if i didn’t travel with the agency who applied for my Visa, and travel on my own

I have applied for a schengen visa along with family through a travel agency and got it as 3 months multiple as the trip itinerary required a multiple one. Later the agency cancelled that entire trip due to some problems and refunded us. Now i am planning to visit Europe as a solo trip (almost same countries in travel agency’s itinerary including visa issued country) and my doubt is about changed date’s, itinerary, flight details and hotel bookings. Will there any problem? Should i follow agency’s itinerary when travelling? (Like point of entry, Number of days in a country)

org.springframework.beans.factory.UnsatisfiedDependencyException occured. but I didn’t change anything

org.springframework.beans.factory.UnsatisfiedDependencyException occured While I’m developing using Spring boot.

In to the point, I didn’t change anything.

I tried check the fileUtil class, but there isn’t any specific problem. And did “Project clean” and reboot eclipse.

after searched on google, somebody says “check your annotation is valid” so I checked annotations but there is nothing to guess

but error still not solved.. I’ll show you my code

this is the exception.

심각: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fileUtil': Unsatisfied dependency expressed through field 'config': No qualifying bean of type [com.m2u.chatbotany.common.utils.ConfigProperties] found for dependency [com.m2u.chatbotany.common.utils.ConfigProperties]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.m2u.chatbotany.common.utils.ConfigProperties] found for dependency [com.m2u.chatbotany.common.utils.ConfigProperties]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$  AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:350)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)     at org.springframework.beans.factory.support.AbstractBeanFactory$  1.getObject(AbstractBeanFactory.java:306)     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     at org.apache.catalina.core.ContainerBase$  StartChild.call(ContainerBase.java:1423)     at org.apache.catalina.core.ContainerBase$  StartChild.call(ContainerBase.java:1413)     at java.util.concurrent.FutureTask.run(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor$  Worker.run(Unknown Source)     at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.m2u.chatbotany.common.utils.ConfigProperties] found for dependency [com.m2u.chatbotany.common.utils.ConfigProperties]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}     at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1398)     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$  AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:570)     ... 24 more  

and this is [com.m2u.chatbotany.common.utils.ConfigProperties]

 public class ConfigProperties {      private static final Logger LOG = LoggerFactory.getLogger(ConfigProperties.class);      private Properties properties;      public ConfigProperties() {         LOG.info("ConfigProperties");     }      // ~ Implementation Method. ~~~~~~~~     // ~ Self Methods. ~~~~~~~~~~~~~~~~~      public final void init() {         // 환경 변수 설정 log 출력         if (this.properties != null) {             LOG.info("Initialize Config Variables"); //            LOG.info(JsonUtil.marshallingJsonWithPretty(this.properties));         }     }      // ~ Getter and Setter     // ==============================================================================================       public final void setProperties(final Properties properties) {         this.properties = properties;     }      public final String getString(final String key) {          return this.properties.getProperty(key);     }      public final Integer getInteger(final String key) {         String value = this.properties.getProperty(key);         return new Integer(value);     }  } 

This is fileUtil

/**  * 업로드 파일 유틸  */ @Component("fileUtil") public class FileUtil {      /**      * The constant LOG.      */     private static final Logger LOG = LoggerFactory.getLogger(FileUtil.class);      /**      * The Config.      */     @Autowired     private ConfigProperties config;      ...... }  

This problem is I have never seen…

and my application had completely worked until 3 hours ago. repeatly, I didn’t change anything

UK Customs or TSA removed my TSA lock but didn’t leave a note or return the lock, what can I do?

I flew to the US on a business trip last month, and locked my soft suitcase with a TSA lock. I did the same on the flight back, but when I got my bag off the carousel at Heathrow there was no lock, no note, and a carrier bag containing a bottle of Hershey’s sauce was at the top of the bag instead of in the middle where I packed it. Nothing else was moved, and due to the lack of a note I don’t actually know who opened my bag or why.

I know it’s not a big deal, but the lock was borrowed and I now owe somebody a lock. My colleague’s suitcase was also opened but the lock was inside along with a note from the TSA saying that they searched the bag.

What can I do?

no-carrier | network interface didnt get any IP

my network interface didnt get IP address. I get the error as follows

3: eno2: NO-CARRIER,BROADCAST,MULTICAST,UP mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 4c:d9:8f:58:9c:ea brd ff:ff:ff:ff:ff:ff

4: enp179s0f0: NO-CARRIER,BROADCAST,MULTICAST,UP mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 4c:d9:8f:4e:d4:c7 brd ff:ff:ff:ff:ff:ff

eno2 and enp179s0f0 plugged to switch and i assigned static IP address.

I have 2 up interfaces and i didnt get any no-carrier error from them.

How can i solve this problem?

I tried this topics and they didnt work:

*eth0 NO-CARRIER, ifconfig shows no IP address

*Why is Netplan/Networkd not bringing up a static ethernet interface?

Picture Upload Form didnt show a image upload column

I have a CreateView for Post where I have a title and content columns, I tried to add image upload column for that post and it wont works, but it wont shows an error, so I don’t know what I’m doing wrong… I migrated it and it wont show an column for upload picture. Here are my codes.

views.py

class PostListView(ListView):     model = Post      template_name = 'blog/home.html'      context_object_name = 'posts'      ordering = ['-date_posted']      paginate_by = 5  class UserPostListView(ListView):      model = Post     template_name = 'blog/user_posts.html'     context_object_name = 'posts'     paginate_by = 5      def get_queryset(self):          user = get_object_or_404(User, username=self.kwargs.get('username'))         return Post.objects.filter(author=user).order_by('-date_posted')   class PostDetailView(LoginRequiredMixin, DetailView):      model = Post    class PostCreateView(LoginRequiredMixin, CreateView):      form_class = PostUpdateForm     model = Post     fields = ['title', 'content', 'image'] 

forms.py

class PostUpdateForm(forms.ModelForm):     class Meta:         model = Post         fields = ['image']  

models.py

class Post(models.Model):     title = models.CharField(max_length=100, verbose_name='タイトル')     content = models.TextField(verbose_name='内容')     date_posted = models.DateTimeField(default=timezone.now)     author = models.ForeignKey(User, on_delete=models.CASCADE)     image = models.ImageField(default='default.jpg', upload_to='uploaded_pic')      def __str__(self):         return self.title     def get_absolute_url(self):         return reverse('Post-detail', kwargs={'pk': self.pk}) 

post_form.html

{% extends "blog/base.html" %} {% load crispy_forms_tags %} {% block content %}   <div class="content-section">     <form enctype="multipart/form-data method="POST">       {% csrf_token %}       <fieldset class="form-group">         <legend class="border-bottom mb-4">ブログ投稿</legend>         {{ form|crispy }}       </fieldset>       <div class="form-group">         <button class="btn btn-outline-info" type="submit">投稿</button>       </div>     </form>   </div> {% endblock content %}  

Picture Upload Form didnt show a image upload column

I have a CreateView for Post where I have a title and content columns, I tried to add image upload column for that post and it wont works, but it wont shows an error, so I don’t know what I’m doing wrong… I migrated it and it wont show an column for upload picture. Here are my codes.

views.py

class PostListView(ListView):     model = Post      template_name = 'blog/home.html'      context_object_name = 'posts'      ordering = ['-date_posted']      paginate_by = 5  class UserPostListView(ListView):      model = Post     template_name = 'blog/user_posts.html'     context_object_name = 'posts'     paginate_by = 5      def get_queryset(self):          user = get_object_or_404(User, username=self.kwargs.get('username'))         return Post.objects.filter(author=user).order_by('-date_posted')   class PostDetailView(LoginRequiredMixin, DetailView):      model = Post    class PostCreateView(LoginRequiredMixin, CreateView):      form_class = PostUpdateForm     model = Post     fields = ['title', 'content', 'image'] 

forms.py

class PostUpdateForm(forms.ModelForm):     class Meta:         model = Post         fields = ['image']  

models.py

class Post(models.Model):     title = models.CharField(max_length=100, verbose_name='タイトル')     content = models.TextField(verbose_name='内容')     date_posted = models.DateTimeField(default=timezone.now)     author = models.ForeignKey(User, on_delete=models.CASCADE)     image = models.ImageField(default='default.jpg', upload_to='uploaded_pic')      def __str__(self):         return self.title     def get_absolute_url(self):         return reverse('Post-detail', kwargs={'pk': self.pk}) 

post_form.html

{% extends "blog/base.html" %} {% load crispy_forms_tags %} {% block content %}   <div class="content-section">     <form enctype="multipart/form-data method="POST">       {% csrf_token %}       <fieldset class="form-group">         <legend class="border-bottom mb-4">ブログ投稿</legend>         {{ form|crispy }}       </fieldset>       <div class="form-group">         <button class="btn btn-outline-info" type="submit">投稿</button>       </div>     </form>   </div> {% endblock content %}  

D7: user_check_password() returns false but password didn’t change

We’ve been having quite an unusual issue with Drupal: at seemingly random times it decides the password hashes for all users are invalid, and they have to do a password reset to be able to log back in (including admins).

Before doing anything else I copied one admin’s password hash to a textfile, then cooked up a little script that mimics includes/password.inc in large part. I can feed it the plain password we know is correct and have it run Drupal’s hashing algorithm. Instead of just calling _password_crypt directly I chose to do all the steps in my own script to see where things get funky without risking breaking Drupal itself.

Now here’s when things get weird. I copied the first 12 characters of the hash because that’s used for hashing “settings” (first 4) and the salt (remaining 8). Since the settings and salt are the same, as long as the input string is identical (I’m 100% sure it is) then the resulting hash should be exactly the same as well. Except it’s not.

The custom script I made looks like:

$  password = '...'; $  setting = '$  S$  DF5V3gEUG'; $  adminuser = user_load(1);  echo 'user_check_password: ' . (user_check_password($  password, $  adminuser) ? 'success' : 'fail') . '<br/>'; echo 'user_needs_new_hash: ' . (user_needs_new_hash($  adminuser) ? 'true' : 'false') . '<br/>';  $  clog2 = _password_get_count_log2($  setting); $  minhash = DRUPAL_MIN_HASH_COUNT; $  maxhash = DRUPAL_MAX_HASH_COUNT; echo "hashcounts: $  clog2 < $  minhash || $  clog2 > $  maxhash<br/>";  $  salt = substr($  setting, 4, 8); $  saltlen = strlen($  salt); echo "salt: $  salt ($  saltlen)<br/>";  $  count = 1 << $  clog2; echo "count: $  count<br/>";  $  hash = hash('sha512', $  salt . $  password, TRUE); do {     $  hash = hash('sha512', $  hash . $  password, TRUE); } while(--$  count);  $  len = strlen($  hash); $  output =  $  setting . _password_base64_encode($  hash, $  len); $  expected = 12 + ceil((8 * $  len) / 6); if(strlen($  output) != $  expected)     echo 'HASH INVALID'; else     echo 'HASH: ' . substr($  output, 0, DRUPAL_HASH_LENGTH);   // Output: user_check_password: fail user_needs_new_hash: false hashcounts: 15 < 7 || 15 > 30 salt: F5V3gEUG (8) count: 32768 HASH: $  S$  DF5V3gEUGelTjZodfMKYKY{cut 30 chars} 

The hash in the final line is different from what’s currently in the DB, but if I store this new hash in the DB instead, then logging in works perfectly fine. So it seems that somehow the password doesn’t hash back to the original hash in the DB.

At the moment I’m kinda stuck on how to proceed debugging this, as I’m not deeply familiar with Drupal’s internals and stuff.

Angular ngonit didn’t returns the updated mongodb collections

ngonit is not giving the latest updated collection from mongodb.But when i refresh the browser, then i got the updated data from the database but if i change the route’s then it is not working .I have a nodejs code and mongodb as a supporting database running at nginx server. I have a front end running at localhost:4200 i.e its angular js project.

Let’s say i have one route (/admin/create/) for inserting a data and one route to get the data (/admin/getall). Now when i insert the data and navigate to getall route….i got nothing but when i refresh the page with manual browser refresh, then i get the data.

I don’t whether the issue is with mongodb, nginx, angular.

Setting PKG_CONFIG_PATH for gegl library still didn’t allow configure to proceed

I’m installing GIMP 2.8 (I need that version in order to use a plugin not available with GIMP 2.10). There is one last library needed, it asks for gegl-0.2.

My system has gegl-0.3 so I set up the pck-config to look in the folder where the gegl-0.3.pc file is.

~/Downloads/gimp-2.8.22$   echo $  PKG_CONFIG_PATH /usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/gegl-0.3/:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig/ 

I made a couple of mistakes but that list should cover it, I think. However, running ./configure still ends with the error No package 'gegl-0.2' found

What is wrong here? Does it actually need the gegl-0.2 version?

How long should each room in a dungeon take if the party didn’t declare how long they spent there?

I’m running the party through a multi-day dungeon, and they’re looking to long rest. Which is perfectly fine, but I remembered that you can’t long rest more than once in a 24-hour period. I know how long it took for the party to get to the dungeon, but not how long they’ve spent in the interim.

Combat isn’t a good indicator because its in-game passage of time is so short. They haven’t spent any short rests in the dungeon yet, so I can’t use that either. What should I do here?